What can cause SIGBUS (bus error) on a generic x86 userland application in Linux? All of the discussion I've been able to find online is regarding memory alignment errors, which from what I understand doesn't really apply to x86.
(My code is running on a Geode, in case there are any relevant processor-specific quirks there.)
SIGBUS
can happen in Linux for quite a few reasons other than memory alignment faults - for example, if you attempt to access an mmap
region beyond the end of the mapped file.
Are you using anything like mmap
, shared memory regions, or similar?