FOUND my bug, stupid me....

In fact, I've moved the free session from the end of the AppEventLoop to
AppStop. I thougt that I "cut" then "paste", but instead I "copy" then
"paste", so I freed twice.

Now it works just fine, thanks to all of you. :)

Stupid me....


Agus

-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Aaron
Ardiri
Envoy� : mardi 24 juin 2003 13:36
� : Palm Developer Forum
Objet : Re: MemPtrFree - invalid chunk

> do you have the pb in Debug and in Release mode?
> Perhaps you should resize up the stack (in project setting
> in CodeWarrior)

i dont see how making the stack larger will help him in this case. :)
he uses a global variable to store the pointer. and, he is not
allocating too much for it to crash (ie: MemPtrNew fails)

it is somewhere else :)

---
Aaron Ardiri                        [EMAIL PROTECTED]
CEO - CTO                                           +46 70 656 1143
Mobile Wizardry                      http://www.mobilewizardry.com/


--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/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