Hi Steve,

At 12:00am -0700 00-06-24, Palm Developer Forum digest wrote:
>Subject: Gremlins and FIND
>From: "Stephen Bentley" <[EMAIL PROTECTED]>
>Date: Fri, 23 Jun 2000 16:47:11 -0400
>X-Message-Number: 62
>
>Trying to be a good Palm developer, I unleashed
>a horde of Gremins on my app.  29,600 events
>later I got this nasty message:
>
>"Lamp" 1.0 reports "Find.c Line:818, Error launching
>app for Find" If this is the latest...
>
>The debugger shows that it has died somewhere in
>SysHandleEvent but I don't know why?  I added
>the handling of the sysAppLaunchCmdFind launch
>code and for now simply set findParams->more = false
>in my empty search routine.  Still died.

This alert gets displayed when SysAppLaunch returns a non-zero 
result. Note that this result isn't the same as what your app returns 
from its main routine - SysAppLaunch returns an error when there's 
not enough memory to sub-launch the app, for example.

So if you could use the debugger to determine the actual result 
returned by SysAppLaunch, that would tell you a lot.

My wild guess is that you've got a memory leak, and the heap fills 
up, so that there's not enough free memory to sub-launch one of the 
apps during the find operation.

-- Ken

Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

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

Reply via email to