[Bug nptl/20116] use after free in pthread_create

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Thu May 19 12:14:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=20116

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Created attachment 9279
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9279&action=edit
tst-create-detached.c

Reproducer.  It works on two-core laptop (with hyper-threading).  I could not
get it to work on large x86_64 and ppc64le servers, even with changed
parameters.

Crash is in the expected place:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff77fd700 (LWP 3336)]
__pthread_create_2_1 (newthread=newthread@entry=0x7ffff77fcf48,
attr=attr@entry=0x6020e0 <detached>, 
    start_routine=start_routine@entry=0x400c40 <do_nothing>, arg=arg@entry=0x0)
at pthread_create.c:698
698           if (pd->stopped_start)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list