After latest package upgrade (pacman -Syu), in GNOME Wayland, YACReader is stuck without window after starting up. The process itself does not exit, but there is simply no window being shown.
Some observations: If I switch to GNOME Xorg, YACReader run normally without error. There are no logs from stdout and stderr, simply nothing. If I run YACReader with strace, got:
...
mprotect(0x70e1761b4000, 4096, PROT_READ) = 0
mprotect(0x70e1776e7000, 4096, PROT_READ) = 0
mprotect(0x70e180010000, 4096, PROT_READ) = 0
munmap(0x70e174fd7000, 165751) = 0
futex(0x70e1909afe08, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x70e1909afe08, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x70e1909afe08, FUTEX_WAKE_PRIVATE, 2147483647) = 0
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=15, events=POLLIN}], 3, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=15, events=POLLIN}], 3, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=15, events=POLLIN}], 3, 16) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=15, events=POLLIN}], 3, 15) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=15, events=POLLIN}], 3, 16) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=15, events=POLLIN}], 3, 15) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=15, events=POLLIN}], 3, 16) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=15, events=POLLIN}], 3, 15) = 0 (Timeout)
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=15, events=POLLIN}], 3, 16) = 0 (Timeout)
...
After that, the poll is repeated infinitely. I guess this poll is normal, but I don't have any clue anymore other than this.
Some attempt to solve that I've tried: Tried rebuilding libpdfium and YACReader, still not solved. Tried removing xdg-desktop-portal and xdg-desktop-portal-gtk as suggested in https://bbs.archlinux.org/viewtopic.php?id=262897 , still not solved. Tried removing home .cache folder, still not solved
Personally, I think the problem reside in GNOME Wayland.
Any suggestion to solve this?
Pinned Comments
selmf commented on 2021-05-24 11:17 (UTC)
Important: If you are having troubles compiling or launching YACReader and libicuuc is part of the error message, you need to rebuild libpdfium!