https://bugs.kde.org/show_bug.cgi?id=528176

--- Comment #1 from Petar Jovanovic <[email protected]> ---
Line 32 passes a made-up handle, "thread + 8", to pthread_detach().
Since the fix for [glibc bug
19951](https://sourceware.org/bugzilla/show_bug.cgi?id=19951), pthread_detach()
cleans up a thread that looks finished by running the join code. With the
shifted handle, glibc frees a fake thread stack and segfaults. Older glibc only
did a compare-and-swap on that memory, which happened to be harmless.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to