mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-21 08:02:03 -04:00
ae3ab88153
It's a 32-bit pointer and passed on the stack; the upper 32 bits of the stack slot are garbage. This means that we ask the kernel to write to some random 64-bit location, which it will just silently fail to do (the process is in x32 mode; nothing can be mapped up there), and consequently, the thread's child_tid field will never be populated, causing a later join() to hang.