Ted,
There's another crash bug (perhaps related to this one, perhaps not) that occurs when the following is done:
1) open a dialog 2) open a new document window
Here's the full backtrace:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1229449536 (LWP 9927)] 0x082d0652 in Inkscape::Verb::get_action (this=0x87ff628, view=0x891e39c) at verbs.cpp:605 605 if (cur_action->first->doc == view->doc) { (gdb) bt #0 0x082d0652 in Inkscape::Verb::get_action (this=0x87ff628, view=0x891e39c) at verbs.cpp:605 #1 0x08250ff6 in sp_ui_menu_append_item_from_verb (menu=0x98cc100, verb=0x87ff628, view=0x891e39c) at interface.cpp:534 #2 0x082522a3 in sp_ui_build_dyn_menus (menus=0x88bec54, menu=0x98cc100, view=0x891e39c) at interface.cpp:853 #3 0x08252159 in sp_ui_build_dyn_menus (menus=0x88b61d4, menu=0x98ad440, view=0x891e39c) at interface.cpp:833 #4 0x08252479 in sp_ui_main_menubar (view=0x891e39c) at interface.cpp:888 #5 0x082e8bd7 in sp_desktop_widget_new (namedview=0x885b474) at desktop.cpp:1442 #6 0x08249407 in sp_file_new ( templ=0x98a7010 "/usr/local/share/inkscape/templates/default.svg") at file.cpp:109 #7 0x082494e3 in sp_file_new_default () at file.cpp:127 #8 0x082d09ff in Inkscape::FileVerb::perform (action=0x88e7f90, data=0x2, pdata=0x0) at verbs.cpp:729 #9 0x0847c44c in sp_action_perform (action=0x88e7f90, data=0x0) at action.cpp:135 #10 0x08261b54 in sp_shortcut_invoke (shortcut=33554542, view=0x891e220) at shortcuts.cpp:42 #11 0x0847eefe in sp_window_key_press (widget=0x8c89580, event=0x8dba2d0) at window.cpp:34 #12 0xb78f903a in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0 #13 0x08c89580 in ?? () #14 0x08dba2d0 in ?? () #15 0x00000000 in ?? () #16 0xb70cc640 in ?? () from /usr/lib/libgobject-2.0.so.0 #17 0xbfffee50 in ?? () #18 0x0884f1c0 in ?? () #19 0x00000000 in ?? () #20 0xb6ccf168 in ?? () from /lib/tls/libc.so.6 #21 0x27ff993b in ?? () #22 0xbfffed10 in ?? () #23 0x00000002 in ?? () #24 0xbfffed38 in ?? () #25 0xb7a321f8 in gtk_window_propagate_key_event () from /usr/lib/libgtk-x11-2.0.so.0 #26 0xbfffec68 in ?? () #27 0xb70a2c1b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 Previous frame inner to this frame (corrupt stack?)
You may find this helpful:
(gdb) frame 0 #0 0x082d0652 in Inkscape::Verb::get_action (this=0x87ff628, view=0x891e39c) at verbs.cpp:605 605 if (cur_action->first->doc == view->doc) { (gdb) p *cur_action $3 = (std::pair<SPView* const, SPAction*> &) @0x93b6028: {first = 0x0, second = 0x8957bd0}
-- David
On Saturday 30 July 2005 04:11 pm, Ted Gould wrote:
Yup, my fault sorry. The ironic part is, while I made a bunch of changes last night, the bug was in code that has been in my local copy for almost two weeks :( I need to use dialogs more!
Sorry about that guys.
--Ted