I realize we are reading from garbage.  In this case whether we interpret the garbage 
as true or false doesn't really matter (in terms of doing something potentially bad in 
either case).  I'm just wondering if the act of accessing the memory (which causes a 
bus error on the emulator), will leave our app or the OS in a bad state....

Kevin

-----Original Message-----
From: Dennis Leas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 11:53 AM
To: Palm Developer Forum
Subject: Re: Opinions on Expectation of problems with a known invalid
global data access.


Doesn't this amount to reading a value from an ill-defined location then
taking an action based on the value?  Sounds like trouble brewing...

Dennis Leas
-------------------
[EMAIL PROTECTED]


----- Original Message -----
From: "Kevin OKeefe" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, February 12, 2003 2:37 PM
Subject: Opinions on Expectation of problems with a known invalid global
data access.


> Our application handles a non-global launch code (via an alarm).  Someone
has inadvertently added a global flag to the code that handles the launch
code.  The code in question only READS the global - it does not change it.
I have demonstrated to myself and my colleagues that this code cases a Bus
Error on the emulator.  However, on a real device (m500), a crash does not
occur.
>
> My question to you all is:  What is your expectation for the state of the
device after this global is accessed on a real device?  An immediate crash
(not seen), a crash eventually, or never a crash.
>
> We do have an intermittent problem and I'm holding this global access
suspect, but we have been unable to demonstrate a crash after knowingly
running this code several times.
>
> Thanks,
> Kevin
>
> Kevin O'Keefe
> Senior Software Engineer
>
> invivodata, inc. �
> the science of patient experience�
>
> 5615 Scotts Valley Drive
> Scotts Valley, CA 95066
> Tel: (831) 438-9527
> Fax: (831) 440-1770
>
> email: [EMAIL PROTECTED]
> <http://www.invivodata.com>
>
>
>
>
> ------------------------------------------
> The information in this transmittal and any attachments are confidential
and intended only for the recipient(s) listed above. You are hereby notified
that any unauthorized distribution or copying of this transmittal or its
attachments is prohibited. If you have received this transmittal in error,
please notify invivodata immediately at (831) 438-9550.
> ------------------------------------------
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


------------------------------------------
The information in this transmittal and any attachments are confidential and intended 
only for the recipient(s) listed above. You are hereby notified that any unauthorized 
distribution or copying of this transmittal or its attachments is prohibited. If you 
have received this transmittal in error, please notify invivodata immediately at (831) 
438-9550.
------------------------------------------


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to