This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/22745] _nptl_setxid can loop forever if a dlmopen namespace tries to initialise pthreads after the main namespace does
- From: "vivek at collabora dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 06 Jun 2018 19:05:03 +0000
- Subject: [Bug dynamic-link/22745] _nptl_setxid can loop forever if a dlmopen namespace tries to initialise pthreads after the main namespace does
- Auto-submitted: auto-generated
- References: <bug-22745-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22745
Vivek Das Mohapatra <vivek at collabora dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10935|0 |1
is obsolete| |
--- Comment #14 from Vivek Das Mohapatra <vivek at collabora dot com> ---
Created attachment 11058
--> https://sourceware.org/bugzilla/attachment.cgi?id=11058&action=edit
Test case - loop-forever has several modes of operation which can trigger (or
not) the deadlock
usage: ./loop-forever
You may set any or all of the following env vars:
BLOCK=0 ./loop-forever # don't try to trigger the deadlock
SHARE=0 ./loop-forever # don't try to use RTLD_SHARED
DEBUG=1 ./loop-forever # print extra debug messages
--
You are receiving this mail because:
You are on the CC list for the bug.