Apollo Autonomous Driving Development Notes 46 - Generation and debugging of apollo coredump
First level directory
Most systems have the core dump function turned off by default and need to be turned on again.
1. Check if core dump is open
Press the shortcut key "Ctrl+Alt+T" to open the command terminal and enter the command:
ulimit -c
If the output result is 0, it means that the core dump function is turned off by default, that is, when the program terminates abnormally, no core dump file will be generated.
2. Open the core dump in the current command terminal
Use command:
ulimit -c unlimited
The core dump function of the current command terminal can be turned on without limiting the size of the core dump file; if you need to limit the file size, modify unlimited.