From http://qr.ae/TUTxgN
SIGQUIT is the dump core signal. The terminal sends it to the foreground process when the user presses
ctrl-\
. The default behavior is to terminate the process and dump core, but it can be caught or ignored. The intention is to provide a mechanism for the user to abort the process. You can look at SIGINT as "user-initiated happy termination" and SIGQUIT as "user-initiated unhappy termination."
$ sleep 100
^\[1]+ Done nohup sleep 100
Quit (core dumped)
But I can't find the dump file in the current directory. Where is it? Thanks.
$ cat /proc/sys/kernel/core_pattern
says|/usr/share/apport/apport %p %s %c %d %P
. Does it tell us where to find the file? – Tim May 26 '18 at 22:28/var/crash
, or (more likely)/var/lib/systemd/coredump
. It will be named after the program which crashed. – Stephen Kitt May 27 '18 at 07:40/proc/sys/kernel/core_pattern
suggest the two places? – Tim May 28 '18 at 00:01core_pattern
indicate that core dumps are fed toapport
; I’ll look into where it stores them (I thought it would be/var/crash
). – Stephen Kitt May 28 '18 at 05:26