noreply at rubyforge.org
2008-Feb-06 11:50 UTC
[wxruby-development] [ wxruby-Bugs-17827 ] Crash when closing Dialog in bigdemo.rb
Bugs item #17827, was opened at 2008-02-06 11:50 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=17827&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: Crash when closing Dialog in bigdemo.rb Initial Comment: Segfault in bigdemo.rb. To reproduce, start the sample, select the first item in the widget tree list ("wxDialog"). Then close the Dialog with either the OK or Cancel button. Backtrace is: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0xb84352ec 0x00136e80 in st_lookup () (gdb) whe #0 0x00136e80 in st_lookup () #1 0x000cfe3c in rb_clear_cache_by_class () #2 0x000dac7d in rb_eval_string_wrap () #3 0x000d80da in rb_eval_string_wrap () #4 0x000d7c78 in rb_eval_string_wrap () #5 0x000d7c78 in rb_eval_string_wrap () #6 0x000d6a20 in rb_eval_string_wrap () #7 0x000d7541 in rb_eval_string_wrap () #8 0x000d6739 in rb_eval_string_wrap () #9 0x000da95f in rb_eval_string_wrap () #10 0x000dad6a in rb_eval_string_wrap () #11 0x000d80da in rb_eval_string_wrap () #12 0x000da95f in rb_eval_string_wrap () #13 0x000e439a in rb_apply () #14 0x000d1057 in rb_with_disable_interrupt () #15 0x000da18c in rb_eval_string_wrap () #16 0x000dad6a in rb_eval_string_wrap () #17 0x000d80da in rb_eval_string_wrap () #18 0x000de178 in rb_thread_trap_eval () #19 0x000de7e6 in rb_thread_trap_eval () #20 0x000da18c in rb_eval_string_wrap () #21 0x000dad6a in rb_eval_string_wrap () #22 0x000db7ed in rb_respond_to () #23 0x000db8d6 in rb_funcall () #24 0x010ab236 in wxRbCallback::EventThunker () at string.h:690 #25 0x0139fbc3 in wxAppConsole::HandleEvent (this=0x3ad2d0, handler=0x833200, func={__pfn = 0x10ab18c <wxRbCallback::EventThunker(wxEvent&)>, __delta = 0}, event=@0xbfffdf24) at ../src/common/appbase.cpp:320 #26 0x0143ba6e in wxEvtHandler::ProcessEventIfMatches (entry=@0x1582a500, handler=0x833200, event=@0xbfffdf24) at ../src/common/event.cpp:1225 #27 0x0143cb82 in wxEvtHandler::SearchDynamicEventTable (this=0x833200, event=@0xbfffdf24) at ../src/common/event.cpp:1407 #28 0x0143cc8c in wxEvtHandler::ProcessEvent (this=0x833200, event=@0xbfffdf24) at ../src/common/event.cpp:1283 #29 0x010aa5c2 in _wrap_wxEvtHandler_ProcessEvent () at string.h:690 #30 0x000d1057 in rb_with_disable_interrupt () #31 0x000da18c in rb_eval_string_wrap () #32 0x000dad6a in rb_eval_string_wrap () #33 0x000db7ed in rb_respond_to () #34 0x000db8d6 in rb_funcall () #35 0x010c5b0d in SwigDirector_wxFrame::ProcessEvent () at string.h:690 #36 0x0156e892 in wxWindowBase::TryParent (this=0x84f000, event=@0xbfffdf24) at ../src/common/wincmn.cpp:2612 #37 0x0143cd42 in wxEvtHandler::ProcessEvent (this=0x84f000, event=@0xbfffdf24) at ../src/common/event.cpp:1300 #38 0x010aa5c2 in _wrap_wxEvtHandler_ProcessEvent () at string.h:690 #39 0x000d1057 in rb_with_disable_interrupt () #40 0x000da18c in rb_eval_string_wrap () #41 0x000dad6a in rb_eval_string_wrap () #42 0x000db7ed in rb_respond_to () #43 0x000db8d6 in rb_funcall () #44 0x0124b089 in SwigDirector_wxSplitterWindow::ProcessEvent () at string.h:690 #45 0x0156e892 in wxWindowBase::TryParent (this=0x871a00, event=@0xbfffdf24) at ../src/common/wincmn.cpp:2612 #46 0x0143cd42 in wxEvtHandler::ProcessEvent (this=0x871a00, event=@0xbfffdf24) at ../src/common/event.cpp:1300 #47 0x0143cd1c in wxEvtHandler::ProcessEvent (this=0x15824400, event=@0xbfffdf24) at ../src/common/event.cpp:1294 #48 0x01591388 in wxScrollHelperEvtHandler::ProcessEvent (this=0x15824400, event=@0xbfffdf24) at ../src/generic/scrlwing.cpp:211 #49 0x0159ced8 in wxGenericTreeCtrl::DoSelectItem (this=0x871a00, itemId=@0xbfffe1b8, unselect_others=true, extended_select=false) at ../src/generic/treectlg.cpp:1895 #50 0x015a1e87 in wxGenericTreeCtrl::OnMouse (this=0x871a00, event=@0xbfffe43c) at ../src/generic/treectlg.cpp:3351 #51 0x0139fbc3 in wxAppConsole::HandleEvent (this=0x3ad2d0, handler=0x871a00, func={__pfn = 0x15a0e2a <wxGenericTreeCtrl::OnMouse(wxMouseEvent&)>, __delta = 0}, event=@0xbfffe43c) at ../src/common/appbase.cpp:320 #52 0x0143ba6e in wxEvtHandler::ProcessEventIfMatches (entry=@0x1b63270, handler=0x871a00, event=@0xbfffe43c) at ../src/common/event.cpp:1225 #53 0x0143be5a in wxEventHashTable::HandleEvent (this=0x1b63420, event=@0xbfffe43c, self=0x871a00) at ../src/common/event.cpp:898 #54 0x0143ccdb in wxEvtHandler::ProcessEvent (this=0x871a00, event=@0xbfffe43c) at ../src/common/event.cpp:1287 #55 0x0143cd1c in wxEvtHandler::ProcessEvent (this=0x15824400, event=@0xbfffe43c) at ../src/common/event.cpp:1294 #56 0x01591388 in wxScrollHelperEvtHandler::ProcessEvent (this=0x15824400, event=@0xbfffe43c) at ../src/generic/scrlwing.cpp:211 #57 0x014ba3ca in wxMacTopLevelMouseEventHandler (handler=0xbfffe880, event=0x1582b430, data=0x833200) at ../src/mac/carbon/toplevel.cpp:598 #58 0x014bb2fd in wxMacTopLevelEventHandler (handler=0xbfffe880, event=0x1582b430, data=0x833200) at ../src/mac/carbon/toplevel.cpp:843 #59 0x95b31863 in DispatchEventToHandlers () #60 0x95b30c9d in SendEventToEventTargetInternal () #61 0x95b4d08e in SendEventToEventTarget () #62 0x95b5fb73 in ToolboxEventDispatcherHandler () #63 0x95b31c1c in DispatchEventToHandlers () #64 0x95b30c9d in SendEventToEventTargetInternal () #65 0x95b4d08e in SendEventToEventTarget () #66 0x014512b1 in wxApp::MacHandleOneEvent (this=0x3ad2d0, evr=0x1582b430) at ../src/mac/carbon/app.cpp:1225 #67 0x01451381 in wxApp::MacDoOneEvent (this=0x3ad2d0) at ../src/mac/carbon/app.cpp:1194 #68 0x0146c1d2 in wxEventLoop::Dispatch (this=0x15869e80) at ../src/mac/carbon/evtloop.cpp:107 #69 0x015095af in wxEventLoopManual::Run (this=0x15869e80) at ../src/common/evtloopcmn.cpp:115 #70 0x014df853 in wxAppBase::MainLoop (this=0x3ad2d0) at ../src/common/appcmn.cpp:312 #71 0x014df9c1 in wxAppBase::OnRun (this=0x3ad2d0) at ../src/common/appcmn.cpp:367 #72 0x013db917 in wxEntry (argc=@0x1b74cb8, argv=0x3ad480) at ../src/common/init.cpp:456 #73 0x013db9d6 in wxEntry (argc=@0x1b58e1c, argv=0x1b58e14) at ../src/common/init.cpp:468 #74 0x01008760 in wxRubyApp::main_loop () at app.h:220 #75 0x01006e42 in _wrap_App_main_loop () at string.h:242 #76 0x000d1057 in rb_with_disable_interrupt () #77 0x000da18c in rb_eval_string_wrap () #78 0x000dad6a in rb_eval_string_wrap () #79 0x000d80da in rb_eval_string_wrap () #80 0x000e706e in rb_load_protect () #81 0x000e709f in ruby_exec () #82 0x000e70cb in ruby_run () #83 0x00001fff in main () (gdb) ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=17827&group_id=35