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 654642 - SVG with text as clippath crashes Nautilus
SVG with text as clippath crashes Nautilus
Status: RESOLVED DUPLICATE of bug 621088
Product: librsvg
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-14 20:10 UTC by Krzysztof Kosiński
Modified: 2017-09-01 13:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
SVG file which crashes Nautilus (3.46 KB, image/svg+xml)
2011-07-14 20:10 UTC, Krzysztof Kosiński
Details
Inkscape rendering (11.85 KB, image/png)
2012-09-23 20:08 UTC, Emmanuel Pacaud
Details

Description Krzysztof Kosiński 2011-07-14 20:10:22 UTC
Created attachment 191996 [details]
SVG file which crashes Nautilus

Nautilus 2.32.2, librsvg 2.32.1

1. Put the attached file in some directory
2. Enable image thumbnailing
3. Navigate to it with Nautilus
4. Crash

The file contains a text element inside the clipping path.
Comment 1 Akhil Laddha 2011-07-15 05:15:07 UTC
Can you please provide stack trace ? 
Please see http://live.gnome.org/GettingTraces for more information, tia.
Comment 2 Krzysztof Kosiński 2011-07-15 05:58:49 UTC
Yes, if someone can direct me to some up to date info on how to prevent nautilus from automatically respawning whenever I kill it.
https://bugzilla.gnome.org/show_bug.cgi?id=548488
Comment 3 Cosimo Cecchi 2011-07-21 19:32:49 UTC
-> librsvg

It crashes in librsvg.

Here's a backtrace:

  • #0 free
    from /lib64/libc.so.6
  • #1 rsvg_bpath_def_free
    at rsvg-bpath-util.c line 80
  • #2 _rsvg_node_rect_draw
    at rsvg-shapes.c line 445
  • #3 rsvg_node_draw
    at rsvg-structure.c line 69
  • #4 _rsvg_node_draw_children
    at rsvg-structure.c line 87
  • #5 rsvg_node_draw
    at rsvg-structure.c line 69
  • #6 rsvg_node_svg_draw
    at rsvg-structure.c line 326
  • #7 rsvg_node_draw
    at rsvg-structure.c line 69
  • #8 rsvg_handle_render_cairo_sub
    at rsvg-cairo-render.c line 234
  • #9 rsvg_handle_get_pixbuf_sub
    at rsvg.c line 101
  • #10 gdk_pixbuf__svg_image_stop_load
    at io-svg.c line 154
  • #11 gdk_pixbuf_loader_close
    at gdk-pixbuf-loader.c line 787
  • #12 _gdk_pixbuf_new_from_uri_at_scale
    at gnome-desktop-thumbnail.c line 399
  • #13 gnome_desktop_thumbnail_factory_generate_thumbnail
    at gnome-desktop-thumbnail.c line 1179
  • #14 thumbnail_thread_start
    at nautilus-thumbnails.c line 726
  • #15 start_thread
    from /lib64/libpthread.so.0
  • #16 clone
    from /lib64/libc.so.6

Comment 4 Christian Persch 2011-09-06 11:09:38 UTC
Confirmed with librsvg 2.34.1.
Comment 5 Christian Persch 2011-09-07 17:35:11 UTC
Valgrinding shows the problem to be at a different place, the same one as bug 630733.
Comment 6 Christian Persch 2011-11-07 22:06:53 UTC
The crash is fixed on master, but the rendering may be not correct; can you check?
Comment 7 André Klapper 2012-01-29 13:38:26 UTC
Krzysztof: Any chance that you could compile and check whether the rendering is correct?
Comment 8 Emmanuel Pacaud 2012-09-23 20:08:05 UTC
I've just tested librsvg master. Rendering differs from what gives lasem, firefox, squiggle or inkscape.
Comment 9 Emmanuel Pacaud 2012-09-23 20:08:38 UTC
Created attachment 225034 [details]
Inkscape rendering
Comment 10 Federico Mena Quintero 2017-09-01 13:41:56 UTC

*** This bug has been marked as a duplicate of bug 621088 ***