This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/20500] New: dlopen of libpthread in static executable crashes
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 22 Aug 2016 09:31:43 +0000
- Subject: [Bug nptl/20500] New: dlopen of libpthread in static executable crashes
- Auto-submitted: auto-generated
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.