Transcription of Linux Crash Dump Analysis - Univerzita Karlova
{{id}} {{{paragraph}}}
dump Analysis 2014/2015 CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physicsfaculty of mathematics and physicsLinux Crash DumpAnalysisLinux Crash DumpAnalysisCrash dump Analysis 2014/20152 LinuxAgendaAgendaUserspace debuggingUnderstanding kernel oops/panic outputCreating kernel Crash dumpsTools for Crash dump analysisDebugging live systemsCrash dump Analysis 2014/20153 LinuxUser space debuggingUser space debuggingCrashing applicationThrough an (unhadled) signalSIGABRT, SIGFPE, SIGSEGV, produces a line in kernel log (dmesg)modprobe[833]: segfault at 7fff76200038ip 00007f0de8422fc2 sp 00007fff761b6cb0error 4 in [7f0de8420000+20000]Will produce a core(5) file ifLimits allow it (ulimit -c; /etc/ )Binary is readable and not stuck in syscallcat /proc/$PID/stackCrash dump Analysis 2014/20154 LinuxUser space debuggingUser space debuggingExecuting a program under gdbRelies on the ptrace(2) syscallgdb /path/to/binary(gdb) run $param1 $param2.
Crash Dump Analysis 2014/2015 Linux 4 User space debugging Executing a program under gdb Relies on the ptrace(2) syscall gdb /path/to/binary (gdb) …
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}