runtime: program terminated with signal 7, bus error

signal(7) - Linux manual page A signal may be thread-directed because it was generated as a consequence of executing a specific machine-language instruction that triggered a hardware exception (e.g., SIGSEGV for an invalid memory access, or SIGFPE for a math error), or because it was targeted at a specific thread using interfaces such as tgkill(2) or pthread_kill(3). A x86でbus errorを起こす - Qiita とりあえず調べた限りにおいては、「SIGBUSを発生させるシステムコールを呼ぶ」「アラインメントチェックを有効にした上でアラインメントエラーを起こす」の二通りでBus errorを起こせることがわかった。 mmapを使う. StackOverflowにあった例。mmapで確保した

signal(7): overview of signals - Linux man page

Bug 1491342 - corosync crashed on SIGBUS (terminated with signal 7, Bus error) Summary: corosync crashed on SIGBUS (terminated with signal 7, Bus error) Keywords: Status: CLOSED DUPLICATE of bug 1536219: Alias: None Product: Red Hat Enterprise Linux 7 Classification: Red Hat Component: signal(7) - Linux manual page A signal may be thread-directed because it was generated as a consequence of executing a specific machine-language instruction that triggered a hardware exception (e.g., SIGSEGV for an invalid memory access, or SIGFPE for a math error), or because it was targeted at a specific thread using interfaces such as tgkill(2) or pthread_kill(3). A

For more complete information about compiler optimizations, see our Optimization Notice.

US Patent Application for An Error Amplifier Patent