A bus error is typically associated to writing to an erroneous memory
location.  i.e. writing 5 characters to a 4 char array.
Make sure you allocated memory when using pointers or the pointers have
adequate memory allocated.
Make sure you add one byte for NULL when allocating memory for character
strings.
To find the location, place breakpoints in your code and use the debugger to
find where the bug occurs.

----- Original Message -----
From: "Praveen Potineni" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, September 13, 2001 6:42 PM
Subject: Bus Error


> Hi All,
>
> I am trying to debug an application using pose 3.2 and i'm getting these
> errors:
>
> 1)"*** just read from memory location 0x00000006, which is in low memory."
> and when i continue the debugger i get second error
> 2)"*** just read from memory location 0x47121113, causing a bus error."
>
> Can u help me with this..i'm new to palm development and i'm not yet quite
> sure how to debug and find unintialized variables...
>
> Thanks
> Praveen
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>



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

Reply via email to