![](https://seccdn.libravatar.org/avatar/8576ac1b72af7a8d7391dbaa48c37e65.jpg?s=120&d=mm&r=g)
Bernd Brodesser wrote:
* Ralf Corsepius schrieb am 07.Jun.2001:
Wie reagiert eigentlich Linux auf eine Speicherschutzverletzung? Ich habe es erst seit einem halben Jahr im Einsatz. :-))) In der Regel mit dem Signal SIGSEGV (Segmentation Fault), in harten Fällen auch mit SIGBUS (Bus Error), sowie einem Core-Dump.
Glaube ich kaum, denn bei Linux gibt es kein SIGBUS.
Doch.
Siehe hierzu man 7 signal
Aus man 7 signal: Signal Value Action Comment ------------------------------------------------------------------------- SIGBUS 10,7,10 C Bus error (bad memory access) [..[ (For the cases SIGSYS, SIGXCPU, SIGXFSZ, and on some architectures also SIGBUS, the Linux default action up to now (2.3.27) is A (terminate), while SUSv2 prescribes C (terminate and dump core).) Siehe auch: find /usr/src/linux -exec grep SIGBUS {}\; Ralf