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/18778] New: ld.so crashes if failed dlopen causes libpthread to be forced unloaded


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

            Bug ID: 18778
           Summary: ld.so crashes if failed dlopen causes libpthread to be
                    forced unloaded
           Product: glibc
           Version: 2.22
            Status: NEW
          Keywords: glibc_2.22
          Severity: critical
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: schwab@linux-m68k.org
            Blocks: 17833
  Target Milestone: 2.22

If dlopen fails to load an object that has triggered loading libpthread it
causes ld.so to unload libpthread because its DF_1_NODELETE flags has been
forcefully cleared.  The next call to __rtdl_unlock_lock_recursive will crash
since pthread_mutex_unlock no longer exists.


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=17833
[Bug 17833] STB_GNU_UNIQUE symbols can lead to wrong behaviour of the dynamic
loader
-- 
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]