This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/16272] New: dlopen()ing a DT_FILTER library crashes if filtee has constructor
- From: "brnguyen at nvidia dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 27 Nov 2013 21:55:44 +0000
- Subject: [Bug dynamic-link/16272] New: dlopen()ing a DT_FILTER library crashes if filtee has constructor
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16272
Bug ID: 16272
Summary: dlopen()ing a DT_FILTER library crashes if filtee has
constructor
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: brnguyen at nvidia dot com
Created attachment 7309
--> https://sourceware.org/bugzilla/attachment.cgi?id=7309&action=edit
Reproduction test case
The attached test case loads a DSO which has a DT_FILTER set to a shared
object with a constructor function. This segfaults on RHEL 6.4, and on an
ld.so built from commit a9503496671bb22278bd1203182066f0bb28239a, this
crashes with the following assertion:
Inconsistency detected by ld.so: dl-deps.c: 586: _dl_map_object_deps:
Assertion `map->l_searchlist.r_list[0] == map' failed!
This also reproduces if I replace "--Wl,--filter=libtest.so.1" with
"--Wl,--auxiliary=libtest.so.1" in the Makefile.
--
You are receiving this mail because:
You are on the CC list for the bug.