[Bug nptl/20500] New: dlopen of libpthread in static executable crashes

schwab@linux-m68k.org sourceware-bugzilla@sourceware.org
Mon Aug 22 09:31:00 GMT 2016


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

            Bug ID: 20500
           Summary: dlopen of libpthread in static executable crashes
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: schwab@linux-m68k.org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

When libpthread is dynamically loaded into a static executable the reference to
_rtld_global is resolved to the instance in the (just loaded) ld.so, but when
the libpthread initializer is run nothing has initialized _rtld_global yet. 
This causes __pthread_initialize_minimal to crash when calling
GL(dl_error_catch_tsd).

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


More information about the Glibc-bugs mailing list