On 31/1/11 06:42, ~suv wrote:
On 31/1/11 06:18, Martin Owens wrote:
http://divajutta.com/doctormo/foo/Broken%20document%201.2011_01_29_12_30_38....
I also meant 0.48 and 0.48.1 respectively.
AFAICT fixed for 0.48.1:
Bug #511577 segfault in sp_shape_update_marker_view() https://bugs.launchpad.net/inkscape/+bug/511577
Crash reproduced with Inkscape 0.48.0 on OS X 10.5.8 (same console message and bt as in bug #511577)
Not reproduced with current trunk (0.48+devel r10019) and with a build from 0.48.x (r9752)
This path - last added to the document - causes the crash when loading the file:
<path style="stroke:#ffffff;fill:#ffffff;fill-opacity:1;stroke-opacity:1;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round;opacity:0.58577406;color:#000000;fill-rule:nonzero;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;marker-end:url(#Arrow2Mend)" id="path6420" />
Removing the marker from the style attribute allows the file to open without crash even in 0.48.0.
In current trunk (r10019) and 0.48.x (r9752), I could trigger a different crash though, when trying to node-edit the path (which has no path data), and <Tab> through the nodes:
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x47746b7d 0x005f57df in Inkscape::UI::SelectableControlPoint::updateState () at selectable-control-point.h:82 82 x->updateState(); (gdb) bt #0 0x005f57df in Inkscape::UI::SelectableControlPoint::updateState () at selectable-control-point.h:82 #1 0x005f57df in Inkscape::UI::SelectableControlPoint::updateState () at selectable-control-point.h:82 #2 0x005f57df in Inkscape::UI::ControlPointSelection::insert (this=0x79c1b80, x=@0xbfffde0c) at ui/tool/control-point-selection.cpp:82 #3 0x005fc7d8 in Inkscape::UI::MultiPathManipulator::shiftSelection (this=0x79ab5b0, dir=1) at ui/tool/control-point-selection.cpp:82 #4 0x000fed2c in Inkscape::SelectionHelper::selectNext (dt=0x476bd20) at ui/tool/control-point-selection.cpp:82 #5 0x00333040 in sp_action_perform (action=0x4787700, data=0x0) at ui/tool/control-point-selection.cpp:82 #6 0x00111a53 in sp_shortcut_invoke (shortcut=65289, view=0x476bd20) at ui/tool/control-point-selection.cpp:82 #7 0x00071b11 in sp_event_context_private_root_handler (event_context=0x6d35430, event=0x6d99f10) at ui/tool/control-point-selection.cpp:82 #8 0x0060ca11 in (anonymous namespace)::ink_node_tool_root_handler (event_context=0x6d35430, event=0x6d99f10) at ui/tool/control-point-selection.cpp:82 #9 0x0006d77c in sp_event_context_virtual_root_handler (event_context=0xb49f10, event=0x6d99f10) at ui/tool/control-point-selection.cpp:82 #10 0x000396f7 in sp_desktop_root_handler (event=0x6d99f10, desktop=0x476bd20) at ui/tool/control-point-selection.cpp:82 #11 0x0033ed55 in sp_marshal_BOOLEAN__POINTER (closure=0x53e5b60, return_value=0xbfffe6ac, n_param_values=2, param_values=0x55a0530, invocation_hint=0xbfffe560, marshal_data=0x392c0) at ui/tool/control-point-selection.cpp:82 #12 0x032ec0a9 in g_closure_invoke () #13 0x032fe163 in signal_emit_unlocked_R () #14 0x032ff537 in g_signal_emit_valist () #15 0x01918741 in gtk_signal_emit () #16 0x00263f03 in emit_event (canvas=<value temporarily unavailable, due to optimizations>, event=0x6d9ba20) at ui/tool/control-point-selection.cpp:82 #17 0x0026a427 in sp_canvas_key (widget=0x41ff380, event=0x6d9ba20) at ui/tool/control-point-selection.cpp:82 #18 0x0178052b in _gtk_marshal_BOOLEAN__BOXED () #19 0x032ec0a9 in g_closure_invoke () #20 0x032fe2e8 in signal_emit_unlocked_R () #21 0x032ff537 in g_signal_emit_valist () #22 0x032ffaf9 in g_signal_emit () #23 0x018af8a6 in gtk_widget_event_internal () #24 0x018c5c99 in gtk_window_propagate_key_event () #25 0x018caefc in gtk_window_key_press_event () #26 0x0178052b in _gtk_marshal_BOOLEAN__BOXED () #27 0x032ec0a9 in g_closure_invoke () #28 0x032fe2e8 in signal_emit_unlocked_R () #29 0x032ff537 in g_signal_emit_valist () #30 0x032ffaf9 in g_signal_emit () #31 0x018af8a6 in gtk_widget_event_internal () #32 0x0177e765 in gtk_propagate_event () #33 0x0177ec9d in gtk_main_do_event () #34 0x02771b15 in gdk_event_dispatch () #35 0x033a6a9d in g_main_context_dispatch () #36 0x033aa59b in g_main_context_iterate () #37 0x033aa877 in g_main_loop_run () #38 0x0177dc71 in gtk_main () #39 0x01192d4b in Gtk::Main::run () #40 0x0000555c in Inkscape::UI::SelectableControlPoint::updateState () at selectable-control-point.h:986 #41 sp_main_gui (argc=1, argv=0xbffff394) at ui/tool/control-point-selection.cpp:82 #42 0x00004156 in start () (gdb)
~suv