Comment 8 for bug 364834

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

I can reproduce a crash (but not in a consistent way) with
Inkscape 0.46+devel r22413
OS X 10.5.8 with X11/XQuartz 2.4.0 (xorg-server 1.5.3-apple14)
GTK+ version: 2.16.5

1) Inkscape on OS X doesn't keep 2 dialogs in a detached (floating) dock when using Show/Hide Dialogs <F12> in fullscreen mode: one of them is re-attached (docked) to the main window (tried with several combinations - it is not bound to a certain dialog window).
2) The crashes occur in different situations, sometimes I could trigger one when using <F12> in fullscreen mode, with one dialog in a detached dock. Other times Inkscape crashed when quitting with still opened dialogs in the detached (floating) dock. Or when re-attaching the second dialog to the detached (floating) dock (in fulscreen mode).
3) Overall the handling of detached dialogs as well as floating (set via preferences) dialog windows feels erratic and error-prone (IMHO).

The related crash reports I get on OS X start similar to this:

Thread 0 Crashed:
0 libgtkmm-2.4.1.dylib 0x00e93be8 Gtk::Window::get_size(int&, int&) const + 8
1 inkscape-bin 0x004987e7 Inkscape::UI::Dialog::Dialog::save_geometry() + 71
2 inkscape-bin 0x0049ff35 Inkscape::UI::Dialog::Behavior::DockBehavior::onHideF12() + 21
3 libgobject-2.0.0.dylib 0x01cb8b29 g_closure_invoke + 313
4 libgobject-2.0.0.dylib 0x01cc939c signal_emit_unlocked_R + 1900
5 libgobject-2.0.0.dylib 0x01ccaa4d g_signal_emit_valist + 1853
6 libgobject-2.0.0.dylib 0x01ccadb9 g_signal_emit + 41
7 inkscape-bin 0x000975bc inkscape_dialogs_toggle() + 92
8 inkscape-bin 0x0031b382 sp_action_perform(SPAction*, void*) + 530
9 inkscape-bin 0x0011eaf3 sp_shortcut_invoke(unsigned int, Inkscape::UI::View::View*) + 83
10 inkscape-bin 0x0032be9c on_window_key_press(_GdkEventKey*) + 92
11 inkscape-bin 0x0032c1a7 sigc::internal::slot_call1<sigc::pointer_functor1<_GdkEventKey*, bool>, bool, _GdkEventKey*>::call_it(sigc::internal::slot_rep*, _GdkEventKey* const&) + 23
12 libgtkmm-2.4.1.dylib 0x00e90a81 (anonymous namespace)::Widget_signal_key_press_event_callback(_GtkWidget*, _GdkEventKey*, void*) + 65
13 libgtk-x11-2.0.0.dylib 0x014cc01b _gtk_marshal_BOOLEAN__BOXED + 107
14 libgobject-2.0.0.dylib 0x01cb8b29 g_closure_invoke + 313
15 libgobject-2.0.0.dylib 0x01cc9714 signal_emit_unlocked_R + 2788
16 libgobject-2.0.0.dylib 0x01cca4c7 g_signal_emit_valist + 439
17 libgobject-2.0.0.dylib 0x01ccadb9 g_signal_emit + 41
18 libgtk-x11-2.0.0.dylib 0x015eb046 gtk_widget_event_internal + 614
19 libgtk-x11-2.0.0.dylib 0x014ca312 gtk_propagate_event + 482
20 libgtk-x11-2.0.0.dylib 0x014ca79f gtk_main_do_event + 1151
21 libgdk-x11-2.0.0.dylib 0x018202c5 gdk_event_dispatch + 85
22 libglib-2.0.0.dylib 0x01d2cf0d g_main_context_dispatch + 573
23 libglib-2.0.0.dylib 0x01d307bb g_main_context_iterate + 1179
24 libglib-2.0.0.dylib 0x01d30a97 g_main_loop_run + 439
25 libgtk-x11-2.0.0.dylib 0x014c9881 gtk_main + 177
26 libgtkmm-2.4.1.dylib 0x00e1147b Gtk::Main::run() + 27
27 inkscape-bin 0x0000516a sp_main_gui(int, char const**) + 1146
28 inkscape-bin 0x001f44a2 Inkscape::NSApplication::Application::run() + 178
29 inkscape-bin 0x00003bc2 main + 322
30 inkscape-bin 0x000033f6 start + 54

Will attach a backtrace later (if I succeed ;-) - though I'd expect it to look like yours from comment #2.