Sometimes when I run my code, a core dump file is generated when I terminate the program by Ctrl+. The file name is of the form core.*
. The program is not terminating abruptly, and there is no segmentation fault. I believe it is SIGQUIT
and not SIGABRT
or SIGSEGV
. If I try Ctrl+C, or Ctrl+Z, then it is not generated.
Can anyone tell why it is generated only when Ctrl+ is pressed? How can I avoid this core dump file from being generated? Is there any use for the core dumped file?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…