A Bus Error generally means you wrote too much data into a variable or wrote
to an unallocated memory address.  Make sure you have allocated enough
memory for strings (plus NULL) and are not indexing an array beyond what was
allocated.
Make sure the row number you are passing exists, also check the lines
leading up to this one.  Sometimes the error is in the preceding code.

----- Original Message ----- 
From: "Ai Lee Tang" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 2:10 AM
Subject: "Bus Error" when init a table


> hi all,
>
> I converted my application from OS3.5 to OS5.0 using Code Warrior R6.
After
> converting it, when i tried to run it on emulator, i got an error message.
> The message is
>
> ".... just read from memory location 0x1C84FFFE, causing a bus error.
>
> a bus error means that the application accessed a memory location that is
> not in RAM or ROM, nor corresponds to a memory-mapped hardware register."
>
>
> Above error message whenever it tried to load data onto a table. This
error
> will prompt. where is the problem? I noticed that it stopped when it try
to
> execute "TblSetRowUsable (table, row, true)". If i remark this command, it
> can run but no data show on the table.
>
>
> Your help is much appreciated!
>
> rgds,
> ailee
>
> _________________________________________________________________
> Download the latest MSN Messenger http://messenger.msn.com.my
>
>
> -- 
> 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