Skip to content← All gravesR.I.P.
while (true) with no break
–
“Still running. Please do not disturb.”
C++Infinite loop
Death certificate
- Status
- 🪦 Buried
- Cause of death
- Infinite loopNever finished. Died of exhaustion and took the browser tab with it.
- Severity
- Medium
- Hours to kill
- 1 hour
- Killed by
- Jashanpreet
- Language
- C++
- Born
- 30 Jun 2025
- Fix merged
- 1 Jul 2025
- Buried
- 10 Jul 2025
- Component
- worker
- Symptoms
- The background worker pinned one CPU core at 100% and never finished its batch.
- The fix
- Added the missing break when the queue is empty.
Timeline
Every life of this bug, oldest first.
- 🐛
Born as “while (true) with no break”30 Jun 2025
- 🩹
Fix merged1 Jul 2025
- 🪦
Buried10 Jul 2025