I ran an application under gdb. After a few hours I got "Program received signal SIGBUS, bus error. [Switching to Thread x]". Usually what causes the bus error? How to debug this kind of problem? Thanks a lot.