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 145426 - svg icon(s) crashes gtk file selector and nautilus at certain zoom levels.
svg icon(s) crashes gtk file selector and nautilus at certain zoom levels.
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
unspecified
Other Linux
: High critical
: ---
Assigned To: librsvg maintainers
librsvg maintainers
: 145852 145952 148329 149233 150238 150697 150888 151132 151221 151616 154448 155289 156665 158808 158974 159349 159893 160947 161379 162578 165433 165935 327370 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-07-05 00:05 UTC by Juha Sahakangas
Modified: 2006-01-21 14:35 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Troublesome icon causing a crash (19.95 KB, image/svg+xml)
2004-07-05 00:09 UTC, Juha Sahakangas
Details

Description Juha Sahakangas 2004-07-05 00:05:38 UTC
1. save the attached svg file somewhere
2. set it as custom icon for some file or mime-type
3. if that doesn't cause crash, zoom out in nautilus until it occurs, or (if
it's a mime-type icon) list the contents of folder in gtk file selector

Bugzilla is also missing versions 2.6.x and 2.7.x for librsvg.
Comment 1 Juha Sahakangas 2004-07-05 00:09:34 UTC
Created attachment 29225 [details]
Troublesome icon causing a crash

Error message from nautilus:
Specification mandate value for attribute xlink:hre
attributes construct error
Couldn't find end of Start Tag linearGradient
nautilus: art_render_gradient.c:337: art_render_gradient_linear_render_8:
Assertion `(stops[ix-1].offset <= offset_fraction + 1e-6) || ((stops[ix].offset
> (1.0 - 1e-6)) && (offset _fraction < 1e-6 ))' failed.

And file selector:
art_render_invoke: no image source given
gedit: art_render_gradient.c:337: art_render_gradient_linear_render_8:
Assertion `(stops[ix-1].offset <= offset_fraction + 1e-6) || ((stops[ix].offset
> (1.0 - 1e-6)) && (offset_fraction < 1e-6 ))' failed.

Stack trace:
Backtrace was generated from '/usr/bin/nautilus'

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/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)...[Thread debugging using libthread_db
enabled]
[New Thread -150555392 (LWP 22200)]
[New Thread 26426288 (LWP 22208)]
[Thread debugging using libthread_db enabled]
[New Thread -150555392 (LWP 22200)]
[New Thread 26426288 (LWP 22208)]
[Thread debugging using libthread_db enabled]
[New Thread -150555392 (LWP 22200)]
[New Thread 26426288 (LWP 22208)]
[New Thread 26160048 (LWP 22207)]
[New Thread 25893808 (LWP 22206)]
[New Thread 25627568 (LWP 22205)]
[New Thread 25361328 (LWP 22204)]
[New Thread 114076592 (LWP 22203)]
[New Thread 6540208 (LWP 22202)]
[New Thread 25095088 (LWP 22201)]
(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)...(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)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...0x00d35402 in ?? ()

Thread 1 (Thread -150555392 (LWP 22200))

  • #0 ??
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 ??
  • #5 raise
    from /lib/tls/libc.so.6
  • #6 abort
    from /lib/tls/libc.so.6
  • #7 __assert_fail
    from /lib/tls/libc.so.6
  • #8 art_render_image_solid
    from /usr/lib/libart_lgpl_2.so.2
  • #9 art_render_invoke_callbacks
    from /usr/lib/libart_lgpl_2.so.2
  • #10 art_render_mask
    from /usr/lib/libart_lgpl_2.so.2
  • #11 art_svp_render_aa
    from /usr/lib/libart_lgpl_2.so.2
  • #12 art_render_mask
    from /usr/lib/libart_lgpl_2.so.2
  • #13 art_render_invoke
    from /usr/lib/libart_lgpl_2.so.2
  • #14 rsvg_pixbuf_from_file_at_max_size
    from /usr/lib/librsvg-2.so.2
  • #15 rsvg_pixbuf_from_file_at_max_size
    from /usr/lib/librsvg-2.so.2
  • #16 rsvg_render_path
    from /usr/lib/librsvg-2.so.2
  • #17 rsvg_handle_path
    from /usr/lib/librsvg-2.so.2
  • #18 rsvg_start_path
    from /usr/lib/librsvg-2.so.2
  • #19 rsvg_radial_gradient_free
    from /usr/lib/librsvg-2.so.2
  • #20 xmlParseStartTag
    from /usr/lib/libxml2.so.2
  • #21 xmlParseExtParsedEnt
    from /usr/lib/libxml2.so.2
  • #22 xmlParseChunk
    from /usr/lib/libxml2.so.2
  • #23 rsvg_handle_write_impl
    from /usr/lib/librsvg-2.so.2
  • #24 rsvg_handle_write
    from /usr/lib/librsvg-2.so.2
  • #25 rsvg_parse_path
    from /usr/lib/librsvg-2.so.2
  • #26 rsvg_pixbuf_from_file_at_zoom_with_max
    from /usr/lib/librsvg-2.so.2
  • #27 nautilus_icon_factory_get_emblem_icons_for_file
    from /usr/lib/libnautilus-private.so.2
  • #28 nautilus_icon_factory_get_emblem_icons_for_file
    from /usr/lib/libnautilus-private.so.2
  • #29 nautilus_icon_factory_get_emblem_icons_for_file
    from /usr/lib/libnautilus-private.so.2
  • #30 nautilus_icon_factory_get_emblem_icons_for_file
    from /usr/lib/libnautilus-private.so.2
  • #31 nautilus_icon_factory_get_emblem_icons_for_file
    from /usr/lib/libnautilus-private.so.2
  • #32 nautilus_get_icon_size_for_zoom_level
    from /usr/lib/libnautilus-private.so.2
  • #33 nautilus_icon_factory_get_pixbuf_for_file_force_size
    from /usr/lib/libnautilus-private.so.2
  • #34 ??
  • #0 ??

