After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309575 - Nautilus + SVG files = crash !!
Nautilus + SVG files = crash !!
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
2.16.x
Other All
: High critical
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-06 09:19 UTC by regatta@gmail.com
Modified: 2007-12-21 08:35 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Subset of the open clipart files (341.50 KB, application/x-compressed-tar)
2005-07-08 02:38 UTC, Raj
Details
Rabbit that make crash (12.64 KB, application/x-gzip)
2007-03-14 00:11 UTC, Gab
Details
Another svg that make crash (3.80 KB, application/x-gzip)
2007-03-14 00:12 UTC, Gab
Details
another crasher (eler ep065 :) (4.21 KB, application/x-gzip)
2007-04-08 00:27 UTC, John Leach
Details
Lamp that make crash (3.80 KB, application/x-gzip)
2007-04-29 14:09 UTC, Gab
Details

Description regatta@gmail.com 2005-07-06 09:19:43 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:
Comment 1 Raj 2005-07-06 09:36:17 UTC
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.
Comment 2 Raj 2005-07-06 10:01:19 UTC


  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 siglongjmp
    from /lib/tls/libpthread.so.0
  • #5 gdk_pixbuf_new_from_data
    from /opt/gnome/lib/libgdk_pixbuf-2.0.so.0
  • #6 gdk_pixbuf_loader_set_size
    from /opt/gnome/lib/libgdk_pixbuf-2.0.so.0
  • #7 gdk_pixbuf_loader_write
    from /opt/gnome/lib/libgdk_pixbuf-2.0.so.0
  • #8 gtk_icon_theme_add_builtin_icon
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #9 gtk_icon_info_load_icon
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #10 gtk_icon_theme_load_icon
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #11 gtk_window_get_default_icon_list
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #12 gtk_window_get_default_icon_list
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #13 gtk_window_new
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #14 nautilus_spatial_window_get_type
  • #15 g_cclosure_marshal_VOID__VOID
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #16 g_closure_ref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #17 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #18 g_signal_chain_from_overridden
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #19 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #20 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #21 gtk_widget_realize
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #22 gtk_window_new
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #23 nautilus_window_set_status
  • #24 nautilus_spatial_window_get_type
  • #25 g_cclosure_marshal_VOID__VOID
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #26 g_closure_ref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #27 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #28 g_signal_chain_from_overridden
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #29 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #30 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #31 gtk_widget_show
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #32 nautilus_window_report_load_underway
  • #33 nautilus_window_info_report_load_underway
    from /opt/gnome/lib/libnautilus-private.so.2
  • #34 fm_directory_view_begin_loading
  • #35 nautilus_directory_get_info_for_new_files
    from /opt/gnome/lib/libnautilus-private.so.2
  • #36 nautilus_directory_async_state_changed
    from /opt/gnome/lib/libnautilus-private.so.2
  • #37 nautilus_idle_queue_add
    from /opt/gnome/lib/libnautilus-private.so.2
  • #38 g_list_push_allocator
    from /opt/gnome/lib/libglib-2.0.so.0
  • #39 g_main_context_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #40 g_main_context_acquire
    from /opt/gnome/lib/libglib-2.0.so.0
  • #41 g_main_loop_run
    from /opt/gnome/lib/libglib-2.0.so.0
  • #42 gtk_main
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #43 main

Comment 3 Christian Kirbach 2005-07-07 16:25:46 UTC
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)
Comment 4 Raj 2005-07-08 02:37:00 UTC
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.
Comment 5 Raj 2005-07-08 02:38:15 UTC
Created attachment 48808 [details]
Subset of the open clipart files
Comment 6 Christian Kirbach 2005-07-08 10:50:21 UTC
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.
Comment 7 regatta@gmail.com 2005-07-09 10:29:53 UTC
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 
Comment 8 Christian Kirbach 2005-07-09 12:04:42 UTC
Strange. Same combination here (Ubuntu Hoary)
 librsvg 2.9.5
 nautilus 2.10.1 
and _no_ crash.

what distro are you running?

Comment 9 regatta@gmail.com 2005-07-09 12:28:35 UTC
Gentoo
Comment 10 regatta@gmail.com 2005-07-09 12:29:25 UTC
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
Comment 11 Luis Villa 2005-07-09 13:24:41 UTC
That is almost definitely the problem. Recompile with -O2, and reopen if the bug
is still there.
Comment 12 regatta@gmail.com 2005-07-10 04:16:39 UTC
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
Comment 13 regatta@gmail.com 2005-07-10 12:57:59 UTC
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
Comment 14 Dominic Lachowicz 2005-07-10 14:43:11 UTC
did you still include "-fomit-frame-pointer and -pipe"?
Comment 15 Caleb Moore 2005-07-11 03:17:45 UTC
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
Comment 16 regatta@gmail.com 2005-07-11 04:17:16 UTC
Thanks Caleb Moore  

I willl recompile the 2 packages againg and I will put the debug output here
Comment 17 regatta@gmail.com 2005-07-11 04:56:50 UTC
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




Comment 18 Christian Kirbach 2005-07-13 15:25:54 UTC
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.
Comment 19 regatta@gmail.com 2005-07-16 10:25:00 UTC
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 ?? ()

