Description

I’ll bootstrap a small “debug lab” to level up and foster low-level debugging skills at SUSE.

I’ll create a repository with reproducible C programs (hello world, deliberate segfaults, leaks, and a simple multi-threaded race) and debug them using gdb (with and without debuginfo) and rr.

The focus is on practical, step-by-step walkthroughs and “first 5 minutes” cheat-sheets that make it faster to go from “it crashed” to understanding the exact failing instruction and root cause.

Goals

  • Set up a “debug lab” repo with a small set of self-contained C examples (segfault, memory leak, data race, etc.) and simple build/run scripts.
  • For each example, write at least one complete gdb walkthrough (with and without debuginfo), plus an rr session for the multi-threaded case.

  • Produce initial one-page cheat-sheets for:

    • GDB in the first 5 minutes (no debuginfo-friendly)
    • GDB + rr for multi-threaded crashes

This is ongoing work that will be taken further after Hackweek 2025 has ended (it's a personal goal of mine).

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 25

Activity

  • about 5 hours ago: mschreiner started this project.
  • about 5 hours ago: mschreiner originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    This project is one of its kind!