Như Quỳnh Lan
New member
How do I debug a core dump?
Answer
2 Answers. You just need a binary (with debugging symbols included) that is identical to the one that generated the core dump file. Then you can
run gdb path/to/the/binary path/to/the/core/dump/file to debug it. When it starts up, you can use bt (for backtrace) to get a stack trace from the time of the crash.
Answer
2 Answers. You just need a binary (with debugging symbols included) that is identical to the one that generated the core dump file. Then you can
run gdb path/to/the/binary path/to/the/core/dump/file to debug it. When it starts up, you can use bt (for backtrace) to get a stack trace from the time of the crash.