Forum Archive. A read-only snapshot of the Warfare Incorporated forums (2003–2020), preserved for historical purposes.  ·  warfareincorporated.com
Warfare Incorporated Forum

Stack overflow?
Author Message
Liberator
Semi-frequent Poster
Joined: 21 Mar 2004
Posts: 28
 Post Posted: Thu Apr 08, 2004 11:47 am  Post subject: Stack overflow?

Often and often, when I exit from WI, it causes system fatal alert/reset. As a palm developer, I know this is most likely caused by stack overflown. I checked the program, only to find the stack size is only 4K. There is a background telephone task running on my device, which my use current app's stack. I strong recommend enlarge the stack size to at least 8k or more. Thanks
claxbane
Site Admin


Joined: 15 Aug 2003
Posts: 331
Location: Seattle, WA
 Post Posted: Thu Apr 15, 2004 1:36 pm  

What device are you using?
Liberator
Semi-frequent Poster
Joined: 21 Mar 2004
Posts: 28
 Post Posted: Fri Apr 16, 2004 8:24 am  

To be honest, I changed the stack size to 8K with Palm's Creator, it NEVER collapses! Before that, 10 out of 10 time I got a fatal alert when I quit WI to view a newly received short message.

I'm using a palm cell phone.
scottlu
WI Founder


Joined: 15 Aug 2003
Posts: 1773
 Post Posted: Fri Apr 16, 2004 9:47 am  

What model palm phone are you using? We need the exact make please.
Liberator
Semi-frequent Poster
Joined: 21 Mar 2004
Posts: 28
 Post Posted: Sat Apr 17, 2004 5:31 am  

I'm using a hongkong (china) made Palm OS4 cell phone. Zircon G18.

When a short message received, the system will call sms app with sublaunch call, which use current's app's stack. it's very easy to get a fatal alert when I played Armageddon even I didn't receive a short message.

Now, A-OK.
Liberator
Semi-frequent Poster
Joined: 21 Mar 2004
Posts: 28
 Post Posted: Sat Apr 17, 2004 5:34 am  

I'm using a hongkong (china) made Palm OS4 cell phone. Zircon G18.

When a short message received, the system will call sms app with sublaunch call, which use current's app's stack. it's very easy to get a fatal alert when I played Armageddon even I didn't receive a short message.

Now, A-OK.

By the way, please goto mission sharing forum and view Desert Sand. In that great mission, Andy sometimes got out of control, I'm not sure this is caused by the mission or WI itself. thanks.