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 329636 - rsvg_cairo_render segfault with some files
rsvg_cairo_render segfault with some files
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
2.13.x
Other All
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-02 16:45 UTC by Ilmari Heikkinen
Modified: 2006-02-03 04:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ilmari Heikkinen 2006-02-02 16:45:56 UTC
Steps to reproduce:
1. Download http://www.cs.helsinki.fi/u/irkheikk/rsvg_crash.tar.gz
2. make
3. ./rsvg_crash


Stack trace:
  • #0 rsvg_node_draw
    at rsvg-structure.c line 47
  • #1 _rsvg_node_draw_children
    at rsvg-structure.c line 73
  • #2 _rsvg_find_bbox
    at rsvg-base.c line 1123
  • #3 rsvg_handle_get_dimensions
    at rsvg-base.c line 1159
  • #4 rsvg_cairo_new_drawing_ctx
    at rsvg-cairo-render.c line 79
  • #5 rsvg_cairo_render_sub
    at rsvg-cairo-render.c line 133
  • #6 rsvg_cairo_render
    at rsvg-cairo-render.c line 154
  • #7 main


Other information:
Other file i've managed to crash rsvg_cairo_render with is
http://www.croczilla.com/svg/samples/butterfly/butterfly.svg
Comment 1 Dominic Lachowicz 2006-02-03 02:41:39 UTC
Neither image crashes rsvg here. Both render perfectly. Downgrading severity, but leaving open so I can double-check with Valgrind that nothing wonky is happening.
Comment 2 Caleb Moore 2006-02-03 03:43:03 UTC
Hmm, this thing seems to have something to do with the system used to find out the SVG's size. I'll Accept this one.
Comment 3 Caleb Moore 2006-02-03 03:53:30 UTC
Ok, the "only draw this part" system was causing the size finding system to crash. I fixed it now though.
Comment 4 Ilmari Heikkinen 2006-02-03 04:51:14 UTC
Thank you very much, just checked against the CVS and it's working great now.