CRASH: connector to node tool
In the lastest CVS. Create some rectangles. draw a connector between two and immediately switch to the node tool. creates the following output in gdb.
Aaron Spike
(gdb) run Starting program: /usr/local/inkscape/bin/inkscape [Thread debugging using libthread_db enabled] [New Thread -1222482112 (LWP 12057)]
** ERROR **: file connector-context.cpp: line 247 (void sp_connector_context_dis pose(GObject*)): assertion failed: (cc->newConnRef == NULL) aborting...
Program received signal SIGABRT, Aborted. [Switching to Thread -1222482112 (LWP 12057)] 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7296175 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb72977d8 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0xbfffe320 in ?? () #4 0x00000000 in ?? () #5 0x00000020 in ?? () Previous frame inner to this frame (corrupt stack?)
Here's a better stack trace of the cvs connector crash from my bleeding edge inkscape environment this evening. Reproduce as Aaron describes below.
Loaded system supplied DSO at 0x3cb000 Core was generated by `./inkscape'. Program terminated with signal 6, Aborted.
warning: svr4_current_sos: Can't read pathname for load map: Input/output error
Reading symbols from /home/jfm/gtkmm/lib/libgtkmm-2.4.so.1...done. Loaded symbols for /home/jfm/gtkmm/lib/libgtkmm-2.4.so.1 Reading symbols from /home/jfm/gtkmm/lib/libgdkmm-2.4.so.1...done. Loaded symbols for /home/jfm/gtkmm/lib/libgdkmm-2.4.so.1 Reading symbols from /home/jfm/gtkmm/lib/libatkmm-1.6.so.1...done. Loaded symbols for /home/jfm/gtkmm/lib/libatkmm-1.6.so.1 Reading symbols from /home/jfm/gtkmm/lib/libpangomm-1.4.so.1...done. Loaded symbols for /home/jfm/gtkmm/lib/libpangomm-1.4.so.1 Reading symbols from /home/jfm/gtkmm/lib/libglibmm-2.4.so.1...done. Loaded symbols for /home/jfm/gtkmm/lib/libglibmm-2.4.so.1 Reading symbols from /home/jfm/gtk-2.8/lib/libgtk-x11-2.0.so.0...done. Loaded symbols for /home/jfm/gtk-2.8/lib/libgtk-x11-2.0.so.0 Reading symbols from /home/jfm/gtk-2.8/lib/libgdk-x11-2.0.so.0...done. Loaded symbols for /home/jfm/gtk-2.8/lib/libgdk-x11-2.0.so.0 Reading symbols from /home/jfm/gtk-2.8/lib/libatk-1.0.so.0...done. Loaded symbols for /home/jfm/gtk-2.8/lib/libatk-1.0.so.0 Reading symbols from /home/jfm/gtk-2.8/lib/libgdk_pixbuf-2.0.so.0...done. Loaded symbols for /home/jfm/gtk-2.8/lib/libgdk_pixbuf-2.0.so.0 Reading symbols from /home/jfm/gtk-2.8/lib/libpangocairo-1.0.so.0...done. Loaded symbols for /home/jfm/gtk-2.8/lib/libpangocairo-1.0.so.0 Reading symbols from /home/jfm/cairo/lib/libcairo.so.2...done. Loaded symbols for /home/jfm/cairo/lib/libcairo.so.2 Reading symbols from /usr/X11R6/lib/libXext.so.6...done. Loaded symbols for /usr/X11R6/lib/libXext.so.6 Reading symbols from /home/jfm/gtkmm/lib/libpng12.so.0...done. Loaded symbols for /home/jfm/gtkmm/lib/libpng12.so.0 Reading symbols from /home/jfm/cairo/lib/libglitz.so.1...done. Loaded symbols for /home/jfm/cairo/lib/libglitz.so.1 Reading symbols from /usr/lib/libxslt.so.1...done. Loaded symbols for /usr/lib/libxslt.so.1 Reading symbols from /usr/lib/libxml2.so.2...done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /usr/lib/libsigc-2.0.so.0...done. Loaded symbols for /usr/lib/libsigc-2.0.so.0 Reading symbols from /home/jfm/gtkmm/lib/libpng.so.3...done. Loaded symbols for /home/jfm/gtkmm/lib/libpng.so.3 Reading symbols from /usr/lib/libpopt.so.0...done. Loaded symbols for /usr/lib/libpopt.so.0 Reading symbols from /usr/lib/libgnomevfs-2.so.0...done. Loaded symbols for /usr/lib/libgnomevfs-2.so.0 Reading symbols from /usr/lib/libbonobo-2.so.0...done. Loaded symbols for /usr/lib/libbonobo-2.so.0 Reading symbols from /usr/lib/libgconf-2.so.4...done. Loaded symbols for /usr/lib/libgconf-2.so.4 Reading symbols from /usr/lib/libbonobo-activation.so.4...done. Loaded symbols for /usr/lib/libbonobo-activation.so.4 Reading symbols from /usr/lib/libORBit-2.so.0...done. Loaded symbols for /usr/lib/libORBit-2.so.0 Reading symbols from /home/jfm/gtk-2.8/lib/libgthread-2.0.so.0...done. Loaded symbols for /home/jfm/gtk-2.8/lib/libgthread-2.0.so.0 Reading symbols from /usr/X11R6/lib/libXft.so.2...done. Loaded symbols for /usr/X11R6/lib/libXft.so.2 Reading symbols from /usr/X11R6/lib/libX11.so.6...done. Loaded symbols for /usr/X11R6/lib/libX11.so.6 Reading symbols from /usr/X11R6/lib/libXrender.so.1...done. Loaded symbols for /usr/X11R6/lib/libXrender.so.1 Reading symbols from /usr/lib/libfontconfig.so.1...done. Loaded symbols for /usr/lib/libfontconfig.so.1 Reading symbols from /home/jfm/gtk-2.8/lib/libpangoft2-1.0.so.0...done. Loaded symbols for /home/jfm/gtk-2.8/lib/libpangoft2-1.0.so.0 Reading symbols from /home/jfm/gtk-2.8/lib/libpango-1.0.so.0...done. Loaded symbols for /home/jfm/gtk-2.8/lib/libpango-1.0.so.0 Reading symbols from /home/jfm/gtk-2.8/lib/libgobject-2.0.so.0...done. Loaded symbols for /home/jfm/gtk-2.8/lib/libgobject-2.0.so.0 Reading symbols from /home/jfm/gtk-2.8/lib/libgmodule-2.0.so.0...done. Loaded symbols for /home/jfm/gtk-2.8/lib/libgmodule-2.0.so.0 Reading symbols from /home/jfm/gtk-2.8/lib/libglib-2.0.so.0...done. Loaded symbols for /home/jfm/gtk-2.8/lib/libglib-2.0.so.0 Reading symbols from /usr/lib/libfreetype.so.6...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so...done. Loaded symbols for /usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libutil.so.1...done. Loaded symbols for /lib/libutil.so.1 Reading symbols from /home/jfm/gtkmm/lib/libgc.so.1...done. Loaded symbols for /home/jfm/gtkmm/lib/libgc.so.1 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /usr/X11R6/lib/libXrandr.so.2...done. Loaded symbols for /usr/X11R6/lib/libXrandr.so.2 Reading symbols from /usr/X11R6/lib/libXinerama.so.1...done. Loaded symbols for /usr/X11R6/lib/libXinerama.so.1 Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done. Loaded symbols for /usr/X11R6/lib/libXcursor.so.1 Reading symbols from /usr/X11R6/lib/libXfixes.so.3...done. Loaded symbols for /usr/X11R6/lib/libXfixes.so.3 Reading symbols from /lib/libssl.so.5...done. Loaded symbols for /lib/libssl.so.5 Reading symbols from /lib/libcrypto.so.5...done. Loaded symbols for /lib/libcrypto.so.5 Reading symbols from /usr/lib/libgssapi_krb5.so.2...done. Loaded symbols for /usr/lib/libgssapi_krb5.so.2 Reading symbols from /usr/lib/libkrb5.so.3...done. Loaded symbols for /usr/lib/libkrb5.so.3 Reading symbols from /lib/libcom_err.so.2...done. Loaded symbols for /lib/libcom_err.so.2 Reading symbols from /usr/lib/libk5crypto.so.3...done. Loaded symbols for /usr/lib/libk5crypto.so.3 Reading symbols from /usr/lib/libhowl.so.0...done. Loaded symbols for /usr/lib/libhowl.so.0 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /usr/lib/libORBitCosNaming-2.so.0...done. Loaded symbols for /usr/lib/libORBitCosNaming-2.so.0 Reading symbols from /usr/lib/libexpat.so.0...done. Loaded symbols for /usr/lib/libexpat.so.0 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/libkrb5support.so.0...done. Loaded symbols for /usr/lib/libkrb5support.so.0 Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2...done. Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /usr/lib/gconv/ISO8859-1.so...done. Loaded symbols for /usr/lib/gconv/ISO8859-1.so Reading symbols from /home/jfm/gtk-2.8/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so...done. Loaded symbols for /home/jfm/gtk-2.8/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so Reading symbols from /home/jfm/gtk-2.8/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so...done. Loaded symbols for /home/jfm/gtk-2.8/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so Reading symbols from /home/jfm/gtk-2.8/lib/pango/1.4.0/modules/pango-basic-fc.so...done. Loaded symbols for /home/jfm/gtk-2.8/lib/pango/1.4.0/modules/pango-basic-fc.so #0 0x003cb402 in __kernel_vsyscall () (gdb) where #0 0x003cb402 in __kernel_vsyscall () #1 0x05d3b118 in raise () from /lib/libc.so.6 #2 0x05d3c888 in abort () from /lib/libc.so.6 #3 0x08141e84 in inkscape_segv_handler (signum=11) at inkscape.cpp:403 #4 <signal handler called> #5 0x00000000 in ?? () #6 0x08141c02 in inkscape_segv_handler (signum=6) at inkscape.cpp:571 #7 <signal handler called> #8 0x003cb402 in __kernel_vsyscall () #9 0x05d3b118 in raise () from /lib/libc.so.6 #10 0x05d3c888 in abort () from /lib/libc.so.6 #11 0x0065f55f in IA__g_logv (log_domain=Variable "log_domain" is not available.) at gmessages.c:497 #12 0x0065f587 in IA__g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, format=0x682fa0 "file %s: line %d (%s): assertion failed: (%s)") at gmessages.c:517 #13 0x0065f5dc in IA__g_assert_warning (log_domain=0x0, file=0x84d955a "connector-context.cpp", line=247, pretty_function=0x85d5ba0 "void sp_connector_context_dispose(GObject*)", expression=0x84d9543 "cc->newConnRef == NULL") at gmessages.c:552 #14 0x081be345 in sp_connector_context_dispose (object=Variable "object" is not available. ) at connector-context.cpp:247 #15 0x004b2bf8 in IA__g_object_unref (_object=0xaccfaf8) at gobject.c:1674 #16 0x081c7145 in sp_desktop_set_event_context (dt=0xa1c96b8, type=181075280, ---Type <return> to continue, or q <return> to quit--- config=0x84d383d "tools.nodes") at desktop.cpp:746 #17 0x081af46f in tools_switch (dt=0xa1c96b8, num=2) at tools-switch.cpp:137 #18 0x081afcaf in tools_switch_current (num=2) at tools-switch.cpp:221 #19 0x082f0eaa in sp_action_perform (action=0xa2104b0, data=0x0) at helper/action.cpp:150 #20 0x004bb856 in IA__g_cclosure_marshal_VOID__VOID (closure=0xa230148, return_value=0x0, n_param_values=1, param_values=0xbfe347dc, invocation_hint=0xbfe346dc, marshal_data=0x82ca89c) at gmarshal.c:77 #21 0x004b093a in IA__g_closure_invoke (closure=0xa230148, return_value=0x0, n_param_values=1, param_values=0xbfe347dc, invocation_hint=0xbfe346dc) at gclosure.c:492 #22 0x004beed6 in signal_emit_unlocked_R (node=0xa0c2d08, detail=0, instance=0xa2300b8, emission_return=0x0, instance_and_params=0xbfe347dc) at gsignal.c:2555 #23 0x004bfe1b in IA__g_signal_emit_valist (instance=0xa2300b8, signal_id=101, detail=0, var_args=Variable "var_args" is not available. ) at gsignal.c:2244 #24 0x004c01bb in IA__g_signal_emit (instance=0xa2300b8, signal_id=101, detail=0) at gsignal.c:2288 #25 0x00b444b7 in IA__gtk_button_clicked (button=0xa2300b8) at gtkbutton.c:834 #26 0x00c821c5 in gtk_toggle_button_released (button=0xa2300b8) at gtktogglebutton.c:462 #27 0x004bb856 in IA__g_cclosure_marshal_VOID__VOID (closure=0xa0c2c30, return_value=0x0, n_param_values=1, param_values=0xbfe34cbc, ---Type <return> to continue, or q <return> to quit--- invocation_hint=0xbfe34bbc, marshal_data=0xc82184) at gmarshal.c:77 #28 0x004b0351 in g_type_class_meta_marshal (closure=0xa0c2c30, return_value=0x0, n_param_values=1, param_values=0xbfe34cbc, invocation_hint=0xbfe34bbc, marshal_data=0x0) at gclosure.c:569 #29 0x004b093a in IA__g_closure_invoke (closure=0xa0c2c30, return_value=0x0, n_param_values=1, param_values=0xbfe34cbc, invocation_hint=0xbfe34bbc) at gclosure.c:492 #30 0x004be417 in signal_emit_unlocked_R (node=0xa0c2c78, detail=0, instance=0xa2300b8, emission_return=0x0, instance_and_params=0xbfe34cbc) at gsignal.c:2415 #31 0x004bfe1b in IA__g_signal_emit_valist (instance=0xa2300b8, signal_id=100, detail=0, var_args=Variable "var_args" is not available. ) at gsignal.c:2244 #32 0x004c01bb in IA__g_signal_emit (instance=0xa2300b8, signal_id=100, detail=0) at gsignal.c:2288 #33 0x00b4443b in IA__gtk_button_released (button=0xa2300b8) at gtkbutton.c:826 #34 0x00b45203 in gtk_button_button_release (widget=0xa2300b8, event=0xa1951c4) at gtkbutton.c:1262 #35 0x00bf3c73 in _gtk_marshal_BOOLEAN__BOXED (closure=0xa0c2570, return_value=0xbfe350b0, n_param_values=2, param_values=0xbfe3519c, invocation_hint=0xbfe3509c, marshal_data=0xb451e0) at gtkmarshalers.c:83 #36 0x004b0351 in g_type_class_meta_marshal (closure=0xa0c2570, return_value=0xbfe350b0, n_param_values=2, param_values=0xbfe3519c, invocation_hint=0xbfe3509c, marshal_data=0x0) at gclosure.c:569 ---Type <return> to continue, or q <return> to quit--- #37 0x004b093a in IA__g_closure_invoke (closure=0xa0c2570, return_value=0xbfe350b0, n_param_values=2, param_values=0xbfe3519c, invocation_hint=0xbfe3509c) at gclosure.c:492 #38 0x004becef in signal_emit_unlocked_R (node=0xa0c2708, detail=0, instance=0xa2300b8, emission_return=0xbfe3531c, instance_and_params=0xbfe3519c) at gsignal.c:2523 #39 0x004bfbe4 in IA__g_signal_emit_valist (instance=0xa2300b8, signal_id=44, detail=0, var_args=0xbfe353a0 "\uffffS\u3ff0\uffff\b\n\uffffS\u3ff9V\uffff") at gsignal.c:2254 #40 0x004c01bb in IA__g_signal_emit (instance=0xa2300b8, signal_id=44, detail=0) at gsignal.c:2288 #41 0x00cc5812 in gtk_widget_event_internal (widget=0xa2300b8, event=0xa1951c4) at gtkwidget.c:3735 #42 0x00bf2443 in IA__gtk_propagate_event (widget=0xa2300b8, event=0xa1951c4) at gtkmain.c:2160 #43 0x00bf2848 in IA__gtk_main_do_event (event=0xa1951c4) at gtkmain.c:1397 #44 0x001cf1fd in gdk_event_dispatch (source=0x0, callback=0, user_data=0x0) at gdkevents-x11.c:2291 #45 0x006567f2 in IA__g_main_context_dispatch (context=0xa083168) at gmain.c:1934 #46 0x006595c2 in g_main_context_iterate (context=0xa083168, block=1, dispatch=1, self=0xa09d310) at gmain.c:2565 #47 0x00659ac3 in IA__g_main_loop_run (loop=0xa368360) at gmain.c:2769 #48 0x00bf1bfd in IA__gtk_main () at gtkmain.c:976 ---Type <return> to continue, or q <return> to quit--- #49 0x009d9d66 in Gtk::Main::run_impl (this=0xbfe355e4) at main.cc:503 #50 0x009d9c4d in Gtk::Main::run () at main.cc:450 #51 0x08134dda in sp_main_gui (argc=1, argv=0xbfe35704) at main.cpp:769 #52 0x08214512 in Inkscape::NSApplication::Application::run (this=0xbfe3564c) at application/application.cpp:134 #53 0x08134754 in main (argc=1, argv=0xbfe35704) at main.cpp:642 (gdb)
aaron@...749... wrote:
In the lastest CVS. Create some rectangles. draw a connector between two and immediately switch to the node tool. creates the following output in gdb.
Aaron Spike
(gdb) run Starting program: /usr/local/inkscape/bin/inkscape [Thread debugging using libthread_db enabled] [New Thread -1222482112 (LWP 12057)]
** ERROR **: file connector-context.cpp: line 247 (void sp_connector_context_dis pose(GObject*)): assertion failed: (cc->newConnRef == NULL) aborting...
Program received signal SIGABRT, Aborted. [Switching to Thread -1222482112 (LWP 12057)] 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7296175 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb72977d8 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0xbfffe320 in ?? () #4 0x00000000 in ?? () #5 0x00000020 in ?? () Previous frame inner to this frame (corrupt stack?)
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Sat, 3 Sep 2005 aaron@...749... wrote:
In the lastest CVS. Create some rectangles. draw a connector between two and immediately switch to the node tool. creates the following output in gdb.
** ERROR **: file connector-context.cpp: line 247 (void sp_connector_context_dispose(GObject*)): assertion failed: (cc->newConnRef == NULL)
Ah, the assertion did it's job. Sorry about that. Fixed now in CVS.
Michael
participants (3)
-
unknown@example.com
-
inkblotter
-
Michael Wybrow