Red Hat Bugzilla – Bug 834636
Wrong binding info reported for dlopen
Last modified: 2016-11-24 10:52:37 EST
Created attachment 593785 [details]
Patch to fix the problem
Description of problem:
The binding information printed for LD_DEBUG=bindings is incorrect when dlopen is used. This severely hinders people debugging problems with audit modules and other problems.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.find program which uses dlopen with a handle returned by dlopen
The 'from' map is reported to be the map with the definition
The from 'from' map should be reported.
This is a problem in RHEL6 as well and should be fixed there as well.
Uli, is there a reason why you haven't installed this into the official glibc sources?
While we can and do carry some local changes, our preference would be to minimize such changes. This seems like a case where, as a glibc maintainer, you should install the change upstream and I'll pull it from there.
An upstream bug has been filed (#14474) and your patch attached to that upstream report. If/when the upstream glibc maintainers install that patch, we'll pick it up for Fedora via our normal merging processes.