Warfare Incorporated :: View topic - Stack overflow?
Warfare Incorporated Forum Index
 FAQ   Search   Memberlist   Usergroups 
 Profile   Log in to check your private messages   Log in 
 
Stack overflow?

 
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Liberator
Semi-frequent Poster


Joined: 21 Mar 2004
Posts: 28

PostPosted: Thu Apr 08, 2004 11:47 am    Post subject: Stack overflow? Reply with quote

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
View user's profile Send private message
claxbane
Site Admin


Joined: 15 Aug 2003
Posts: 331
Location: Seattle, WA

PostPosted: Thu Apr 15, 2004 1:36 pm    Post subject: Reply with quote

What device are you using?
_________________
Moderator - Handmark Tech Support
Back to top
View user's profile Send private message Send e-mail
Liberator
Semi-frequent Poster


Joined: 21 Mar 2004
Posts: 28

PostPosted: Fri Apr 16, 2004 8:24 am    Post subject: Reply with quote

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
View user's profile Send private message
scottlu
WI Founder


Joined: 15 Aug 2003
Posts: 1773

PostPosted: Fri Apr 16, 2004 9:47 am    Post subject: Reply with quote

What model palm phone are you using? We need the exact make please.
_________________
Warfare Incorporated Development Team
Back to top
View user's profile Send private message
Liberator
Semi-frequent Poster


Joined: 21 Mar 2004
Posts: 28

PostPosted: Sat Apr 17, 2004 5:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Liberator
Semi-frequent Poster


Joined: 21 Mar 2004
Posts: 28

PostPosted: Sat Apr 17, 2004 5:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> General Discussion All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2002 phpBB Group