Comment 20 regatta@gmail.com 2005-07-16 10:28:13 UTC
Above is what I get from recompiling glibc,orbit and glib with debug option, if
you need more please let me know
Comment 21 Christian Kirbach 2005-07-16 12:26:30 UTC
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:


====

Thread 8 (Thread -1230849104 (LWP 28300))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??

Comment 22 regatta@gmail.com 2005-07-16 12:55:12 UTC
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)
Comment 23 Christian Kirbach 2005-07-16 16:12:40 UTC
You probably want to recompile these in any case as well:
libglib2.0, libgtk2, and libgnomevfs2 (or similar names)
Comment 24 Christian Kirbach 2005-09-12 11:12:34 UTC
No response from anyone. Marking INCOMPLETE.

Feel free to reopen and add more comments.
Comment 25 Gab 2007-03-13 11:29:24 UTC
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
Comment 26 Christian Kirbach 2007-03-13 21:10:31 UTC
can you add the file causing the crash, please?
Comment 27 Gab 2007-03-14 00:11:56 UTC
Created attachment 84544 [details]
Rabbit that make crash
Comment 28 Gab 2007-03-14 00:12:42 UTC
Created attachment 84545 [details]
Another svg that make crash
Comment 29 Gab 2007-03-14 00:14:48 UTC
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
Comment 30 Christian Kirbach 2007-03-14 22:44:46 UTC
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.
Comment 31 Gab 2007-03-15 08:09:10 UTC
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 ()

Comment 32 Christian Kirbach 2007-03-15 21:05:28 UTC
unfortunately not useful at all.

yes,please recompile all mentioned libraries with debug symbols. thanks.
Comment 33 Gab 2007-03-16 09:18:12 UTC
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 ()

Thread 2 (Thread -1233876080 (LWP 15796))

  • #0 __kernel_vsyscall
  • #1 ??
    from /lib/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 870
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #6 *__GI_abort
    at abort.c line 88
  • #7 *__GI___assert_fail
    at assert.c line 78
  • #8 _cairo_pen_find_active_cw_vertex_index
    at cairo-pen.c line 323
  • #9 _cairo_path_fixed_stroke_to_traps
    at cairo-path-stroke.c line 385
  • #10 _cairo_gstate_stroke_extents
    at cairo-gstate.c line 1056
  • #11 cairo_stroke_extents
    at cairo.c line 2021
  • #12 rsvg_cairo_render_path
    at rsvg-cairo-draw.c line 546
  • #13 rsvg_render_path
    at rsvg-base.c line 1639
  • #14 rsvg_node_path_draw
    at rsvg-shapes.c line 61
  • #15 rsvg_node_draw
    at rsvg-structure.c line 54
  • #16 _rsvg_node_draw_children
    at rsvg-structure.c line 73
  • #17 rsvg_node_draw
    at rsvg-structure.c line 54
  • #18 rsvg_node_svg_draw
    at rsvg-structure.c line 346
  • #19 rsvg_node_draw
    at rsvg-structure.c line 54
  • #20 rsvg_handle_render_cairo_sub
    at rsvg-cairo-render.c line 161
  • #21 rsvg_handle_get_pixbuf_sub
    at rsvg.c line 101
  • #22 rsvg_handle_get_pixbuf
    at rsvg.c line 135
  • #23 gdk_pixbuf__svg_image_stop_load
    at io-svg.c line 154
  • #24 IA__gdk_pixbuf_loader_close
    at gdk-pixbuf-loader.c line 714
  • #25 gnome_gdk_pixbuf_new_from_uri_at_scale
    at gnome-vfs-util.c line 207
  • #26 gnome_thumbnail_factory_generate_thumbnail
    at gnome-thumbnail.c line 990
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 ??

Comment 34 Christian Kirbach 2007-03-16 20:24:08 UTC
awesome trace, thanks!

it is the cairo library crashing, but could be caused by librsvg.

Let the developers decide.

Comment 35 John Leach 2007-04-08 00:21:01 UTC
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
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 __assert_fail
    from /lib/tls/i686/cmov/libc.so.6
  • #4 ??
    from /usr/lib/libcairo.so.2
  • #5 ??
    from /usr/lib/libcairo.so.2
  • #6 ??
    from /usr/lib/libcairo.so.2
  • #7 ??
  • #8 ??
    from /usr/lib/libcairo.so.2
  • #9 ??
  • #10 free
    from /lib/tls/i686/cmov/libc.so.6
  • #11 ??
    from /usr/lib/libcairo.so.2
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
    from /usr/lib/libcairo.so.2
  • #16 ??
  • #17 ??


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).
Comment 36 John Leach 2007-04-08 00:27:16 UTC
Created attachment 85972 [details]
another crasher (eler ep065 :)
Comment 37 Gab 2007-04-29 14:09:57 UTC
Created attachment 87235 [details]
Lamp that make crash
Comment 38 Gab 2007-04-29 14:10:24 UTC
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.
Comment 39 Dominic Lachowicz 2007-05-01 21:49:34 UTC
Confirmed. It appears to be triggering a floating point exception in Cairo.

Thanks for the bug report.
Comment 40 Dominic Lachowicz 2007-07-06 15:12:41 UTC
Recent versions of librsvg and cairo don't seem to trigger this crash. Closing. Thanks for the bug report.
Comment 41 Bruno Santos 2007-12-21 08:35:52 UTC
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...