View previous topic :: View next topic |
Author |
Message |
Liberator Semi-frequent Poster
Joined: 21 Mar 2004 Posts: 28
|
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 _________________ Yes, Sir! |
|
Back to top |
|
|
claxbane Site Admin
Joined: 15 Aug 2003 Posts: 331 Location: Seattle, WA
|
Posted: Thu Apr 15, 2004 1:36 pm Post subject: |
|
|
What device are you using? _________________ Moderator - Handmark Tech Support |
|
Back to top |
|
|
Liberator Semi-frequent Poster
Joined: 21 Mar 2004 Posts: 28
|
Posted: Fri Apr 16, 2004 8:24 am Post subject: |
|
|
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. _________________ Yes, Sir! |
|
Back to top |
|
|
scottlu WI Founder
Joined: 15 Aug 2003 Posts: 1773
|
Posted: Fri Apr 16, 2004 9:47 am Post subject: |
|
|
What model palm phone are you using? We need the exact make please. _________________ Warfare Incorporated Development Team |
|
Back to top |
|
|
Liberator Semi-frequent Poster
Joined: 21 Mar 2004 Posts: 28
|
Posted: Sat Apr 17, 2004 5:31 am Post subject: |
|
|
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. _________________ Yes, Sir! |
|
Back to top |
|
|
Liberator Semi-frequent Poster
Joined: 21 Mar 2004 Posts: 28
|
Posted: Sat Apr 17, 2004 5:34 am Post subject: |
|
|
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. _________________ Yes, Sir! |
|
Back to top |
|
|
|