Description of problem: Run the "dlopen.sh" script provided in BZ#227097 on the debug pam_krb5.so library and try to load it: # ./dlopen.sh /usr/lib/debug/lib/security/pam_krb5.so.debug ./dlopen.sh: line 81: 20519 Segmentation fault $tempdir/dlopen $modules Version-Release number of selected component (if applicable): pam_krb5-2.1.17-1 How reproducible: Always Steps to Reproduce: 1. Download the "dlopen.sh" script from BZ#227097 2. # locate pam_krb5.so.debug /usr/lib/debug/lib/security/pam_krb5.so.debug 3. # ./dlopen.sh /usr/lib/debug/lib/security/pam_krb5.so.debug ./dlopen.sh: line 81: 20519 Segmentation fault $tempdir/dlopen $modules Actual results: Segmentation fault Expected results: Successful or unsuccessful pam_krb5.so.debug load or message the process is unable to load the library. No crash. Additional info: This bug was discovered as part of the cycle of the RHEA-2007:0790 advisory testing.
Do we even expect this to work? The debuginfo file, so far as I can tell, doesn't include its text segment. Moving to glibc to get some input.
Yes, this is to be expected, garbage in, garbage out. *.so.debug are not shared libraries, they are separate debug info data.