Description of problem:
Attempting to execute eu-unstrip
Version-Release number of selected component (if applicable):
compile the attached program dl3, and execute it with the single argument
/lib64/libauparse.so.0.0.0 ( I just picked this lib at random to dlopen, I suspect others will have same problem)
The program with dlopen the named lib, then pause.
Next, coredump dl3 (I type ctrl-\)
Finally run eu-unstrip -n -e ./dl3 --core=core.xxxx
and I get
[washer@p6 dlopen-library]$ eu-unstrip -n -e dl3 --core=core.26032
eu-unstrip: link_map.c:566: consider_executable: Assertion `m == mod' failed.
Aborted (core dumped)
A listing of the dl3 maps
Created attachment 331269 [details]
This is the (1st) core file created by intentionally killing the dl3 test program
Created attachment 331270 [details]
This is the core from eu-unstrip dumping
Created attachment 331271 [details]
This is libauparse.so.0.0.0 that I opened in dl3 as a test
Per rmcgrath's suggestion in the gdb IRC, I dowloaded elfutils 0.139 and found the same behaviour.
Per rmcgrath's suggestion, I downloaded, built, and tried elfutils 0.139. Same results, eu-unstrip core dumps.
You did not attach the dl3 binary. The binaries required are the ones you passed to eu-unstrip, which are this and the core file.
Created attachment 331474 [details]
dl3 binary which generated the oginial core having been killed
This is fixed upstream (and in Fedora) as of 0.140.
We are unlikely to rebase elfutils in RHEL5 or bother to backport obscure fixes like this. Reopen if you really want a RHEL5 update for this. There are many fixes in this area upstream and the problems won't be present in RHEL6.