 | >Any ideas on what's causing it? I've read other threads on it that >suggest it's caused by an invalid pointer, pointing to memory that >isn't there.
That's pretty much it. Somehow your program is trying to access memory that isn't there. That's the meaning of Bus Error.
Another thing that can cause something like this to happen is not using (or mis-using) function prototypes. Function prototypes, for functions being exported to other routines, should only be declared in one header file. Never copy a function prototype into other source (.c) files. If you end up changing the interface for that function and don't remember to update the prototypes in those other source files, the compiler and linker issue no messages but parameters won't match at runtime causing mucho headaches. This caused a Bus Error in code I took over a few years ago.
You should download docs on the Motorola Dragonball that your Palm uses and see what it does on a Bus Error. You can probably trace what caused the error or where it happened.
Good luck.
|
|