On 21/7/11 19:00, SorinN wrote:
steps to reproduce in Ubuntu 11.4 (with cairo-1.11.2)
- open a new file
- drag a new guideline somewhere
- push back the guideline to the canvas - top or left border (where
rulers are located). 4) crash
probably is just me but some others can check
On Mac OS X 10.5.8 (i386), default prefs:
- not reproduced with Inkscape 0.48+devel r10473 - reproduced with Inkscape 0.48+devel r10478
Backtrace attached.
~suv
** (inkscape:704): CRITICAL **: SPNamedView* sp_document_namedview(SPDocument*, const gchar*): assertion `document != NULL' failed
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000120 0x001c7c21 in SPNamedView::getDefaultMetric (this=0x0) at sp-namedview.cpp:1086 1086 if (doc_units) { (gdb) bt #0 0x001c7c21 in SPNamedView::getDefaultMetric (this=0x0) at sp-namedview.cpp:1086 #1 0x00198c84 in sp_guide_description (guide=0x7af3748, verbose=true) at sp-guide.cpp:479 #2 0x00046c8a in sp_dt_guide_event (item=0x82a8670, event=0x84f2670, data=0x7af3748) at desktop-events.cpp:454 #3 0x003d0ead in sp_marshal_BOOLEAN__POINTER (closure=0x8526310, return_value=0xbfffe7ec, n_param_values=2, param_values=0x84fd6a8, invocation_hint=0xbfffe6a0, marshal_data=0x0) at helper/sp-marshal.cpp:124 #4 0x040e5f59 in g_closure_invoke () #5 0x040f80d3 in signal_emit_unlocked_R () #6 0x040f94a7 in g_signal_emit_valist () #7 0x040f9a69 in g_signal_emit () #8 0x002fe5a5 in emit_event (canvas=0x5ec9388, event=0x84f2490) at display/sp-canvas.cpp:1376 #9 0x003002d2 in sp_canvas_button (widget=0x5ec9388, event=0x84f2490) at display/sp-canvas.cpp:1579 #10 0x0266685b in _gtk_marshal_BOOLEAN__BOXED () #11 0x040e5f59 in g_closure_invoke () #12 0x040f8258 in signal_emit_unlocked_R () #13 0x040f94a7 in g_signal_emit_valist () #14 0x040f9a69 in g_signal_emit () #15 0x02795546 in gtk_widget_event_internal () #16 0x02664a58 in gtk_propagate_event () #17 0x02664fcd in gtk_main_do_event () #18 0x00007bb6 in snooper (event=0x84f2490) at main.cpp:912 #19 0x03494845 in gdk_event_dispatch () #20 0x041a151d in g_main_context_dispatch () #21 0x041a53ab in g_main_context_iterate () #22 0x041a5687 in g_main_loop_run () #23 0x02663fa1 in gtk_main () #24 0x020e959b in Gtk::Main::run () #25 0x00008562 in sp_main_gui (argc=1, argv=0xbffff0fc) at main.cpp:978 #26 0x00008d48 in main (argc=1, argv=0xbffff0fc) at main.cpp:709 (gdb)