At 05:02 PM 8/23/2004, you wrote:
> Put a breakpoint at the end of your PilotMain and then step into the
> runtime library. You might need to rebuild the runtime with debug symbols
> to see anything useful.
>
> The most likely cause is trashing of a return address on the stack, which
> would cause your code to jump to a bad location where there are no valid
> 68K instructions.

I have done that. I can step into my destructor being called (which is empty), but it enters 68k code at that point that I don't recognize. I had expected the forms parent class destructor to be called next but it is getting lost before that, as if something had messed up the vtable entries.

Which CW version are you using? Does this class ever get created/destroyed outside of this situation? I'm wondering if the vtable was ever valid for the destructor.



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