Accelerated Linux Core Dump Analysis

Gain insights into debugging Linux process and kernel failures using GDB and crash utility. Delve into memory dump analysis, identifying issues like memory leaks, CPU spikes, and deadlocks.

Advanced

53 Lessons

15h

Certificate of Completion

Gain insights into debugging Linux process and kernel failures using GDB and crash utility. Delve into memory dump analysis, identifying issues like memory leaks, CPU spikes, and deadlocks.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

24 Playgrounds
13 Quizzes

This course includes

24 Playgrounds
13 Quizzes

Course Overview

It’s essential to examine core dumps to diagnose any non-trivial hangs or crashes due to a user process or the kernel faults. Most people have no training in dealing with core dumps, so the causes of most crashes remain undiagnosed. This course starts with debugging core dumps. You will learn how to debug the Linux process and kernel failures (using the GDB debugger and the crash utility), browse core memory dumps, identify corruption, memory leaks, CPU spikes, halted threads, deadlocks and wait chains, am...Show More

TAKEAWAY SKILLS

Debugging

Bash

What You'll Learn

A working knowledge of how to collect core dumps

A hands-on knowledge on how to diagnose crashes/hangs via core dump analysis

The ability to apply pattern-oriented analysis on 64-bit core dumps on x86 architecture

A familiarity with debugging to diagnose common faults

The ability to use GDB debugger to analyze Linux process core dump

An understanding of using the crash utility to analyze Linux kernel core dumps

What You'll Learn

A working knowledge of how to collect core dumps

Show more

Course Content

1.

Getting Started

Get familiar with core dump analysis and practical skills for diagnosing crashes and hangs.
2.

Fundamentals of Core Dump Analysis

Grasp the fundamentals of core dump analysis in Linux, covering memory, threads, exceptions, and diagnostics.
3.

Using GDB With Multi-Threaded Applications

Work your way through debugging multi-threaded applications using GDB commands and core dump analysis.
4.

Null Pointer Patterns and External Debugging Information

Apply your skills to detect and debug NULL pointer exceptions using core dump analysis.
5.

Spiking Threads

Take a closer look at spiking threads, their identification, and in-depth analysis patterns.
6.

Heap Corruption

3 Lessons

Follow the process of identifying and debugging heap corruption to manage dynamic memory issues effectively.
7.

Stack Corruption and Overflow

4 Lessons

Master the steps to identify and resolve stack corruption and overflow issues using core dump analysis.
8.

Active Threads

3 Lessons

Learn how to use core dump analysis to identify and diagnose active thread issues.
9.

Runtime Exceptions and Execution Residues

3 Lessons

Unpack the core of detecting runtime exceptions and analyzing execution residues in Linux dumps.
10.

Heap Errors

4 Lessons

Lay out a solution for diagnosing and resolving heap leaks, contention, and critical region errors.
11.

Deadlocks

2 Lessons

Find out about deadlock identification through core dumps, thread stack examination, and mutex analysis.
12.

Post-processing

2 Lessons

Solve problems in analyzing core dumps through memory snapshots, functions, and variable insights.
13.

Kernel Dump Analysis with Crash

7 Lessons

Investigate kernel core dumps and utilize the crash tool for extensive debugging.
14.

Wrapping Up

2 Lessons

Build on your core dump analysis skills with FAQs and comprehensive troubleshooting knowledge.
15.

Appendix

2 Lessons

Try out installing essential debugging tools and utilizing advanced analysis patterns.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor