Comment 0 for bug 1309050

Revision history for this message
Sergio Benjamim (sergio-br2) wrote : inkscape bzr 13290 crashes when trying to edit a gradient position

Trying to edit a gradient position, when I move it and undo, then inkscape crashes. The file I'm trying to edit is attached.

(inkscape:4023): Gtk-CRITICAL **: IA__gtk_widget_get_visible: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:4023): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed

Program received signal SIGSEGV, Segmentation fault.
Geom::Point::operator*= (this=this@entry=0x7fffffffdf60, m=...) at 2geom/point.cpp:209
209 _pt[i] = x * m[i] + y * m[i + 2] + m[i + 4];
(gdb) bt
#0 Geom::Point::operator*= (this=this@entry=0x7fffffffdf60, m=...) at 2geom/point.cpp:209
#1 0x00000000004928c3 in operator* (rhs=..., lhs=...) at ./2geom/utils.h:58
#2 SPDesktop::w2d (this=<optimized out>, p=...) at desktop.cpp:1798
#3 0x00000000004f2a4d in sp_knot_handler_request_position (event=0x5e542e0, knot=0x2f5cdb0) at knot.cpp:355
#4 0x00000000009ff606 in Inkscape::UI::Tools::sp_event_context_snap_watchdog_callback (data=0x6271cf0,
    data@entry=<error reading variable: value has been optimized out>) at ui/tools/tool-base.cpp:1366
#5 0x00007ffff2032f13 in g_timeout_dispatch (source=source@entry=0x64dc370, callback=<optimized out>, user_data=<optimized out>)
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:4450
#6 0x00007ffff20323b6 in g_main_dispatch (context=0x12a9f30) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3065
#7 g_main_context_dispatch (context=context@entry=0x12a9f30) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3641
#8 0x00007ffff2032708 in g_main_context_iterate (context=0x12a9f30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3712
#9 0x00007ffff2032b0a in g_main_loop_run (loop=0x3136d00) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3906
#10 0x00007ffff6bd2277 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#11 0x00000000004743ac in sp_main_gui (argc=1, argv=0x7fffffffe3b8) at main.cpp:1075
#12 0x00007ffff1208de5 in __libc_start_main (main=0x458470 <main(int, char**)>, argc=1, ubp_av=0x7fffffffe3b8, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffe3a8) at libc-start.c:260
#13 0x0000000000470caf in _start ()