At 09:20 PM 9/10/2004, you wrote:
> This is a call in the CW for Palm OS runtime library that is run when
> your program exits.  It calls any destructors for global and static
> objects that were constructed when your program starts.  The source is
> in the CW runtime library.


Thanks for the info. I figured it was something of the sort. Obviously it is something in my app that is making it crash at this point, something most likely related to globals, although I'm not sure what. Has anyone else come across this kind of crash, if so, what did you do to fix it?

Two ideas:

1) If something overwrites part of the stack, it could make this get called even when no globals have been setup, which could cause a crash.

2) This list of destructors is held in a linked list, so a bad memory write could mess up those pointers.

Rebuild the runtime with debugging info and step through the shutdown code. See if you can figure out what call is going wrong.


-- Ben Combee, DTS technical lead, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Palm OS Dev Fourm Archives: http://news.palmos.com/read/all_forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to