Bug 22207

Summary: FAIL: stdlib/test-atexit-race
Product: glibc Reporter: H.J. Lu <hjl.tools>
Component: libcAssignee: Paul Pluzhnikov <ppluzhnikov>
Status: RESOLVED FIXED    
Severity: normal CC: drepper.fsp, ppluzhnikov
Priority: P2 Flags: fweimer: security-
Version: 2.27   
Target Milestone: 2.27   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:

Description H.J. Lu 2017-09-25 22:51:19 UTC
On i686, I got

FAIL: stdlib/test-atexit-race
FAIL: stdlib/test-on_exit-race

[hjl@gnu-efi-2 build-i686-linux]$ ./stdlib/test-atexit-race
error: xpthread_check_return.c:32: pthread_create: Resource temporarily unavailable
error: 1 test failures
[hjl@gnu-efi-2 build-i686-linux]$ ./stdlib/test-on_exit-race
error: xpthread_check_return.c:32: pthread_create: Resource temporarily unavailable
error: 1 test failures
[hjl@gnu-efi-2 build-i686-linux]$
Comment 1 Sourceware Commits 2017-09-26 00:52:13 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  8f8349870fbcd822b0bdbd3200bc0245f812dae4 (commit)
      from  3de93d194a5d27cabfe40ddf58aea36939498ba4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8f8349870fbcd822b0bdbd3200bc0245f812dae4

commit 8f8349870fbcd822b0bdbd3200bc0245f812dae4
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Mon Sep 25 17:51:34 2017 -0700

    Reduce total memory required to create all threads to 128MiB. This fixes
    intermittent failure in stdlib/test-{atexit,at_quick_exit,...} tests
    (Bug 22207).

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                        |    6 ++++++
 stdlib/test-atexit-race-common.c |    5 +++++
 2 files changed, 11 insertions(+), 0 deletions(-)
Comment 2 Paul Pluzhnikov 2017-09-26 00:53:52 UTC
Fixed.
Comment 3 H.J. Lu 2017-09-26 01:14:34 UTC
Fixed.