Hi all,

I have an app that has 3 code segments:

Segment 1: 71K
Segment 2: 64K
Segment 3: 62K

The application gives an error message in POSER
"Dynamic heap chunk with header address 0x0000BDAA got corrupted. The size 
of the chunk (%chunk_size) was larger than the currently accepted maximum 
(%chunk_max)".

In the actual device it simply gives fatal exception. I checked using the 
debugger console, and it shows that heap 1 is corrupted - "Invalid Handle 
field". I was guessing since segment 1 is more than 64K, it is causing the 
error. However, reducing the size of segment 1 didn't help. Is there any 
limit on a code segment size? I found out after several tries that the error 
occurs while trying to allocate memory using MemHandleNew. However if I hit 
the debug button during the error, POSER displays a message box saying 
"Can't handle debug messages at this time." The only thing I can do at that 
time is to hit Ctl-Alt-Delete, and terminate both POSER and CodeWarrior. Any 
ideas what can cause such an error?

I am using:
Codewarrior 5.0 (with update and patch)
Windows 98 (with IE 5)
POSER 2.1D29
Palm III ROM/Palm 5000 ROM

Thanks for you help and patience.

-Sugho-


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to