Bus Error
Henry Spencer
henry at utzoo.uucp
Mon Mar 12 08:31:43 AEST 1990
In article <16139.25F89344 at urchin.fidonet.org> Lynn.Lively at p4694.f506.n106.z1.fidonet.org (Lynn Lively) writes:
>Does anyone know what a "Bus Error" is? ...
You don't say what machine this is on, and that's important, because the
definition of "bus error" is system-specific. Typical cause is accessing
a multi-byte value at an improper alignment or accessing a part of your
address space which has not been allocated. The usual reason is trashed
pointers; common underlying problems are running off the end of an array
and trashing other variables, forgetting to initialize a pointer before
using it, or continuing to use a memory area after handing it to free().
--
MSDOS, abbrev: Maybe SomeDay | Henry Spencer at U of Toronto Zoology
an Operating System. | uunet!attcan!utzoo!henry henry at zoo.toronto.edu
More information about the Comp.lang.c
mailing list