GNOME Bugzilla – Bug 309575
Nautilus + SVG files = crash !!
Last modified: 2007-12-21 08:35:52 UTC
Steps to reproduce: 1. download the open clip art files 2. browser it 3. nautilus will crash as soon as you browser it Stack trace: Hi I note this in Gnome 2.8 and 2.10, Nautilus will always crash if you browse a large directory with many svg images for example try to download the open clip art files and browser it and it will crash as soon as you enter any directory is there any way to prevent that ? or at less is there any application to browser svg files ?(not just opening one file) please also see http://mail.gnome.org/archives/gnome-list/2005-July/msg00005.html * From: Raj <ringuva novell com> * To: regatta <regatta gmail com> * Cc: gnome-list gnome org * Subject: Re: Nautilus + SVG files = crash!! * Date: Wed, 06 Jul 2005 14:22:56 +0530 i suggest that a bug report be opened at http://bugzilla.gnome.org I am able to consistently reproduce this myself. I've tried 'eog' and 'gthumb' and they crash too :-( . i guess some rendering library is conking. Regards, Raj Other information:
FWIW: Downloaded the open clipart zip file, unzipped it and... I copied the 'buildings' folder to some other location and then opened it. Then i double-clicked on the 'homes' folder. A few SVG files were rendered properly and then nautilus crashed. It somehow happens consistently with the files in the 'homes' folder.
+ Trace 61597
Raj, Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live. gnome.org/GettingTraces for more information on how to do so. The open clipart zip is 28megs in size .. can anyone please upload _one_ svg file that triggers the crash? (or a small set of files)
Hmm, i've clobbered my box when testing other stuff and it's currently unusable :-( .Then i am on vacation for a few days. So maybe i cant be of much help to get a backtrace now. I can help with the clipart pictures though. I have isolated the problem to the 'buildings' folder in the openclipart directory ( size around 350K ). Open the folder and double-click on the 'Homes' folder and nautilus would eventually crash.
Created attachment 48808 [details] Subset of the open clipart files
What version of nautilus and librsvg are you using? I cannot reproduce a crash in the tree structure you uploaded. I have nautilus 2.10.1 and librsvg2 2.8.1 Also no crash with nautilus 2.8.2 and same librsvg However there is one file in the homes folder that does not render at all. (residdential_house_zazou.svg) Does it work for you if you remove that file OR disable the file preview entirely? I stongly assume this is a librsvg problem. Reassigning.
Sorry I don't have gnome with debug mode but what I am sure about is that this will crash even with other folder than buildings Here is the versions that I have gnome-base/librsvg 2.9.5 gnome-base/nautilus 2.10.1
Strange. Same combination here (Ubuntu Hoary) librsvg 2.9.5 nautilus 2.10.1 and _no_ crash. what distro are you running?
Gentoo
Sorry, gnome compile with CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" # If you set a CFLAGS above, then this line will set your default C++ flags to # the same settings. CXXFLAGS="${CFLAGS}" but not sure if this is the problem
That is almost definitely the problem. Recompile with -O2, and reopen if the bug is still there.
I don't think Raj is using Gentoo , but anyway I will change the flag and compile librsvg & nautilus again, I will let you know
Ok After recompiling librsvg & nautilus with -O2 I still get the problem , is there anyone can tell me how can I enable the debug in gentoo and recompile these 2 packages Thanks
did you still include "-fomit-frame-pointer and -pipe"?
I run gentoo and use the CVS version of librsvg, there is only one problem in that buildings thingie and that is wooden_barrel_petri_lumm_01.svg, I think it is probably just a problem with your version of rsvg being a little old (there have been many bugs fixed since the last stable version) . I'm not really sure if persuing this further will eventuate in a bug fix but if you want to enable debugging in gentoo in the future, just do the following: * Back up /etc/make.conf * Open up /etc/make.conf as root in your favorite text editor * Insert "-g" within the quotation marks where it says CFLAGS="-march=.... * Somewhere near the end of the file put the line: FEATURES="nostrip" * Save make.conf * Reemerge whatever package you want to debug * Change make.conf back to whatever it was before
Thanks Caleb Moore I willl recompile the 2 packages againg and I will put the debug output here
Here is what I get after recompile librsvg & nautilus with the cflag CFLAGS="-march=pentium4 -O2 -g" FEATURES="nostrip" --------------------------------------------------------------- gdb nautilus 31466 GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". Attaching to program: /usr/bin/nautilus, process 31466 Reading symbols from /usr/lib/libnautilus-private.so.2...done. Loaded symbols for /usr/lib/libnautilus-private.so.2 Reading symbols from /usr/lib/libnautilus-extension.so.1...done. Loaded symbols for /usr/lib/libnautilus-extension.so.1 Reading symbols from /usr/lib/libeel-2.so.2...done. Loaded symbols for /usr/lib/libeel-2.so.2 Reading symbols from /usr/lib/libgnome-menu.so.0...done. Loaded symbols for /usr/lib/libgnome-menu.so.0 Reading symbols from /usr/lib/libXrender.so.1...done. Loaded symbols for /usr/lib/libXrender.so.1 Reading symbols from /usr/lib/libXext.so.6...done. Loaded symbols for /usr/lib/libXext.so.6 Reading symbols from /usr/lib/libgailutil.so.17...done. Loaded symbols for /usr/lib/libgailutil.so.17 Reading symbols from /usr/lib/libglade-2.0.so.0...done. Loaded symbols for /usr/lib/libglade-2.0.so.0 Reading symbols from /usr/lib/librsvg-2.so.2...done. Loaded symbols for /usr/lib/librsvg-2.so.2 Reading symbols from /usr/lib/libgsf-1.so.1...done. Loaded symbols for /usr/lib/libgsf-1.so.1 Reading symbols from /usr/lib/libbz2.so.1...done. Loaded symbols for /usr/lib/libbz2.so.1 Reading symbols from /usr/lib/libcroco-0.6.so.3...done. Loaded symbols for /usr/lib/libcroco-0.6.so.3 Reading symbols from /usr/lib/libgnome-desktop-2.so.2...done. Loaded symbols for /usr/lib/libgnome-desktop-2.so.2 Reading symbols from /usr/lib/libgnomeui-2.so.0...done. Loaded symbols for /usr/lib/libgnomeui-2.so.0 Reading symbols from /usr/lib/libgnome-keyring.so.0...done. Loaded symbols for /usr/lib/libgnome-keyring.so.0 Reading symbols from /usr/lib/libjpeg.so.62...done. Loaded symbols for /usr/lib/libjpeg.so.62 Reading symbols from /usr/lib/libbonoboui-2.so.0...done. Loaded symbols for /usr/lib/libbonoboui-2.so.0 Reading symbols from /usr/lib/libgnomecanvas-2.so.0...done. Loaded symbols for /usr/lib/libgnomecanvas-2.so.0 Reading symbols from /usr/lib/libgnome-2.so.0...done. Loaded symbols for /usr/lib/libgnome-2.so.0 Reading symbols from /usr/lib/libesd.so.0...done. Loaded symbols for /usr/lib/libesd.so.0 Reading symbols from /usr/lib/libasound.so.2...done. Loaded symbols for /usr/lib/libasound.so.2 Reading symbols from /usr/lib/libaudiofile.so.0...done. Loaded symbols for /usr/lib/libaudiofile.so.0 Reading symbols from /usr/lib/libart_lgpl_2.so.2...done. Loaded symbols for /usr/lib/libart_lgpl_2.so.2 Reading symbols from /usr/lib/libpangoft2-1.0.so.0...done. Loaded symbols for /usr/lib/libpangoft2-1.0.so.0 Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...done. Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...done. Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0 Reading symbols from /usr/lib/libatk-1.0.so.0...done. Loaded symbols for /usr/lib/libatk-1.0.so.0 Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...done. Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0 Reading symbols from /usr/lib/libpangoxft-1.0.so.0...done. Loaded symbols for /usr/lib/libpangoxft-1.0.so.0 Reading symbols from /usr/lib/libpangox-1.0.so.0...done. Loaded symbols for /usr/lib/libpangox-1.0.so.0 Reading symbols from /usr/lib/libpango-1.0.so.0...done. Loaded symbols for /usr/lib/libpango-1.0.so.0 Reading symbols from /usr/lib/libgnomevfs-2.so.0...done. Loaded symbols for /usr/lib/libgnomevfs-2.so.0 Reading symbols from /usr/lib/libssl.so.0.9.7...done. Loaded symbols for /usr/lib/libssl.so.0.9.7 Reading symbols from /usr/lib/libcrypto.so.0.9.7...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.7 Reading symbols from /usr/lib/libhowl.so.0...done. Loaded symbols for /usr/lib/libhowl.so.0 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/tls/librt.so.1...done. Loaded symbols for /lib/tls/librt.so.1 Reading symbols from /usr/lib/libbonobo-2.so.0...done. Loaded symbols for /usr/lib/libbonobo-2.so.0 Reading symbols from /usr/lib/libbonobo-activation.so.4...done. Loaded symbols for /usr/lib/libbonobo-activation.so.4 Reading symbols from /usr/lib/libORBitCosNaming-2.so.0...done. Loaded symbols for /usr/lib/libORBitCosNaming-2.so.0 Reading symbols from /usr/lib/libgstgconf-0.8.so.0...done. Loaded symbols for /usr/lib/libgstgconf-0.8.so.0 Reading symbols from /usr/lib/libgstreamer-0.8.so.1...done. Loaded symbols for /usr/lib/libgstreamer-0.8.so.1 Reading symbols from /usr/lib/libgconf-2.so.4...done. Loaded symbols for /usr/lib/libgconf-2.so.4 Reading symbols from /usr/lib/libxml2.so.2...done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib/libORBit-2.so.0...done. Loaded symbols for /usr/lib/libORBit-2.so.0 Reading symbols from /usr/lib/libgobject-2.0.so.0...done. Loaded symbols for /usr/lib/libgobject-2.0.so.0 Reading symbols from /usr/lib/libgmodule-2.0.so.0...done. Loaded symbols for /usr/lib/libgmodule-2.0.so.0 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /usr/lib/libgthread-2.0.so.0...done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /lib/tls/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread -1228794176 (LWP 31466)] [New Thread -1242014800 (LWP 31471)] [New Thread -1241748560 (LWP 31470)] [New Thread -1241482320 (LWP 31469)] [New Thread -1240261712 (LWP 31468)] [New Thread -1230337104 (LWP 31467)] Loaded symbols for /lib/tls/libpthread.so.0 Reading symbols from /usr/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /usr/lib/libstartup-notification-1.so.0...done. Loaded symbols for /usr/lib/libstartup-notification-1.so.0 Reading symbols from /usr/lib/libSM.so.6...done. Loaded symbols for /usr/lib/libSM.so.6 Reading symbols from /usr/lib/libICE.so.6...done. Loaded symbols for /usr/lib/libICE.so.6 Reading symbols from /usr/lib/libX11.so.6...done. Loaded symbols for /usr/lib/libX11.so.6 Reading symbols from /usr/lib/libexif.so.9...done. Loaded symbols for /usr/lib/libexif.so.9 ---Type <return> to continue, or q <return> to quit--- Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /usr/lib/libpopt.so.0...done. Loaded symbols for /usr/lib/libpopt.so.0 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /usr/lib/libfontconfig.so.1...done. Loaded symbols for /usr/lib/libfontconfig.so.1 Reading symbols from /usr/lib/libfreetype.so.6...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /usr/lib/libXrandr.so.2...done. Loaded symbols for /usr/lib/libXrandr.so.2 Reading symbols from /usr/lib/libXi.so.6...done. Loaded symbols for /usr/lib/libXi.so.6 Reading symbols from /usr/lib/libXinerama.so.1...done. Loaded symbols for /usr/lib/libXinerama.so.1 Reading symbols from /usr/lib/libXft.so.2...done. Loaded symbols for /usr/lib/libXft.so.2 Reading symbols from /usr/lib/libXfixes.so.3...done. Loaded symbols for /usr/lib/libXfixes.so.3 Reading symbols from /usr/lib/libXcursor.so.1...done. Loaded symbols for /usr/lib/libXcursor.so.1 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/libexpat.so.0...done. Loaded symbols for /usr/lib/libexpat.so.0 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /usr/lib/X11/locale/lib/common/xlcDef.so.2...done. Loaded symbols for /usr/lib/X11/locale/lib/common/xlcDef.so.2 Reading symbols from /usr/lib/gconv/ISO8859-1.so...done. Loaded symbols for /usr/lib/gconv/ISO8859-1.so Reading symbols from /usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so Reading symbols from /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so Reading symbols from /usr/lib/libpng12.so.0...done. Loaded symbols for /usr/lib/libpng12.so.0 Reading symbols from /usr/lib/gnome-vfs-2.0/modules/libfile.so...done. Loaded symbols for /usr/lib/gnome-vfs-2.0/modules/libfile.so Reading symbols from /usr/lib/libfam.so.0...done. Loaded symbols for /usr/lib/libfam.so.0 Reading symbols from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5...done. Loaded symbols for /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5 Reading symbols from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libgcc_s.so.1...done. Loaded symbols for /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libgcc_s.so.1 Reading symbols from /usr/lib/nautilus/extensions-1.0/libnautilus-fileroller.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libnautilus-fileroller.so Reading symbols from /usr/lib/nautilus/extensions-1.0/libnautilus-gst-shares.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libnautilus-gst-shares.so Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libutil.so.1...done. Loaded symbols for /lib/libutil.so.1 Reading symbols from /usr/lib/nautilus/extensions-1.0/libnautilus-burn-extension.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libnautilus-burn-extension.so Reading symbols from /usr/lib/nautilus/extensions-1.0/libnautilus-fontilus.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libnautilus-fontilus.so Reading symbols from /usr/lib/nautilus/extensions-1.0/libnautilus-themus.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libnautilus-themus.so Reading symbols from /usr/lib/libgnome-window-settings.so.1...done. Loaded symbols for /usr/lib/libgnome-window-settings.so.1 Reading symbols from /usr/lib/libmetacity-private.so.0...done. Loaded symbols for /usr/lib/libmetacity-private.so.0 ---Type <return> to continue, or q <return> to quit--- Reading symbols from /usr/lib/nautilus/extensions-1.0/libtotem-properties-page.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libtotem-properties-page.so Reading symbols from /usr/lib/libnautilus-burn.so.1...done. Loaded symbols for /usr/lib/libnautilus-burn.so.1 Reading symbols from /usr/lib/libXtst.so.6...done. Loaded symbols for /usr/lib/libXtst.so.6 Reading symbols from /usr/lib/libXxf86vm.so.1...done. Loaded symbols for /usr/lib/libXxf86vm.so.1 Reading symbols from /usr/lib/libxine.so.1...done. Loaded symbols for /usr/lib/libxine.so.1 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /usr/lib/libhal.so.0...done. Loaded symbols for /usr/lib/libhal.so.0 Reading symbols from /usr/lib/libdbus-1.so.0...done. Loaded symbols for /usr/lib/libdbus-1.so.0 Reading symbols from /usr/lib/gnome-vfs-2.0/modules/libmapping.so...done. Loaded symbols for /usr/lib/gnome-vfs-2.0/modules/libmapping.so Reading symbols from /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so Reading symbols from /usr/lib/pango/1.4.0/modules/pango-basic-fc.so...done. Loaded symbols for /usr/lib/pango/1.4.0/modules/pango-basic-fc.so Reading symbols from /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.so Reading symbols from /usr/lib/gtk-2.0/2.4.0/loaders/io-wmf.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.4.0/loaders/io-wmf.so Reading symbols from /usr/lib/libwmf-0.2.so.7...done. Loaded symbols for /usr/lib/libwmf-0.2.so.7 Reading symbols from /usr/lib/libwmflite-0.2.so.7...done. Loaded symbols for /usr/lib/libwmflite-0.2.so.7 Reading symbols from /usr/lib/libpng.so.3...done. Loaded symbols for /usr/lib/libpng.so.3 0xffffe410 in ?? () (gdb) thread apply all bt
+ Trace 61649
Hmm odd. please recompile the basic gnome packages as well. The problem is, you have to get rid of the question marks ("??") in the stack trace. They represent missing debugging symbold. If the 5 topmost symbols in Thread 6 are visible (no "??") we have a godd chance to fix it.
This is from BugBuddy Backtrace was generated from '/usr/bin/nautilus' Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1229306176 (LWP 28299)] [New Thread -1244492880 (LWP 28308)] [Thread debugging using libthread_db enabled] [New Thread -1229306176 (LWP 28299)] [New Thread -1244492880 (LWP 28308)] [Thread debugging using libthread_db enabled] [New Thread -1229306176 (LWP 28299)] [New Thread -1244492880 (LWP 28308)] [New Thread -1242252368 (LWP 28305)] [New Thread -1241986128 (LWP 28304)] [New Thread -1241719888 (LWP 28303)] [New Thread -1241453648 (LWP 28302)] [New Thread -1240773712 (LWP 28301)] [New Thread -1230849104 (LWP 28300)] 0xffffe410 in ?? ()
+ Trace 61784
Above is what I get from recompiling glibc,orbit and glib with debug option, if you need more please let me know
Thank you for your efforts. Well, as said before, you need to recompile some Gnome stuff as well. Recompile at least nautilus, (lib)gtk and librsvg with the -g compiler option. See, stack traces without debugging symbols (the questino marks "??") are of no use for developers. Please make sure that at least the following symbols will be shown: ====
+ Trace 61786
Thread 8 (Thread -1230849104 (LWP 28300))
I know that but list the packages for me and I will compile all of them I compiled glibc,orbit,glib, nautilus, I will recompile librsvg & gtk Note: (it's compiled with -g)
You probably want to recompile these in any case as well: libglib2.0, libgtk2, and libgnomevfs2 (or similar names)
No response from anyone. Marking INCOMPLETE. Feel free to reopen and add more comments.
Same symptoms: Nautilus crash. But only one svg file is needed in the directory to make it crash :) I use nautilus 2.16.3 on Gentoo. It crash when browsing svg on usb keys. I don't know if it crash when browsing svg elsewhere. Everything is ok with nautilus 2.16.1 with Ubuntu. I'll recompile the stuff mentioned above, then post the results
can you add the file causing the crash, please?
Created attachment 84544 [details] Rabbit that make crash
Created attachment 84545 [details] Another svg that make crash
Unzip the two above svg.gz. They make crash my nautilus wherever you put it (usb key, /tmp, nfs, ...) as soon as nautilus tries to read them... It doesn't crash with others svg
No crash with Gnome 2.16.1 for me but nautilus 2.18 freezes I user librsvg 2.16.1 Gab, can you please install the librsvg debug package and paste the stack trace bug-buddy produces here? thanks.
Same version of librsvg, but nautilus 2.16 Here is the stack trace with librsvg compiled with -ggdb and not stripped I don't think it will be usefull... Maybe should I recompile all mentionned libraries with debug? Distribution: Gentoo Base System release 1.12.9 Gnome Release: 2.16.2 2007-02-07 (Gentoo) BugBuddy Version: 2.16.0 Memory status: size: 85532672 vsize: 0 resident: 85532672 share: 0 rss: 33218560 rss_rlim: 0 CPU usage: start_time: 1173945705 rtime: 0 utime: 1145 stime: 0 cutime:1008 cstime: 0 timeout: 137 it_real_value: 0 frequency: 0 Backtrace was generated from '/usr/bin/nautilus' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1227769472 (LWP 2594)] [New Thread -1260549232 (LWP 3728)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 118760
unfortunately not useful at all. yes,please recompile all mentioned libraries with debug symbols. thanks.
Here it is. It you want me to compile more stuff with debug, feel free to ask! Distribution: Gentoo Base System release 1.12.9 Gnome Release: 2.16.2 2007-02-07 (Gentoo) BugBuddy Version: 2.16.0 Memory status: size: 80207872 vsize: 0 resident: 80207872 share: 0 rss: 27648000 rss_rlim: 0 CPU usage: start_time: 1174035738 rtime: 0 utime: 589 stime: 0 cutime:496 cstime: 0 timeout: 93 it_real_value: 0 frequency: 0 Backtrace was generated from '/usr/bin/nautilus' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1227392608 (LWP 2201)] [New Thread -1233876080 (LWP 15796)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 119067
Thread 2 (Thread -1233876080 (LWP 15796))
awesome trace, thanks! it is the cairo library crashing, but could be caused by librsvg. Let the developers decide.
I came across this today after using svg patterns for the first time in inkscape. If I remove the pattern definitions from the svg, nautilus handles it fine. The pattern definitions are usually near the top of the file, as <pattern> tags in between <defs> tags. You can just delete them out with a text editor to test. gdb backtrace (no cairo debug symbols, sorry): Program received signal SIGABRT, Aborted. 0xffffe410 in __kernel_vsyscall () (gdb) bt
+ Trace 125934
the "another svg that make crash" file didn't trigger the crash for me, but "Rabbit that make crash" did, and I notice that it has pattern definitons too. This is with Nautilus 2.18.0.1, with libcairo 1.4.2 and librsvg 2.16.0 (on Ubuntu Feisty).
Created attachment 85972 [details] another crasher (eler ep065 :)
Created attachment 87235 [details] Lamp that make crash
Here is an other svg that crash nautilus. Let's call it 'lamp that make crash' :) It has not 'pattern' inside. It seems not to crash nautilus immediately, and sometime not the 'usual' way: it makes it hang, or react with much more delay. If you click on 'show as list', it mostly often crash Nautilus. Icing on the cake: it make bug-buddy unusable. Bug-buddy appears, but I can't click anywhere.
Confirmed. It appears to be triggering a floating point exception in Cairo. Thanks for the bug report.
Recent versions of librsvg and cairo don't seem to trigger this crash. Closing. Thanks for the bug report.
I had this issue today with GNOME 2.20.1 and librsvg 2.18.1 on Ubuntu Gutsy with an Inskcape SVG I was working in: http://azulebanana.com/bluey/code/crash_nautilus.tar.gz Well it didn't crash but nautilus log shows lots of this: 0x86fecd0 2007/12/21 08:31:11.9564 (USER): debug log dumped due to signal 8 and becomes sluggish using ~100% CPU...