In article <[EMAIL PROTECTED]>, "John R. Miller" <[EMAIL PROTECTED]> wrote:
> After belatedly moving to system 5 testing I'm getting a "free Handle" > error in system code between events (needless to say, the problem > doesn't occur in system 4 testing). ... > If I step through the code the hang occurs after a FrmGotoForm call. > Breakpoints set in PilotMain or anywhere reasonable in my code don't get > hit. > > I did manage to come up with a test case that actually gives an error > message rather than hanging but if I switch to the debugger, the stack > traceback doesn't include any of my code. The PilotMain at the top > isn't mine. The error message in the simulator (as in the error log > file) is > > memorymgr.c line 3583 Free Handle > > and the traceback is > > __Startup__ > PilotMain > ProcessNotify > LaunchDBHandleSetInfo > LaunchDBHandleSetInfo > PrvUpdateLaunchDBEntry ... > Any suggestions? I suppose updating my copy of CodeWarrior might be a > good one. > > Ben Combee made the reasonable suggestion that one can't debug Palm OS 5 devices dependably on CW earlier than 9 (and perhaps the simulator before 8.3). Since I live about a mile from Metrowerks I immediately picked up CW9, unfortunately this makes no difference. The error still seems to be occurring in someone else's PilotMain (the Launchers?). Any more suggestions? (Note that I do my own debug memory allocation so I'm fairly sure it's not simply an allocation failure that I haven't caught.) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
