This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/22745] _nptl_setxid can loop forever if a dlmopen namespace tries to initialise pthreads after the main namespace does


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]