Inkscape crashed while drawing a caligraphic stroke

Bug #612350 reported by dopelover
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
High
Unassigned

Bug Description

Inkscape crashed when i tried to draw caligraphic stroke.
I use Inkscape 0.48+devel r9675 and Ubuntu 10.04
Thisi is GDB output:

[Thread 0xb37fdb70 (LWP 11366) exited]

Program received signal SIGSEGV, Segmentation fault.
0x08127f8a in boost::shared_ptr<std::vector<boost::shared_ptr<Geom::Curve const>, std::allocator<boost::shared_ptr<Geom::Curve const> > > >::operator* (
    shape=<value optimized out>, ai=0x34c00b68)
    at /usr/include/boost/smart_ptr/shared_ptr.hpp:412
412 BOOST_ASSERT(px != 0);

(gdb) bt
#0 0x08127f8a in boost::shared_ptr<std::vector<boost::shared_ptr<Geom::Curve const>, std::allocator<boost::shared_ptr<Geom::Curve const> > > >::operator* (
    shape=<value optimized out>, ai=0x34c00b68)
    at /usr/include/boost/smart_ptr/shared_ptr.hpp:412
#1 Geom::Path::get_curves (shape=<value optimized out>, ai=0x34c00b68)
    at ./2geom/path.h:646
#2 Geom::Path::front (shape=<value optimized out>, ai=0x34c00b68)
    at ./2geom/path.h:227
#3 sp_shape_update_marker_view (shape=<value optimized out>, ai=0x34c00b68)
    at sp-shape.cpp:420
#4 0x08128710 in sp_shape_show (item=0x29262b60, arena=0x8fcbf18)
    at sp-shape.cpp:914
#5 0x080fd0b5 in sp_item_invoke_show (item=0x29262b60, arena=0x8fcbf18,
    key=0, flags=1) at sp-item.cpp:1116
#6 0x08100712 in CGroup::onChildAdded (this=0xd123a68, child=0x2d3953f0)
    at sp-item-group.cpp:607
#7 0x0861eea7 in Inkscape::XML::CompositeNodeObserver::notifyChildAdded (
    this=0x232d37b0, node=..., child=..., prev=0x34bd80f0)
    at xml/composite-node-observer.cpp:35
#8 0x08381e75 in Inkscape::XML::SimpleNode::addChild (this=0x232d3780,
    generic_child=0x2d3953f0, generic_ref=0x34bd80f0)
    at xml/simple-node.cpp:401
#9 0x0837803c in Inkscape::XML::SimpleNode::appendChild (this=0x29262b60,
---Type <return> to continue, or q <return> to quit---
    child=0x2d3953f0) at ./xml/simple-node.h:78
#10 0x08113167 in SPObject::appendChildRepr (this=0xd0b5250, repr=0x2d3953f0)
    at sp-object.cpp:485
#11 0x0856aa66 in set_to_accumulated (event_context=0x36bea138,
    event=0x361f6c20) at dyna-draw-context.cpp:1013
#12 sp_dyna_draw_context_root_handler (event_context=0x36bea138,
    event=0x361f6c20) at dyna-draw-context.cpp:840
#13 0x08096271 in sp_event_context_virtual_root_handler (
    event_context=0x36bea138, event=0x361f6c20) at event-context.cpp:940
#14 0x08551c27 in sp_desktop_root_handler (event=0x361f6c20, desktop=0x8fe8db0)
    at desktop-events.cpp:67
#15 0x0825e7b8 in sp_marshal_BOOLEAN__POINTER (closure=0x99810d8,
    return_value=0xbfffeaec, n_param_values=2, param_values=0xac4a628,
    invocation_hint=0xbfffe990, marshal_data=0x8551bf0)
    at helper/sp-marshal.cpp:122
#16 0x01953252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#17 0x0196799d in ?? () from /usr/lib/libgobject-2.0.so.0
#18 0x01968c33 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#19 0x009699de in gtk_signal_emit () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x081cf857 in emit_event (canvas=<value optimized out>,
    event=<value optimized out>) at display/sp-canvas.cpp:1364
#21 0x081d14c7 in sp_canvas_button (widget=0x992d0c0, event=0x374ec8a0)
    at display/sp-canvas.cpp:1570
---Type <return> to continue, or q <return> to quit---
#22 0x007d3424 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x019518b9 in ?? () from /usr/lib/libgobject-2.0.so.0
#24 0x01953252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#25 0x019675e6 in ?? () from /usr/lib/libgobject-2.0.so.0
#26 0x01968c33 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#27 0x01969256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#28 0x00900636 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x007cba5d in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x007cce07 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x017ec39a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#32 0x019d65e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x019da2d8 in ?? () from /lib/libglib-2.0.so.0
#34 0x019da817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#35 0x007cd3c9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#36 0x003063a7 in Gtk::Main::run_impl() () from /usr/lib/libgtkmm-2.4.so.1
#37 0x003061a2 in Gtk::Main::run() () from /usr/lib/libgtkmm-2.4.so.1
#38 0x0808a89b in sp_main_gui (argc=1, argv=0xbffff454) at main.cpp:983
#39 0x081729da in Inkscape::NSApplication::Application::run (this=0xbffff37c)
    at application/application.cpp:114
#40 0x08089cda in main (argc=1, argv=0xbffff454) at main.cpp:719
(gdb)

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

Do you use a tablet?
Does the crash happen every time you use the calligraphy tool or depend on the current options or preset used?
Did you use the calligraphy tool with a guide path ('Ctrl' pressed to draw parallel lines)?

tags: added: calligraphy crash
Changed in inkscape:
importance: Undecided → High
Revision history for this message
jazzynico (jazzynico) wrote :

@dopelover - Could you please give some details on how you used the calligraphy tool?
Thanks!

Changed in inkscape:
status: New → Incomplete
Revision history for this message
dopelover (dopelover) wrote :

I can't reproduce this crash any more with Inkscape 0.48+devel r9986. So I am gonna mark this report as invalid.

Changed in inkscape:
status: Incomplete → Invalid
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.