SIGABRT while connecting shapes with connector tool

Bug #612756 reported by dopelover
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Michael Wybrow

Bug Description

Steps to reproduce:

1) Open atttached file
2) Click on conector tool or Ctrl+F2
3) Try to connect the bigger star with the smaller one. Inkscape should crash.

This issue concerns Inkscape 0.48+devel r9675. Inkscape 0.47 doesn't crash.

-----------Backtrace----------------
[New Thread 0xb7404b70 (LWP 4218)]
inkscape: /usr/include/boost/optional/optional.hpp:578: typename boost::optional_detail::optional_base<T>::reference_type boost::optional<T>::get() [with T = Geom::Point]: Assertion `this->is_initialized()' failed.

Program received signal SIGABRT, Aborted.
0x0012d422 in __kernel_vsyscall ()
(gdb) bt
#0 0x0012d422 in __kernel_vsyscall ()
#1 0x01be3651 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0x01be6a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0x01bdc718 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4 0x085442a1 in boost::optional<Geom::Point>::get (cc=0xabbfd40,
    item=0xabbfd48) at /usr/include/boost/optional/optional.hpp:578
#5 boost::optional<Geom::Point>::operator* (cc=0xabbfd40, item=0xabbfd48)
    at /usr/include/boost/optional/optional.hpp:594
#6 cc_set_active_conn (cc=0xabbfd40, item=0xabbfd48)
    at connector-context.cpp:1830
#7 0x080ce40d in sigc::internal::signal_emit1<void, Inkscape::Selection*, sigc::nil>::emit (this=0x8fe7b80, persist_selection_context=false)
    at /usr/include/sigc++-2.0/sigc++/signal.h:1010
#8 sigc::signal1<void, Inkscape::Selection*, sigc::nil>::emit (
    this=0x8fe7b80, persist_selection_context=false)
    at /usr/include/sigc++-2.0/sigc++/signal.h:2777
#9 Inkscape::Selection::_emitChanged (this=0x8fe7b80,
    persist_selection_context=false) at selection.cpp:106
#10 0x0854331b in Inkscape::Selection::set (cc=0xabbfd40) at selection.h:118
#11 spcc_flush_white (cc=0xabbfd40) at connector-context.cpp:1474
#12 spcc_concat_colors_and_flush (cc=0xabbfd40) at connector-context.cpp:1387
#13 spcc_connector_finish (cc=0xabbfd40) at connector-context.cpp:1506
#14 0x0854524c in connector_handle_button_release (cc=0xabbfd40,
---Type <return> to continue, or q <return> to quit---
    revent=<value optimized out>) at connector-context.cpp:1056
#15 0x085466e5 in sp_connector_context_root_handler (ec=0xabbfd40,
    event=0xb33a068) at connector-context.cpp:720
#16 0x08096271 in sp_event_context_virtual_root_handler (
    event_context=0xabbfd40, event=0xb33a068) at event-context.cpp:940
#17 0x08551c27 in sp_desktop_root_handler (event=0xb33a068, desktop=0x8fe8db0)
    at desktop-events.cpp:67
#18 0x0825e7b8 in sp_marshal_BOOLEAN__POINTER (closure=0x9980dc0,
    return_value=0xbfffeafc, n_param_values=2, param_values=0xac50f18,
    invocation_hint=0xbfffe9a0, marshal_data=0x8551bf0)
    at helper/sp-marshal.cpp:122
#19 0x01953252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0x0196799d in ?? () from /usr/lib/libgobject-2.0.so.0
#21 0x01968c33 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#22 0x009699de in gtk_signal_emit () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x081cf857 in emit_event (canvas=<value optimized out>,
    event=<value optimized out>) at display/sp-canvas.cpp:1364
#24 0x081d14c7 in sp_canvas_button (widget=0x991d0e0, event=0xb339558)
    at display/sp-canvas.cpp:1570
#25 0x007d3424 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x019518b9 in ?? () from /usr/lib/libgobject-2.0.so.0
#27 0x01953252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#28 0x019675e6 in ?? () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#29 0x01968c33 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#30 0x01969256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#31 0x00900636 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x007cba5d in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#33 0x007cce07 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x017ec39a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#35 0x019d65e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x019da2d8 in ?? () from /lib/libglib-2.0.so.0
#37 0x019da817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#38 0x007cd3c9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#39 0x003063a7 in Gtk::Main::run_impl() () from /usr/lib/libgtkmm-2.4.so.1
#40 0x003061a2 in Gtk::Main::run() () from /usr/lib/libgtkmm-2.4.so.1
#41 0x0808a89b in sp_main_gui (argc=1, argv=0xbffff464) at main.cpp:983
#42 0x081729da in Inkscape::NSApplication::Application::run (this=0xbffff38c)
    at application/application.cpp:114
#43 0x08089cda in main (argc=1, argv=0xbffff464) at main.cpp:719
(gdb)

Revision history for this message
dopelover (dopelover) wrote :
Revision history for this message
su_v (suv-lp) wrote :

reproduced with Inkscape 0.48+devel r9676 on OS X 10.5.8

tags: added: connectors
Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :
Changed in inkscape:
assignee: nobody → Michael Wybrow (mjwybrow)
Revision history for this message
Michael Wybrow (mjwybrow) wrote :

Fixed in r9707 of the trunk.

Changed in inkscape:
status: Confirmed → Fix Committed
Revision history for this message
su_v (suv-lp) wrote :

Crash no longer reproduced with Inkscape 0.48+devel r9707 on OS X 10.5.8

Revision history for this message
su_v (suv-lp) wrote :

Setting milestone to 0.48: the fix (r9707 in trunk) had been backported to 0.48 in r9654 (last revision before the release)

<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/9707>
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_48_BRANCH/revision/9654>

Changed in inkscape:
milestone: none → 0.48
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.