SIGABRT while connecting shapes with connector tool

Bug #612756 reported by dopelover on 2010-08-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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.

[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/
#2 0x01be6a82 in abort () from /lib/tls/i686/cmov/
#3 0x01bdc718 in __assert_fail () from /lib/tls/i686/cmov/
#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/
#20 0x0196799d in ?? () from /usr/lib/
#21 0x01968c33 in g_signal_emit_valist () from /usr/lib/
#22 0x009699de in gtk_signal_emit () from /usr/lib/
#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/
#26 0x019518b9 in ?? () from /usr/lib/
#27 0x01953252 in g_closure_invoke () from /usr/lib/
#28 0x019675e6 in ?? () from /usr/lib/
---Type <return> to continue, or q <return> to quit---
#29 0x01968c33 in g_signal_emit_valist () from /usr/lib/
#30 0x01969256 in g_signal_emit () from /usr/lib/
#31 0x00900636 in ?? () from /usr/lib/
#32 0x007cba5d in gtk_propagate_event () from /usr/lib/
#33 0x007cce07 in gtk_main_do_event () from /usr/lib/
#34 0x017ec39a in ?? () from /usr/lib/
#35 0x019d65e5 in g_main_context_dispatch () from /lib/
#36 0x019da2d8 in ?? () from /lib/
#37 0x019da817 in g_main_loop_run () from /lib/
#38 0x007cd3c9 in gtk_main () from /usr/lib/
#39 0x003063a7 in Gtk::Main::run_impl() () from /usr/lib/
#40 0x003061a2 in Gtk::Main::run() () from /usr/lib/
#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

dopelover (dopelover) wrote :
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
su_v (suv-lp) wrote :
Changed in inkscape:
assignee: nobody → Michael Wybrow (mjwybrow)
Michael Wybrow (mjwybrow) wrote :

Fixed in r9707 of the trunk.

Changed in inkscape:
status: Confirmed → Fix Committed
su_v (suv-lp) wrote :

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

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)


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  Edit
Everyone can see this information.

Other bug subscribers