It calls SysGetStackInfo to get the low-end of the stack, takes the address of a
local variable to get something close to the current stack pointer, and compares
the two.
But what confuses me is why Poser wouldn't report the problem first. Version
3.0a4 checks for this.
-- Keith Rollin
-- Palm OS Emulator engineer
Christopher Hunt <[EMAIL PROTECTED]> on 02/07/2000 03:53:36 AM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: Christopher Hunt <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/HQ/3Com)
Subject: OS 3.5: Stack Overflow Check
Hi there,
After making a call to TimSetSeconds I sometimes get the following
message: "NotifyMgr.c Line 2269, Stack Overflow". I'm using the PalmOS
3.5 debug rom.
Can anyone explain how the NotifyMgr is validating that the stack has
overflowed? I presume that its different to testing the return value of
SysGetStackInfo given a call being made to PrvCheckStackSpace. Perhaps
there's some watermark being tested...
Thanks in advance for the info.
Kind regards,
--
Christopher Hunt
Class Action Pty. Ltd.
Complete time zone management for the Palm(tm) connected organizer.
Check out http://www.classactionpl.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palm.com/devzone/mailinglists.html
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html