"Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 11:16 AM 3/15/2004, you wrote: > >I tracked the code after PilotMain - the __Startup__ function, the actual > >entry point for application. > >The same story - i get error after return from __Startup__ function. There > >is no global code executed after return from this function (or debbuger > >didn't show me it) > >Any ideas? > >May it be the A5 , expanded or multisegmentation case? > > If this is failing after you completely return from your function, there's > not too much that can go wrong. The only chunk that would be locked by the > OS is your 'code' ID 1 chunk in your PRC, so if something is corrupting > your own program data, I could see this failing. This seems pretty unlikely. > > The other things that would happen are the cleanup of the local heap tables > -- this means freeing all chunks of memory that are owned by "owner > 2". When you run on a debug ROM and POSE, do you get any messages about > memory leaks? Have you tried opening the debugger console in CW and using > the "hd 0" command to view the list of chunks and see which ones your app > still has right before memory end? > > -- Ben Combee, senior DTS engineer, PalmSource, Inc. > Read "Combee on Palm OS" at http://palmos.combee.net/ > > >
Thak you for help. Don't know why but it stopped. Works fine now. Wojtek -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
