Comment 14 for bug 415424

Revision history for this message
Alex Bennée (ajbennee) wrote :

I wrote a quick script and found that the only debug symbols I'm sure are suspect were the origin -dbg version of the libcairo ones. There are a bunch of files in the top level of /usr/lib/debug which don't match but I was kinda guessing, e.g.:

14:31 ajb@pitcairn/x86_64 [dbgsym.git] >./dbgsym.py -a -f /usr/lib/debug/ld-linux-x86-64.so.2
couldn't find paired library for: /usr/lib/debug/ld-linux-x86-64.so.2
trying alt: /lib/ld-linux-x86-64.so.2
debug_file: /usr/lib/debug/ld-linux-x86-64.so.2 has CRC of 77A3FBF0
actual_file: /lib/ld-linux-x86-64.so.2 thinks CRC should be 17CC7B66

But some don't make sense. For example:

/lib/libnss_nis-2.7.so
/lib32/libnss_nis-2.7.so
/usr/lib/debug/libnss_nis-2.7.so
/usr/lib/debug/lib/libnss_nis-2.7.so
/usr/lib/debug/lib32/libnss_nis-2.7.so

3 debug files but only two actual libraries. The odd one out doesn't match as you'd expect:

14:35 ajb@pitcairn/x86_64 [dbgsym.git] >./dbgsym.py -a -f /usr/lib/debug/libnss_nis-2.7.so
couldn't find paired library for: /usr/lib/debug/libnss_nis-2.7.so
trying alt: /lib/libnss_nis-2.7.so
debug_file: /usr/lib/debug/libnss_nis-2.7.so has CRC of DE32A5A5
actual_file: /lib/libnss_nis-2.7.so thinks CRC should be 430800A
14:36 ajb@pitcairn/x86_64 [dbgsym.git] >./dbgsym.py -a -f /usr/lib/debug/lib/libnss_nis-2.7.so
14:37 ajb@pitcairn/x86_64 [dbgsym.git] >./dbgsym.py -a -f /usr/lib/debug/lib32/libnss_nis-2.7.so
14:37 ajb@pitcairn/x86_64 [dbgsym.git] >

You can find the script at github:

http://github.com/stsquad/dbgsym/tree/master