This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/19430] New: __reclaim_stacks is bogus
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 05 Jan 2016 16:35:12 +0000
- Subject: [Bug nptl/19430] New: __reclaim_stacks is bogus
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19430
Bug ID: 19430
Summary: __reclaim_stacks is bogus
Product: glibc
Version: 2.23
Status: NEW
Severity: normal
Priority: P2
Component: nptl
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
If I read the __reclaim_stacks code correctly, it frees the stack of all other
threads after a fork. This is not a safe thing to do because pointers to
on-stack data may have been written to global variables or shared with the
current thread by other means, and those objects have to be remain valid after
fork.
--
You are receiving this mail because:
You are on the CC list for the bug.