This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [COMMITTED] Fix wake-up in sysdeps/nptl/fork.c.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Torvald Riegel <triegel at redhat dot com>
- Cc: GLIBC Devel <libc-alpha at sourceware dot org>
- Date: Tue, 13 Jan 2015 10:37:06 -0800 (PST)
- Subject: Re: [COMMITTED] Fix wake-up in sysdeps/nptl/fork.c.
- Authentication-results: sourceware.org; auth=none
- References: <1421108640 dot 23151 dot 20 dot camel at triegel dot csb>
> Committed this as obvious. The futex wake-up needs the address of the
> futex variable, not the value.
Yowza! That's a sure sign that we really need this cleanup to demacroify
this stuff and get proper type checking.
> I've searched glibc bugs for "fork", but
> didn't see a bug that seemed to be likely to be related to this.
The failure mode would be a hang at exit, which is not too likely to be
characterized in a user bug report in a way that would be easy to find.