GNOME Bugzilla – Bug 366532
handle svg thumbmailer (libcroco) crash more gracefully
Last modified: 2010-07-04 23:28:11 UTC
What were you doing when the application crashed? Nothing. I minimised my terminal and browser and then Bug Buddy popped up before the desktop could have its icons redrawn. Distribution: Ubuntu 6.10 (edgy) Gnome Release: 2.16.1 2006-10-02 (Ubuntu) BugBuddy Version: 2.16.0 Memory status: size: 238043136 vsize: 238043136 resident: 27795456 share: 16461824 rss: 27795456 rss_rlim: -1 CPU usage: start_time: 1162068186 rtime: 166 utime: 133 stime: 33 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 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) [Thread debugging using libthread_db enabled] [New Thread 47792278280736 (LWP 15779)] [New Thread 1073875280 (LWP 15798)] (no debugging symbols found) 0x00002b777e6937f6 in poll () from /lib/libc.so.6
+ Trace 79476
Thread 2 (Thread 1073875280 (LWP 15798))
I've discovered that the problem was caused by an image file on my desktop. It seems to have been the SVG thumbnailer that was the cause of the crash. I moved the image and then Nautilus was able to continue properly. Since I don't own the copyright on the file I can't include it as an attachment. I downloaded it from this web page: http://www.worldhistorymaps.com/maps/NA1936.htm I hope this helps.
crash in libcroco thank you for finding the cause. i can't find an image on the page you pointed to. can you please post the URL to the image? please install glib and libcroco debug packages Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Here's a direct URL for that SVG: http://www.worldhistorymaps.com/maps/NA1936.svg Here's a stack trace after glib and libcroco debug symbols were installed. I hope that helps. Distribution: Ubuntu 6.10 (edgy) Gnome Release: 2.16.1 2006-10-02 (Ubuntu) BugBuddy Version: 2.16.0 Memory status: size: 236924928 vsize: 236924928 resident: 28139520 share: 16678912 rss: 28139520 rss_rlim: -1 CPU usage: start_time: 1162325626 rtime: 235 utime: 214 stime: 21 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 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) (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) (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) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 47998850140704 (LWP 11494)] [New Thread 1073875280 (LWP 21500)] 0x00002ba7970da7f6 in poll () from /lib/libc.so.6
+ Trace 81156
Thread 2 (Thread 1073875280 (LWP 21500))
OK, this is an *invalid* svg file. 1475: <image x="0" y="0" width="1189" height="1167" **xlink:href="Nmod.svg"** style="opacity:1"/> However, nautilus should not be crashed by libcroco but display some substitute icon.
Do you still have this problem with an up to date version of nautilus?
We shouldn't, as we don't use librsvg directly anymore. Please reopen if it's still crashing (that file doesn't crash anymore here).