At 7:59 AM -0800 3/16/99, Javier Moraiz wrote:
>>Well, this is my error. When I'm executing my program, in some place where
>>appear a "MemPtrNew ()", an error occur -sometimes yes and sometimes no,
>and
>>in different functions- "Unknown 68K exception" in Code Warrior Debugger,
>>"Fatal exception" in PalmPilot without debugger and "Bus Error" in
>Emulator.
It's very likely that you're corrupting the dynamic heap. Simply running
out of dynamic memory should not generate a bus error or a fatal exception,
unless maybe you're not checking to see if the MemPtrNew failed and trying
to use the pointer.
Get the latest version of poser (2.1d26 as of today) and enable the
debugging modes. The emulator will tell you immediately if you trash the
dynamic heap.
--Bob