
signal BUS (invalid address alignment) !!!!!!
Quote:
> signal BUS (invalid address alignment)
> can ayone tellme what it is?????
A bus error occurs when addresses in memory are fetched into the
registers of a RISC processor, but are not aligned properly. The speed
of these chips comes partially at a price of aligning data in memory
on certain boundaries to make fetches and stores faster. If you violate
this alignment restriction, you get a bus error.
However, this is rarely the true cause of a bus error. Mostly it's
caused by a wild pointer that happens to point to unaligned memory.
A bus error is more precise than a segmentation fault.
A good de{*filter*} ought to be able to tell you what your program
was doing when it crashed, and most likely it was dereferencing
a pointer.
Scott