Hello Roger,
Thanks for this reply. How can we increase the stack size programmatically?
We could get a free s/w from Teal which increases the stack size for us. It
has a nice UI also. But we cannot ship this utility alongwith our s/w to our
client. What can we do to the stack size other than using this utility?
Thanks & regards,
Dhanashri.

----- Original Message -----
From: "Roger Stringer" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, December 30, 2003 7:53 PM
Subject: RE: SysUIAppSwitch crashes


>
> >Subject: Re: Help !!! SysUIAppSwitch crashes
> >From: "Dhanashri" <[EMAIL PROTECTED]>
> >Date: Tue, 30 Dec 2003 12:59:19 +0530
> >
> >Hello Keith,
> >thanks for the reply. We could find out that whenever the SysGetStackInfo
> >API returns false, and our code returns after calling the SysUIAppSwitch,
> >then the Bus Error occurs. But we cannot test our code in the debugger as
we
> >have used a trap which the debugger says is not allowed.
>
>          Disable the disallowed trap, or find an alternate way around.
>          This way you could use the debugger to find the problem,
>          unless the trap is the cause of the stack overflow.
>
> >Please suggest what
> >we could do about the stack problem, the stack overflows but we are not
able
> >to find out the reason.
> >thanks & regards,
> >Dhanashri.
>
>          1) Increase the size of the stack
>          2) Do code reading!  Look for recursion and other large
>                  stack allocations.
>          3) Alternatively, put a trace in your program to write out
>                  details on stack use to the HotSync log.
>
> Roger Stringer
> Marietta Systems, Inc.  (www.mariettasystems.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