2 posts tagged “debugging”
2026
Thread locks don’t cross process boundaries
Thread locks don’t cross process boundaries I’ve been building a voice-to-text daemon that transcribes speech and injects it into my terminal using xdotool. Today I hit a bug that took me way too long to diagnose. The symptoms were genuinely weird, which is why I’m writing this up. The transcription …
Systematic Debugging the Overnight OOM
Tracking down the OOM event I woke up this morning to find my GNOME session had crashed overnight. Terminal sessions gone, browsers closed, had to log back in. The journalctl output told me why: an Out of Memory event that killed 48 processes at 00:56:33. My gut reaction was to …