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 122093 - crash on startup: gedit: art_render_gradient.c:342: art_render_gradient_linear_render_8: Assertion `fabs (offset_fraction - stops[ix].offset) > 1e-6 || (d_offset <= 0.0)' failed.
crash on startup: gedit: art_render_gradient.c:342: art_render_gradient_linea...
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Paolo Maggi
gedit QA volunteers
: 120115 121409 124826 143630 147047 148900 159162 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-09-12 09:05 UTC by Matt Jones
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Matt Jones 2003-09-12 09:05:06 UTC
Description of Problem:
crash upon start: gedit:
art_render_gradient.c:342:
art_render_gradient_linear_render_8: Assertion
`fabs (offset_fraction - stops[ix].offset) > 1e-6
|| (d_offset <= 0.0)' failed.

Steps to reproduce the problem:
1. start from cl and launcher.
2. 
3. 

Actual Results:
crash on startup with above error

Expected Results:
crash on startup with above error

How often does this happen? 
every time

Additional Information:
RH9 box. gedit-2.4.0-1
Comment 1 Eric Ritezel 2003-09-13 20:10:42 UTC
Matt: which version of libart are you using?

The problem you are describing is (somewhat) identical to bug 
116942.  Note that (via Dave Camp) this should be fixed in libart 
2.3.14.
Comment 2 Matt Jones 2003-09-15 08:00:05 UTC
Hi Eric

Im currently using 2.3.15;

root@dhcp2959> rpm -qa | grep libart
libart_lgpl-2.3.15-1
libart_lgpl-devel-2.3.15-1

Comment 3 Paolo Maggi 2003-09-15 15:01:38 UTC
Matt: could you please attach a stack trace? 
Read http://bugzilla.gnome.org/getting-traces.cgi for more info on
getting a stack trace.
Comment 4 Matt Jones 2003-09-16 08:54:36 UTC
One stack trace;

(gdb) thread apply all bt
 

Thread 1 (Thread 1091958048 (LWP 2321))

  • #0 ??
  • #1 abort
    from /lib/tls/libc.so.6
  • #2 __assert_fail
    from /lib/tls/libc.so.6
  • #3 art_render_image_solid
    from /usr/lib/libart_lgpl_2.so.2
  • #4 art_render_invoke_callbacks
    from /usr/lib/libart_lgpl_2.so.2
  • #5 art_render_mask
    from /usr/lib/libart_lgpl_2.so.2
  • #6 art_svp_render_aa
    from /usr/lib/libart_lgpl_2.so.2
  • #7 art_render_mask
    from /usr/lib/libart_lgpl_2.so.2
  • #8 art_render_invoke
    from /usr/lib/libart_lgpl_2.so.2
  • #9 rsvg_pixbuf_from_file_at_max_size
    from /usr/lib/librsvg-2.so.2
  • #10 rsvg_pixbuf_from_file_at_max_size
    from /usr/lib/librsvg-2.so.2
  • #11 rsvg_render_path
    from /usr/lib/librsvg-2.so.2
  • #12 rsvg_render_path
    from /usr/lib/librsvg-2.so.2
  • #13 rsvg_start_path
    from /usr/lib/librsvg-2.so.2
  • #14 rsvg_radial_gradient_free
    from /usr/lib/librsvg-2.so.2
  • #15 xmlParseStartTag
    from /usr/lib/libxml2.so.2
  • #16 xmlParseExtParsedEnt
    from /usr/lib/libxml2.so.2
  • #17 xmlParseChunk
    from /usr/lib/libxml2.so.2
  • #18 rsvg_handle_write_impl
    from /usr/lib/librsvg-2.so.2
  • #19 rsvg_handle_write
    from /usr/lib/librsvg-2.so.2
  • #20 _init
    from /usr/lib/gtk-2.0/2.2.0/loaders/svg_loader.so
  • #21 _gdk_pixbuf_generic_image_load
    from /usr/lib/libgdk_pixbuf-2.0.so.0
  • #22 gdk_pixbuf_new_from_file
    from /usr/lib/libgdk_pixbuf-2.0.so.0
  • #23 egg_recent_util_escape_underlines
  • #24 egg_recent_util_get_icon
  • #25 egg_recent_view_bonobo_get_type
  • #26 egg_recent_view_bonobo_get_type
  • #27 egg_recent_view_bonobo_get_type
  • #28 g_cclosure_marshal_VOID__POINTER
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #33 egg_recent_model_changed
  • #34 egg_recent_view_bonobo_get_type
  • #35 egg_recent_view_set_model
  • #36 gedit_mdi_get_type
  • #37 gedit_mdi_new
  • #38 g_cclosure_marshal_VOID__OBJECT
    from /usr/lib/libgobject-2.0.so.0
  • #39 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #40 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #43 bonobo_mdi_move_view_to_new_window
  • #44 bonobo_mdi_move_view_to_new_window
  • #45 bonobo_mdi_open_toplevel
  • #46 main
  • #47 __libc_start_main
    from /lib/tls/libc.so.6

While looking at this I started playing with my icon setting. I
current use the coolGorilla icon theme from gnome-themes-extras-0.3-2,
setting this back to say crux or industrail (from
ximian-artwork-0.2.26-0.ximian.6.1) and the crash does not happen.
Comment 5 Paolo Maggi 2003-09-16 11:55:00 UTC
I think it is a librsvg bug or a gnome-themes-extras.
Comment 6 Matt Jones 2003-09-17 08:18:30 UTC
This is now fixed with updated librsvg libs

root@dhcp2959> rpm -qa | grep librsvg
librsvg2-devel-2.4.0-1
librsvg-devel-1.0.2-8
librsvg2-2.4.0-1
librsvg-1.0.2-8

Gedit works again.
Comment 7 mwehner 2003-09-27 21:03:05 UTC
*** Bug 121409 has been marked as a duplicate of this bug. ***
Comment 8 mwehner 2003-09-27 21:05:24 UTC
*** Bug 120115 has been marked as a duplicate of this bug. ***
Comment 9 mwehner 2003-10-18 14:29:49 UTC
*** Bug 124826 has been marked as a duplicate of this bug. ***
Comment 10 Christian Fredrik Kalager Schaller 2003-11-16 15:47:18 UTC
Closing as fixed per Matts comment.
Comment 11 Martin Wehner 2004-06-12 15:43:47 UTC
*** Bug 143630 has been marked as a duplicate of this bug. ***
Comment 12 Elijah Newren 2004-07-09 17:15:57 UTC
*** Bug 147047 has been marked as a duplicate of this bug. ***
Comment 13 Olav Vitters 2004-07-30 22:41:44 UTC
*** Bug 148900 has been marked as a duplicate of this bug. ***
Comment 14 Matthew Gatto 2004-11-23 22:56:18 UTC
*** Bug 159162 has been marked as a duplicate of this bug. ***