User Tools

Site Tools


tutorials:troubleshooting:coredumpfile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorials:troubleshooting:coredumpfile [2018/01/02 11:37]
miconda [What do do with a core file]
tutorials:troubleshooting:coredumpfile [2020/09/04 10:50]
miconda [What do do with a core file]
Line 11: Line 11:
   * Errors in the program code, e.g. null pointer access   * Errors in the program code, e.g. null pointer access
  
-===== What do do with a core file =====+===== What to do with a core file =====
  
 Core files can be examined with **gdb**, the GNU debugger. It can read the crash informations, and display (among other things) the backtrace that leads to the crash. Just run: Core files can be examined with **gdb**, the GNU debugger. It can read the crash informations, and display (among other things) the backtrace that leads to the crash. Just run:
Line 72: Line 72:
 echo "1" > /proc/sys/kernel/core_uses_pid echo "1" > /proc/sys/kernel/core_uses_pid
 </code> </code>
 +
 +A similar command for FreeBSD:
 +
 +<code>
 +sysctl kern.corefile='%N.%P.core'
 +</code>
 +
  
 ===== Useful Links ===== ===== Useful Links =====
tutorials/troubleshooting/coredumpfile.txt ยท Last modified: 2021/04/29 08:22 by miconda