Debugging SIGBUS on x86 Linux
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?