I'm experiencing a Segmentation fault with the latest version of the patch.
The scenario is quiet simple:
- open parties
- switch to view form
- open popup for an identifier
- close the popup
- re-open a popup for an identifier
The segmentation fault happens in libgtk-3 and seems to imply only gtk-3.
It will be great if someone could reproduce it. So I will be sure it is not something with my machine. FYI, I use gtk+3-3.18.7.
The traceback:
Program received signal SIGSEGV, Segmentation fault.
0x000001effc93bcd9 in _gtk_pixel_cache_invalidate () from /usr/local/lib/libgtk-3.so.1800.0
(gdb) bt #0 0x000001effc93bcd9 in _gtk_pixel_cache_invalidate () from /usr/local/lib/libgtk-3.so.1800.0 #1 0x000001effca24f85 in gtk_viewport_map () from /usr/local/lib/libgtk-3.so.1800.0 #2 0x000001efd7bb00e7 in _g_closure_invoke_va () from /usr/local/lib/libgobject-2.0.so.4200.2 #3 0x000001efd7bc8486 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.4200.2 #4 0x000001efd7bc9681 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.4200.2 #5 0x000001effca3b5ab in gtk_widget_map () from /usr/local/lib/libgtk-3.so.1800.0 #6 0x000001effc9664f0 in gtk_scrolled_window_forall () from /usr/local/lib/libgtk-3.so.1800.0 #7 0x000001effc818a13 in gtk_container_map () from /usr/local/lib/libgtk-3.so.1800.0 #8 0x000001effc966f65 in gtk_scrolled_window_map () from /usr/local/lib/libgtk-3.so.1800.0 #9 0x000001efd7bb00e7 in _g_closure_invoke_va () from /usr/local/lib/libgobject-2.0.so.4200.2 #10 0x000001efd7bc8486 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.4200.2 #11 0x000001efd7bc9681 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.4200.2 #12 0x000001effca3b5ab in gtk_widget_map () from /usr/local/lib/libgtk-3.so.1800.0 #13 0x000001effc7cec63 in gtk_box_forall () from /usr/local/lib/libgtk-3.so.1800.0 #14 0x000001effc818a13 in gtk_container_map () from /usr/local/lib/libgtk-3.so.1800.0 #15 0x000001efd7bb00e7 in _g_closure_invoke_va () from /usr/local/lib/libgobject-2.0.so.4200.2 #16 0x000001efd7bc8486 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.4200.2 #17 0x000001efd7bc9681 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.4200.2 #18 0x000001effca3b5ab in gtk_widget_map () from /usr/local/lib/libgtk-3.so.1800.0 #19 0x000001effca4af06 in gtk_window_map () from /usr/local/lib/libgtk-3.so.1800.0 #20 0x000001effc8489cf in gtk_dialog_map () from /usr/local/lib/libgtk-3.so.1800.0 #21 0x000001efd7bb003d in _g_closure_invoke_va () from /usr/local/lib/libgobject-2.0.so.4200.2 #22 0x000001efd7bc8486 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.4200.2 #23 0x000001efd7bc9681 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.4200.2 #24 0x000001effca3b5ab in gtk_widget_map () from /usr/local/lib/libgtk-3.so.1800.0 #25 0x000001effca493a7 in gtk_window_show () from /usr/local/lib/libgtk-3.so.1800.0 #26 0x000001efd7bb02c3 in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.4200.2 #27 0x000001efd7bc6700 in signal_emit_unlocked_R () from /usr/local/lib/libgobject-2.0.so.4200.2 #28 0x000001efd7bc8eb9 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.4200.2 #29 0x000001efd7bc9681 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.4200.2 #30 0x000001effca360a0 in gtk_widget_show () from /usr/local/lib/libgtk-3.so.1800.0 #31 0x000001f05c773b44 in ffi_call_unix64 () from /usr/local/lib/libffi.so.1.2 #32 0x000001f05c773951 in ffi_call () from /usr/local/lib/libffi.so.1.2 #33 0x000001f0ad177014 in pygi_invoke_c_callable () from /usr/local/lib/python2.7/site-packages/gi/_gi.so #34 0x0000000000000000 in ?? ()
The patch can be tested. The only missing point is the calendar view but it can not be supported right now because the introspection is not in good shape for GooCanvas (I will work on patches for upstream).
To test, you just have to apply the patch and run tryton with GTK_VERSION=3 (and GTK_VERSION=2).