Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Re-enabling kernel segfault messages

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
bariumbitmap
Posts: 13
Joined: 2014-03-17 21:59

Re-enabling kernel segfault messages

#1 Post by bariumbitmap »

I used to get segfault messages like this in dmesg:

Code: Select all

pstree[25678]: segfault at 0 ip 00007f58be0b3ae4 sp 00007ffe65b700a0 error 4 in libc-2.24.so[7f58be04d000+195000]
But since I've tried packages like systemd-coredump and corekeeper, the kernel messages have disappeared.

Do I re-enable them with a kernel argument or something like that?

bariumbitmap
Posts: 13
Joined: 2014-03-17 21:59

Re: Re-enabling kernel segfault messages

#2 Post by bariumbitmap »

For posterity, the relevant kernel parameter is "debug.exception-trace".

Code: Select all

$ sysctl debug.exception-trace 
debug.exception-trace = 1
My issue was actually different; I was using a test program that raised SIGSEGV and created a core dump, but didn't actually access invalid memory. More details here:

https://unix.stackexchange.com/question ... s-in-dmesg

Post Reply