Menu

#2 Causes segmentation fault in ldd / ld-linux.so?

open
nobody
None
5
2003-05-25
2003-05-25
Anonymous
No

To reproduce:
1) Environment = knoppix 3.2 CDROM
2) Installed the following in prefix (/home/knoppix/local):
libelf-0.8.4
gpgme-0.3.15
elfpgp-0.1.5
3) copied /bin/cp to knoppix home directory.
4) generated gpg key
5) signed ~/cp
6) verified ~/cp with elfpgp (Very nice :) )
7) ran ldd on ~/cp, resulting in:
ldd: /lib/ld-linux.so.2 exited with unknown exit code (139)
8) ran ldd on /bin/cp, resulting in:
libc.so.6 => /lib/libc.so.6 (0x4001f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2
(0x40000000)

Unfortunately, knoppix strips the binaries prior to
install, so there are no symbols and therefore nothing
useful in the core file except the following:
Core was generated by `/lib/ld-linux.so.2 --verify ./cp'.
Program terminated with signal 11, Segmentation fault.

Hope this helps.

This program is cool stuff :)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.