David,

At 12.18 31/08/99 -0700, you wrote:
> Gremlins managed to find a bug in how your app (or possibly
>the os) handled a low-memory condition.

Well, actually it seems to me that something in the Os causes the problem.

The condition for this error to happen is to invoke a menu command wich displays a modal form, having 0/1 Kb of free ram and a Palm III downloaded Rom image (It doesn't happen with a IIIx Rom or the 3.3b5 Rom, but I'm not sure: still testing)

The error from pose is: "MemoryMgrNew.c, Line:3970, Invalid handle"
These are the lines from the DoCommand function:

case EditSongSongSongProperties:
MenuEraseStatus(0);
EditSongProps();
...


The invoked function is:

static void EditSongProps(void)
{
FormPtr previousForm = FrmGetActiveForm();
FormPtr frm = FrmInitForm(SongPropsForm);
...

The error is during the execution of FrmInitForm. The stack window in CodeWarrior debugger reports:

EditSongFormDoCommand
EditSongProps
0x...(FrmInitForm)
0x...(ResLoadForm)
0x...(MemHandleLock)
0x...(PrvHandleCheck)
0x...(ErrDisplayFileLineMsg)


???

Thanks,
GL

P.S.:I would like to say something about the philosophical questions you raised about bugs, but I don't think this is the right place to do it :-)
-----------------------------------------------------------------------------
Gianluca Barbaro
Storm Comunicazione & Tecnologia - Via B. De Rolandi, 1 - 20156 Milano - Italy
tel. +39-02-33.00.74.68 - fax +39-02-39.21.54.84
mailto:[EMAIL PROTECTED] - web site: http://www.storm.it

Makers of http://www.wincearch.com
the search engine for Windows CE

Makers of http://www.palmpointer.com
the search engine for Palm Computing Platform
-----------------------------------------------------------------------------

Reply via email to