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 366532 - handle svg thumbmailer (libcroco) crash more gracefully
handle svg thumbmailer (libcroco) crash more gracefully
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Thumbnails
2.16.x
Other All
: Normal critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-28 22:06 UTC by C W Whittle
Modified: 2010-07-04 23:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description C W Whittle 2006-10-28 22:06:53 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

Thread 2 (Thread 1073875280 (LWP 15798))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 g_slice_alloc
    from /usr/lib/libglib-2.0.so.0
  • #4 g_string_sized_new
    from /usr/lib/libglib-2.0.so.0
  • #5 cr_string_new
    from /usr/lib/libcroco-0.6.so.3
  • #6 cr_tknzr_get_next_token
    from /usr/lib/libcroco-0.6.so.3
  • #7 cr_parser_try_to_skip_spaces_and_comments
    from /usr/lib/libcroco-0.6.so.3
  • #8 cr_parser_parse_declaration
    from /usr/lib/libcroco-0.6.so.3
  • #9 cr_parser_parse_font_face
    from /usr/lib/libcroco-0.6.so.3
  • #10 cr_parser_parse
    from /usr/lib/libcroco-0.6.so.3
  • #11 rsvg_handle_new_from_data
    from /usr/lib/librsvg-2.so.2
  • #12 rsvg_handle_set_base_uri
    from /usr/lib/librsvg-2.so.2
  • #13 rsvg_handle_set_base_uri
    from /usr/lib/librsvg-2.so.2
  • #14 xmlParseXMLDecl
    from /usr/lib/libxml2.so.2
  • #15 xmlParseChunk
    from /usr/lib/libxml2.so.2
  • #16 rsvg_error_quark
    from /usr/lib/librsvg-2.so.2
  • #17 fill_info
    from /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
  • #18 gdk_pixbuf_loader_write
    from /usr/lib/libgdk_pixbuf-2.0.so.0
  • #19 gnome_gdk_pixbuf_new_from_uri_at_scale
    from /usr/lib/libgnomeui-2.so.0
  • #20 gnome_thumbnail_factory_generate_thumbnail
    from /usr/lib/libgnomeui-2.so.0
  • #21 nautilus_marshal_BOOLEAN__POINTER
  • #22 start_thread
    from /lib/libpthread.so.0
  • #23 clone
    from /lib/libc.so.6
  • #24 ??

Comment 1 C W Whittle 2006-10-29 18:08:06 UTC
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.
Comment 2 Christian Kirbach 2006-10-29 18:23:08 UTC
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!
Comment 3 C W Whittle 2006-10-31 20:34:01 UTC
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

Thread 2 (Thread 1073875280 (LWP 21500))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 IA__g_slice_alloc
    at gslice.c line 427
  • #4 IA__g_string_sized_new
    at gstring.c line 268
  • #5 end_media
    at cr-om-parser.c line 466

Comment 4 Christian Kirbach 2006-11-02 12:21:06 UTC
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.

Comment 5 Vish 2010-07-04 20:36:50 UTC
Do you still have this problem with an up to date version of nautilus?
Comment 6 Cosimo Cecchi 2010-07-04 23:28:11 UTC
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).