Messages in this thread | | | Subject | Re: Question about Kernel Reporting Sigfaults in <arch>/mm/fault.c | From | Andi Kleen <> | Date | 07 Jul 2006 14:19:31 +0200 |
| |
Sean Kamath <skamath@anim.dreamworks.com> writes: > > exception_trace is set to 1 (line 296) and not used anywhere else in the file. >
It can be set using /proc/sys/debug/exception-trace
> The question(s): Is this intentional (to have segfaults reported on x86_64,
Yes.
> I admit, it would be nice to be able to toggle on and off segfault > reporting in the kernel (from a system administration point of view, this > is helpful to be able to go back to developers and say 'your program is > crashing a lot' -- something necessary if you are protecting end-users from > a lot of core files . . .) on all platforms.
It was originally was added when the port was still young to debug user land faster, but it keeps people honest and is still very useful.
In fact it found some long standing bugs that were never noticed on i386 with programs silently segfaulting.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |