This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] nptl: Avoid expected SIGALRM in most tests [BZ #20432]
- From: Florian Weimer <fweimer at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 15 Mar 2017 14:26:13 +0100
- Subject: Re: [PATCH] nptl: Avoid expected SIGALRM in most tests [BZ #20432]
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 7FA342B97F2
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7FA342B97F2
- References: <20160817125455.B3F11439942E2@oldenburg.str.redhat.com> <mvmfulp1912.fsf@hawking.suse.de> <00899f6a-95e0-ac96-5224-809342985e54@redhat.com> <mvmo9x2wujf.fsf@hawking.suse.de>
On 03/15/2017 02:15 PM, Andreas Schwab wrote:
On Dez 15 2016, Florian Weimer <fweimer@redhat.com> wrote:
The test previously called exit from the signal handler. Why did it work
before?
That only "works" because _IO_cleanup is not thread-safe.
Sorry, I don't see the test failure. Based on the comments in
libio/genops.c, I think there is an expectation that even with locked
stdout, exit does not block.
In other words, if this test times out for you, this is a genuine bug,
not an issue with this test.
I may be missing something, but in that case, please elaborate.
Thanks,
Florian