You are not logged in.
Hello,
After upgarding my arch installation yesterday I encountered problem with xsane - it crashes with segfault in librsvg.
It goes like this: I type xsane into terminal, it displays little popup with info 'scanning for devices' and then crashes with Segmentation fault (core dumped),
from syslog I got this:
[24100.373813] xsane[16817]: segfault at 1 ip 00007f71da54082b sp 00007ffe5785f350 error 4 in librsvg-2.so.2.44.14[7f71da4e6000+322000]
[24100.373817] Code: 41 5e c3 49 89 c6 48 89 df e8 f1 3d ff ff 4c 89 f7 e8 29 58 fa ff 0f 0b 0f 1f 80 00 00 00 00 50 48 85 ff 74 13 48 85 f6 74 28 <48> 8b 3f 48 83 c7 10 58 ff 25 0f 8b 47 00 48 8d 3d fe bb 2c 00 48
[24100.373867] audit: type=1701 audit(1564597679.651:67): auid=1000 uid=1000 gid=1000 ses=1 pid=16817 comm="xsane" exe="/usr/bin/xsane" sig=11 res=1
[24100.380479] audit: type=1130 audit(1564597679.658:68): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@6-16845-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[24100.617179] audit: type=1131 audit(1564597679.894:69): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@6-16845-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'It worked fine some time ago (I haven't used scanner for a while), neither xsane nor librsvg was upgraded recently - first thing I wanted to try was downgrading xsane or librsvg but I have no older versions in pacman cache.
xsane 0.999-3 was built Mon 17 Sep 2018 11:43:59 PM CEST
and librsvg 2:2.44.14+1+g17bb3cd6-1 on Thu 30 May 2019 04:26:52 PM CEST
Scanner and xsane worked fine last month, maybe some other package screwed something I'm not aware of.
I have epson L3050 printer/scanner connected through network, I can scan normally using utsushi so scanner works.
Anybody experienced this recently?
Offline
Use gdb to get a stack trace, https://wiki.archlinux.org/index.php/De … _the_trace and cross-check the involved libs w/ your pacman log (on what was updated)
Did you maybe change your gtk theme/icons?
Offline
Thanks for reply,
I did gdb trace: https://pastebin.com/22Q2Rf2i
Yes I changed my gtk theme to Mojave Light with Papirus icons - I doubt this has something to do with crash, because if I run xsane like this:
GTK_THEME=Adwaita:light xsaneit crashes just as before.
If I remove utsushi from dll.conf (sane config file), xsane starts up just fine but does not detect my scanner anymore.
Offline
This comes out of gtk_widget_render_icon() so it's pretty much certainly a corrupt icon file (and/or a bug in librsvg)
=> Undo the theme/icon changes; I'm not even sure that GTK_THEME works for gtk2 this way (it doesn't here, no impact on the used theme)
Offline
OK, it IS the theme, xsane works if I remove .gtkrc-2.0.
It works launched like this:
env GTK2_RC_FILES=/usr/share/themes/Default/gtk-2.0-key/gtkrc xsaneIt seems that this theme is indeed incompatible with gtk2, Other gtk apps (all of them using gtk3) work just fine.
I will create alias to command above and use xsane without theme.
Thanks for help ![]()
Last edited by kowal256 (2019-08-01 13:34:42)
Offline