[xml/sgml-pkgs] Bug#496852: SVG icons and thumbnails make apps crash

dmitry.cheryasov dmitry.cheryasov at gmail.com
Wed Aug 27 23:32:23 UTC 2008

Package: libxml2
Version: 2.6.32.dfsg-2+lenny

After anupgrade at about 15:00 GMT+2 Aug 27 from ftp.de.debian.org, I
started experiencing crashes in various GTK programs. These failed to 
show context menus, running instances suddenly crashed, new instances 
refused to start. All diagnostics I could gather were "Segmantation 
fault" messages. (Sorry, I did not try versions with debug symbols.)

The problem seemed to be in /usr/share/icons/*/icon-theme.cache files.
Attempts to show an SVG icon anywhere lead to a segfault. (I had an
svg-based icon theme, so switching from it to something other via GUI
was problematic; finally I edited the ~/.config/xfce4/mcs_settings/gtk.xml.)

Looking at icon directories was also problematic. Here is a typical session:

$ thunar /usr/share/icons/Amaranth/ &
[1] 7057
$ could not load face
'file:///usr/share/icons/Amaranth/icon-theme.cache': unknown file format

[1]+  Segmentation fault      thunar
$ _

The SVG icons themselves were not changed for quite some time:
$ ls -l /usr/share/icons/Amaranth/scalable/actions/application-exit.svg
-rw-r--r-- 1 root root 4577 Apr 27  2007

Removing the /usr/share/icons/*/icon-theme.cache files seemed to solve
the problem for me, at least for some icon themes, like Lush. Other 
themes, like Gorilla, still crash. A sample SVG from Gorilla theme that 
causes a crash is attached.

I'm not sure that it's definitely a libxml2's fault; I only marked it as 
a culprit because from xml-related packages only it had been updated 
before problems began.

Here's software I run that seem relevant to the issue.


# dpkg -l | grep -i svg | grep -i -v svga
ii  libqt4-svg      4.4.0-4
ii  librsvg2-2      2.22.2-2
ii  librsvg2-common 2.22.2-2
ii  libxml2         2.6.32.dfsg-2+lenny
ii  libxml2-utils   2.6.32.dfsg-2+lenny

ii  gnome-about                2.22.3-1
ii  gnome-accessibility        1:2.22.2~4
ii  gnome-accessibility-themes 2.22.2-1
ii  gnome-app-install
ii  gnome-applets              2.22.3-2
ii  gnome-applets-data         2.22.3-2
ii  gnome-backgrounds          2.22.0-1
ii  gnome-control-center       1:
ii  gnome-core                 1:2.22.2~4
ii  gnome-desktop-data         2.22.3-1
ii  gnome-desktop-environment  1:2.22.2~4
ii  gnome-doc-utils            0.12.2-1
ii  gnome-icon-theme           2.22.0-1
ii  gnome-icon-theme-blankon   1.0-2
ii  gnome-icon-theme-dlg-neu   0.5-2
ii  gnome-icon-theme-gartoon   0.5-4
ii  gnome-icon-theme-nuovo     0.5-2
ii  gnome-icon-theme-suede     0.2.5-1
ii  gnome-icon-theme-yasis     0.4.2-1
ii  gnome-keyring              2.22.3-1
rc  gnome-keyring-manager      2.20.0-1
ii  gnome-mag                  1:0.15.0-1
ii  gnome-media                2.22.0-3
ii  gnome-media-common         2.22.0-3
ii  gnome-menus                2.22.2-3
ii  gnome-mime-data            2.18.0-1
ii  gnome-mount                0.7-2
ii  gnome-netstatus-applet     2.12.1-2
ii  gnome-nettool              2.22.0-1
ii  gnome-network-admin        2.22.0-2
ii  gnome-orca                 2.22.2-1
ii  gnome-panel                2.20.3-5
ii  gnome-panel-data           2.20.3-5
ii  gnome-screensaver          2.22.2-1
ii  gnome-session              2.22.3-1
ii  gnome-settings-daemon
ii  gnome-system-monitor       2.22.3-1
ii  gnome-system-tools         2.22.0-2
ii  gnome-terminal             2.22.3-2
ii  gnome-terminal-data        2.22.3-2
ii  gnome-themes               2.22.2-1
ii  gnome-themes-extras        0.9.0.deb0.4
ii  gnome-user-guide           2.22.1-1
ii  gnome-utils      

xfce (sans plugins):
ii  xfce4        
ii  xfce4-appfinder        4.4.2-1
ii  xfce4-artwork          0.1-2
ii  xfce4-goodies
ii  xfce4-icon-theme       4.4.2-1
ii  xfce4-mcs-manager      4.4.2-3
ii  xfce4-mcs-plugins      4.4.2-4
ii  xfce4-panel            4.4.2-6
ii  xfce4-session          4.4.2-6
ii  xfce4-terminal         0.2.8-5
ii  xfce4-utils            4.4.2-8


libc6 2.7-13
Linux 2.6.22-3-k7 #1 SMP Sun Feb 10 21:04:14 UTC 2008 i686 GNU/Linux

With best regards,
Dmitry Cheryasov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: application-exit.svg.gz
Type: application/x-gzip
Size: 1582 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20080828/a76a462d/attachment.bin 

More information about the debian-xml-sgml-pkgs mailing list