Sourceware Bugzilla – Bug 14474
LD_DEBUG=bindings produces incorrect data
Last modified: 2013-10-11 18:20:15 UTC
Created attachment 6580 [details]
Uli's patch to fix this 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.
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.
Uli's patch for this problem is attached. I haven't evaluated either the problem or the patch.
I don't get any difference in the output of LD_DEBUG=bindings with or without the patch.
Needs a reproducer.