How do I find my core dump?

How do I find my core dump?
Answer
getting a stack trace from a core dump is pretty approachable!
  1. make sure the binary is compiled with debugging symbols.
  2. set ulimit and kernel. core_pattern correctly.
  3. run the program.
  4. open your core dump with gdb , load the symbols, and run bt.
  5. try to figure out what happened!!
 

Tìm kiếm

Back
Top