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/
