Bug#496163: AI-written SVG icons cause segfaults?!
Trent W. Buck
trentbuck at gmail.com
Sat Aug 23 02:08:13 UTC 2008
Package: gnome-accessibility-themes
Version: 2.22.2-1
Severity: important
Yesterday, Midori (a GTK2/webkit-based web browser) started
segfaulting on boot:
$ strace midori 2>&1 | tail
open("/home/twb/.local/share/midori/extensions", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC, {49547, 289959979}) = 0
clock_gettime(CLOCK_MONOTONIC, {49547, 294614521}) = 0
gettimeofday({1219456699, 984930}, NULL) = 0
open("/usr/share/icons/HighContrast-SVG/scalable/actions/gtk-find.svg", O_RDONLY|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=2073, ...}) = 0
read(6, "<?xml version=\"1.0\" encoding=\"iso"..., 2073) = 2073
close(6) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
So I try opening that file (gtk-find.svg) in imagemagick:
$ strace display /usr/share/icons/HighContrast-SVG/scalable/actions/gtk-find.svg 2>&1 | tail
fstat64(4, {st_mode=S_IFREG|0644, st_size=2073, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f31000
read(4, "<?xml version=\"1.0\" encoding=\"iso"..., 4096) = 2073
read(4, ""..., 4096) = 0
_llseek(4, 0, [0], SEEK_SET) = 0
mmap2(NULL, 2073, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7f30000
close(4) = 0
munmap(0xb7f31000, 4096) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Xzgv also segfaults right after reading the xml declaration:
$ strace xzgv /usr/share/icons/HighContrast-SVG/scalable/actions/gtk-find.svg 2>&1 | tail
mmap2(NULL, 65096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb6ed2000
mmap2(0xb6ee1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0xf) = 0xb6ee1000
close(5) = 0
munmap(0xb73b7000, 34054) = 0
_llseek(4, 0, [0], SEEK_SET) = 0
read(4, "<?xml version=\"1.0\" encoding=\"iso"..., 4096) = 2073
read(4, ""..., 4096) = 0
futex(0xb707c798, FUTEX_WAKE_PRIVATE, 2147483647) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
And yet they work correctly if I open gtk-fullscreen.svg, for example.
Looking at some samples in Emacs suggests that all AI-written icons
cause the segfault, and all Inkscape-written icons work correctly.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnome-accessibility-themes depends on:
ii gtk2-engines 1:2.14.3-1 theme engines for GTK+ 2.x
ii librsvg2-common 2.22.2-2 SAX-based renderer library for SVG
gnome-accessibility-themes recommends no packages.
gnome-accessibility-themes suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list