coredump from IMPLEMENT_APP(MyApp) on Mac OS
Kevin Hock
hockkn at yahoo.com
Wed Oct 4 13:51:13 PDT 2006
Hi Ming,
Are you sure you have built the library and your application correctly?
Does the minimal sample work for you?
Kevin
Xu, Ming (NIH/NLM/NCBI) [F] wrote:
> Hello.
>
>
>
> I got a coredump on Mac OS, and gdb debugger gave the error at the
> coredump is below.
>
> Any ideal and suggestion about it .
>
>
>
> //--------------------------------------------------------------------------------------------------------------
>
> Program received signal EXC_BAD_ACCESS, Could not access memory.
>
> Reason: KERN_INVALID_ADDRESS at address: 0x5354505c 0x00889ccc in
> wxNodeBase::GetData (this=0x53545054) at
>
> /netopt/ncbi_tools/wxMac-2.6.3/include/wx-2.6/wx/list.h:435
>
> 435 void *GetData() const { return m_data; }
>
> (gdb) where
>
> #0 0x00889ccc in wxNodeBase::GetData
>
> (this=0x53545054) at
>
> /netopt/ncbi_tools/wxMac-2.6.3/include/wx-2.6/wx/list.h:435
>
> #1 0x00b85f1c in wxObjectListNode::GetData
>
> (this=0x53545054) at ../src/common/gdicmn.cpp:1128
>
> #2 0x004dc27c in wxEvtHandler::ProcessPendingEvents
>
> (this=0x17792850) at ../src/common/event.cpp:1146
>
> #3 0x004a0a60 in wxAppConsole::ProcessPendingEvents
>
> (this=0xd5377f0) at ../src/common/appbase.cpp:296
>
> #4 0x0060abe8 in wxMacProcessNotifierAndPendingEvents
>
> () at ../src/mac/carbon/macnotfy.cpp:135
>
> #5 0x0055d6ac in wxApp::MacHandleOneEvent (this=0xd5377f0,
> evr=0x11d22590) at
>
> ../src/mac/carbon/app.cpp:1273
>
> #6 0x0055d7cc in wxApp::MacDoOneEvent
>
> (this=0xd5377f0) at ../src/mac/carbon/app.cpp:1248
>
> #7 0x0055d880 in wxApp::MainLoop (this=0xd5377f0) at
>
> ../src/mac/carbon/app.cpp:1093
>
> #8 0x0057b460 in wxAppBase::OnRun (this=0xd5377f0) at
> ../src/common/appcmn.cpp:340
>
> #9 0x004a007c in wxEntry (argc=@0xbffff198,
>
> argv=0xbffff23c) at ../src/common/init.cpp:439 #10 0x00003374 in main
> (argc=1, argv=0xbffff23c) at
>
> parser.cpp:161
>
> (gdb)
>
>
>
> ////////////////////////////////////////////////////////////////////////
>
> // classes begins
>
> /////////////////////////////////////////////////////////////////////////
>
> IMPLEMENT_APP(MyApp) at parser.cpp:161
>
>
>
> //-----------------------------------------------------------------
>
>
>
> Thanks
>
>
>
> ming
>
>
>
>
>
>
>
More information about the wx-users
mailing list