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 nptl/20500] New: dlopen of libpthread in static executable crashes


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.

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