Tokio + prctl = nasty bug
Recently I encountered a bug so cute that I immediately knew that I will want to share it on my blog. It was one of those bugs that even Rust can’t save you from. It occurred in HyperQueue (HQ), a distributed task scheduler written in Rust that I work on.
Hasnain says:
“In the end, it took me probably less than an hour to find, diagnose and fix this bug, so it wasn’t that bad, as far as bughunting stories go. But I found the bug to be sort of beautiful, so I wanted to share it anyway.
I hope that you found this bughunt case interesting, and that you perhaps also learnt something new along the way.”
Posted on 2025-02-24T06:18:52+0000