sorry, got one more thing it could be.  A form that is allocated 
(FrmItinForm()) and never deleted can cause this error too.
-- 


Scott Erickson
Software Engineer, FB-4, Inc.
[EMAIL PROTECTED]
"Evan Ovadia" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hey everyone. I'm getting a very strange error...
>
> Yesterday, I was exiting my program and up came this fatal alert, with a 
> bunch of numbers. I had no idea what it means. I eventually found out that 
> it happened after my PilotMain ended. I know this because right before the 
> return statement I put a little flag there.
>
> My first thought was that maybe it was a destructor. Well, it couldn't 
> have been any global object because I have no globals. And I looked for 
> objects local to PilotMain but there weren't any. Just to be sure, I 
> surrounded the contents of PilotMain in an artificial block. Still got the 
> error after PilotMain.
>
> So there's only one possibility, as I see it. Palm OS is trying to do 
> something after I exit, maybe its trying to free something that was 
> allocated? Maybe its trying to free something that I already freed before, 
> im not sure. I searched high and low for something like this but nothing 
> was found.
>
> So my question is: What does palm os do after I exit the program? What 
> does it try to wrap up? Is there something I'm doing wrong?
>
> A little more information about the bug... I ran it in the simulator and 
> got "free ptr", and then "minor error while exiting app, unfreed chunk, 
> size 320" or something along those lines. Someone on these forums said to 
> try a hard reset, so I did. I ran it on my device again and then "ptr is 
> handle" showed up, instead of all those numbers.
>
> Yeah, I'm totally lost O.o
>
> Thank you all for your help. I really appreciate it!
> 



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

Reply via email to