Bus error is like a GPF on your PC.  Its likely your app wrote to an invalid
memory location or over bounded a variable accidentally.  Look at your code
in the general area of the bus error and see if you copied too many
characters into a string or wrote data into an invalid pointer.

Think of a segment as a piece of string, its length is proportional to the
code size.  Each function/routine in your app is a segment.  The compiler
lays each piece of string end to end and keeps a table of where each piece
starts.  In the Palm OS, you cannot jump from one string to another if they
are too far apart.

----- Original Message -----
From: "acky" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, July 10, 2003 4:22 AM
Subject: bus error`


>     Hi:
>         everybody,i 'd need your help.i encouter "bus error" .i'd like to
> know what has caused this problem and how can i solve this problem.Can
> someboy explain the "multisegment code" for me ?
>
>
>
> --
> 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/

Reply via email to