Page 1 of 1

[0.93.1] [Linux] Segfault error 4 in libQt5XcbQpa

Posted: Tue Sep 24, 2019 7:48 pm
by Sjet
When I try to start XnView (just the program without loading any image), it segfaults.
dmesg shows:

Code: Select all

[   71.448696] XnView[2892]: segfault at 0 ip 00007f67bcf686dd sp 00007ffc53332a00 error 4 in libQt5XcbQpa.so.5.9.7[7f67bceb8000+14a000]
[   71.448700] Code: 4d 85 e4 75 e8 4c 89 f2 4c 89 fe 31 ff e8 7b 49 f8 ff 4c 89 f7 49 89 c5 45 31 e4 e8 0d 3e f8 ff 4c 89 ff 31 db e8 53 12 f8 ff <41> 8b 45 00 85 c0 7e 1d 0f 1f 00 49 8b 45 08 83 c3 01 4a 8b 3c 20

Re: [0.93.1] [Linux] Segfault error 4 in libQt5XcbQpa

Posted: Wed Sep 25, 2019 7:36 am
by xnview
which distribution?

Re: [0.93.1] [Linux] Segfault error 4 in libQt5XcbQpa

Posted: Wed Sep 25, 2019 11:34 am
by Sjet
Arch Linux, I tried both the normal AUR package and the one using system libs.

Re: [0.93.1] [Linux] Segfault error 4 in libQt5XcbQpa

Posted: Thu Oct 03, 2019 4:04 pm
by Sjet
So far I have traced this back to a fontconfig issue.
I have to delete the contents of /var/cache/fontconfig before I launch XnView.
If I run sudo fc-cache afterwards, XnView starts segfaulting again.