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 145149 - Reproducible segfault with a SVG file
Reproducible segfault with a SVG file
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2004-06-29 16:17 UTC by Josselin Mouette
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The file that produces the segfault (4.58 KB, image/svg+xml)
2004-06-29 16:19 UTC, Josselin Mouette
Details

Description Josselin Mouette 2004-06-29 16:17:47 UTC
When using the SphereCrystal GTK+ theme with librsvg 2.7.2, all applications
segfault. The explication follows:

Starting program: /usr/bin/rsvg-view
/usr/share/themes/SphereCrystal/gtk-2.0/scrollbar_vertical.svg
(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 1091040096 (LWP 12361)]

Program received signal SIGSEGV, Segmentation fault.

Thread 1091040096 (LWP 12361)

  • #0 rsvg_start_filter_primitive_merge_node
    from /usr/lib/librsvg-2.so.2
  • #1 rsvg_filter_handler_start
    from /usr/lib/librsvg-2.so.2
  • #2 rsvg_start_element
    from /usr/lib/librsvg-2.so.2
  • #3 xmlParseStartTag
    from /usr/lib/libxml2.so.2
  • #4 xmlParseExtParsedEnt
    from /usr/lib/libxml2.so.2
  • #5 xmlParseChunk
    from /usr/lib/libxml2.so.2
  • #6 rsvg_handle_write_impl
    from /usr/lib/librsvg-2.so.2
  • #7 rsvg_handle_write
    from /usr/lib/librsvg-2.so.2
  • #8 rsvg_pixbuf_from_data_with_size_data
    from /usr/lib/librsvg-2.so.2
  • #9 main

Comment 1 Josselin Mouette 2004-06-29 16:19:06 UTC
Created attachment 29092 [details]
The file that produces the segfault
Comment 2 Dominic Lachowicz 2004-06-29 22:30:44 UTC
this is solely sodipodi's fault. you can't have a <feMergeNode> that is not
inside of a <feMerge> element. i've stopped the SEGV, but you need to file this
as a bug against sodipodi.

http://www.w3.org/TR/SVG/filters.html#feMergeNodeElement

    <filter
       id="edgeFuzz">
      <feGaussianBlur
         in="SourceGraphic"
         stdDeviation="1"
         result="MyBlur" />
      <feMergeNode
         in="SourceGraphic" />
    </filter>
Comment 3 Josselin Mouette 2004-06-29 22:52:13 UTC
Thanks for the quick fix!