coredump from IMPLEMENT_APP(MyApp) on Mac OS

Xu, Ming (NIH/NLM/NCBI) [F] mxu at ncbi.nlm.nih.gov
Wed Oct 4 14:49:51 PDT 2006


It is built OK, the app is a parser of a proteomics search engine
output.
It has also a child frame dialog wrapping search engine. The parser
worked fine, I made some changes and the changes worked fine on Win32
and wxGTK. 
When the app only parses a search engine result file, it works fine;
when I
Use the frame dialog of the search engine to run search alone, it also
works fine. But when the search result (cached in memory) is loaded into
the parser and saved into a file, I got the error.


ming


-----Original Message-----
From: Kevin Hock [mailto:hockkn at yahoo.com] 
Sent: Wednesday, October 04, 2006 4:51 PM
To: wx-users at lists.wxwidgets.org
Subject: Re: coredump from IMPLEMENT_APP(MyApp) on Mac OS

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
> 
>  
> 
>  
> 
>  
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org




More information about the wx-users mailing list