[techtalk] gcc versions and bus error
Jeff Dike
jdike at karaya.com
Tue Feb 29 12:06:57 EST 2000
> Hm, maybe this should be a FAQ. Both indicate that youre accessig
> memory that you shouldn't.
A segfault does.
I did a quick check of the kernel (core kernel + arch/i386), and found two
places where processes get SIGBUS:
swapping out a process failing to free any memory (swap_out in mm/vmscan.c)
the page fault handler failing to handle a fault because it's out of memory
(do_page_fault in arch/i386/mm/fault.c).
Other unixes probably do things differently.
Jeff
************
techtalk at linuxchix.org http://www.linuxchix.org
More information about the Techtalk
mailing list