deadlog
github.com · Package · Maintained
Drop-in mutex wrapper for finding Go deadlocks while debugging
- Developer tools
- Package
- Go
- Day-7 check
- Day-30 check
- Stars
- 36
- Forks
- 0
- Open issues
- 0
- Last commit
- Found
- 9 months ago
GitHub figures as of . They are context, not a ranking.
deadlog is a Go package that offers a near drop-in replacement for Mutex and RWMutex, using runtime.Callers to record where locks are taken and helping locate deadlocks. The author says it is meant for temporary debugging and should not land in commits, and it suits Go developers who debug locking problems with print statements.
Repository description on GitHub: “Find mutex deadlocks in Go code. ”
What it does
- Drop-in replacement for sync.Mutex and sync.RWMutex
- Logs lock start, acquisition and release events with call sites
- Correlation IDs that expose locks that were never released
- Named callsites for individual lock operations
Good for
- Find where a Go program takes a lock and never releases it
- Swap a mutex for a logged one to track down a deadlock
Suits: Go developers debugging locking problems.
Worth knowing: Meant for temporary debugging, so the author says it should not be committed.
What you can try
Read the README on GitHub and install from source.
Install
go install github.com/stevenctl/deadlog/cmd/deadlog@latestTaken from the project’s README. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw deadlog on , when dirteater_ posted it to Show HN. GitHub listed no published releases for stevenctl/deadlog when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 30 points, 1 comment. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 30 points, 1 comment. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: stevenctl/deadlog
- Found: dirteater_ posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was deadlog released?
- No dated release record is available. Kip found it on Show HN on 10 Feb 2026.
- Is deadlog open source?
- Its source is public on GitHub at stevenctl/deadlog under the MIT licence.
- What does deadlog run on?
- Library.
- Is deadlog free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is deadlog still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | stevenctl/deadlog REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-46963736. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.