Comment 2 Elijah Newren 2004-07-09 04:55:26 UTC
Thanks for the bug report.  The stack trace matches the one in bug 143630, which
has been marked as a duplicate of 122093.  So, this should be a duplicate, but
that was marked as fixed before this version.  So I'll bump up the priority and
mark as new.  Thanks for providing the troublesome icon.  I'm adding the
bugsquad keyword as well...
Comment 3 Dominic Lachowicz 2004-07-09 12:32:32 UTC
i get the same assert (but a slightly different backtrace) when running
'rsvg-view -x .5 -y .5 foo.svg' on this SVG, but not on any other SVG in
librsvg's testsuite. 

turned out to be a divide by 0 bug, fixed.
Comment 4 Vincent Noel 2004-08-04 17:58:57 UTC
*** Bug 149233 has been marked as a duplicate of this bug. ***
Comment 5 Martin Wehner 2004-08-21 14:04:59 UTC
*** Bug 150697 has been marked as a duplicate of this bug. ***
Comment 6 Martin Wehner 2004-08-21 14:07:11 UTC
*** Bug 150238 has been marked as a duplicate of this bug. ***
Comment 7 Martin Wehner 2004-08-21 14:13:30 UTC
*** Bug 145952 has been marked as a duplicate of this bug. ***
Comment 8 Martin Wehner 2004-08-21 14:14:07 UTC
*** Bug 145852 has been marked as a duplicate of this bug. ***
Comment 9 Martin Wehner 2004-08-24 18:49:07 UTC
*** Bug 150888 has been marked as a duplicate of this bug. ***
Comment 10 Vincent Noel 2004-08-26 14:40:44 UTC
*** Bug 151132 has been marked as a duplicate of this bug. ***
Comment 11 Vincent Noel 2004-08-30 17:51:30 UTC
*** Bug 151221 has been marked as a duplicate of this bug. ***
Comment 12 Vincent Noel 2004-09-16 16:00:26 UTC
*** Bug 151616 has been marked as a duplicate of this bug. ***
Comment 13 Vincent Noel 2004-10-04 18:24:24 UTC
*** Bug 154448 has been marked as a duplicate of this bug. ***
Comment 14 Vincent Noel 2004-10-05 18:50:00 UTC
*** Bug 154349 has been marked as a duplicate of this bug. ***
Comment 15 Dominic Lachowicz 2004-10-13 12:10:39 UTC
*** Bug 148329 has been marked as a duplicate of this bug. ***
Comment 16 Vincent Noel 2004-10-13 17:25:04 UTC
*** Bug 155289 has been marked as a duplicate of this bug. ***
Comment 17 Elijah Newren 2004-10-28 13:50:57 UTC
*** Bug 156665 has been marked as a duplicate of this bug. ***
Comment 18 Elijah Newren 2004-11-20 14:17:18 UTC
*** Bug 158808 has been marked as a duplicate of this bug. ***
Comment 19 Matthew Gatto 2004-11-23 06:16:15 UTC
*** Bug 158974 has been marked as a duplicate of this bug. ***
Comment 20 Martin Wehner 2004-12-08 21:47:58 UTC
*** Bug 159893 has been marked as a duplicate of this bug. ***
Comment 21 Vincent Noel 2004-12-10 19:02:02 UTC
*** Bug 160947 has been marked as a duplicate of this bug. ***
Comment 22 Vincent Noel 2004-12-15 15:54:55 UTC
*** Bug 161379 has been marked as a duplicate of this bug. ***
Comment 23 Olav Vitters 2004-12-30 21:05:00 UTC
*** Bug 162578 has been marked as a duplicate of this bug. ***
Comment 24 Vincent Noel 2005-01-27 15:01:26 UTC
*** Bug 163663 has been marked as a duplicate of this bug. ***
Comment 25 Martin Wehner 2005-01-27 19:20:37 UTC
*** Bug 165433 has been marked as a duplicate of this bug. ***
Comment 26 Elijah Newren 2005-02-02 05:10:31 UTC
*** Bug 165935 has been marked as a duplicate of this bug. ***
Comment 27 Sebastien Bacher 2005-02-03 14:15:11 UTC
*** Bug 159349 has been marked as a duplicate of this bug. ***
Comment 28 Martin Wehner 2006-01-21 14:35:17 UTC
*** Bug 327370 has been marked as a duplicate of this bug. ***