TLDR Dev · ARTICLES & TUTORIALS
HOW A KERNEL BUG FROZE MY MACHINE: DEBUGGING AN ASYNC-PROFILER DEADLOCK
Summary from the TLDR Dev newsletter
This dev encountered a persistent machine freeze on their Linux kernel when using async-profiler for QuestDB. After reproducing the issue in a QEMU virtual machine, they used GDB to trace the problem to a specific kernel bug within a `perf_events` subsystem function. This bug caused a self-deadlock when a high-resolution timer attempted to cancel itself while its callback was still executing, making all CPUs unresponsive.