Mailing List Archive

GPG segfaults on Debian keyring
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

gpg debian-keyring.pgp

yields a list of all the keys in the keyring, successfully,
and then segfaults instead of exiting normally.

debian-keyring.pgp is approximately 500K and can be obtained
at ftp://ftp.debian.org/debian/doc/debian-keyring.tar.gz

This is GnuPG 0.9.6 + RSA & IDEA plugins, under Linux 2.2.9,
with gcc 2.8.1. Removing the load-extension rsa and idea
lines from options made no difference.

If I knew what I was doing, I'd try to debug it... But when
I try to run it under gpg, I get this:

Starting program: /usr/bin/gpg debian-keyring.pgp
/bin/bash: /usr/bin/gpg: Operation not permitted
/bin/bash: /usr/bin/gpg: Operation not permitted

Program exited with code 01.
You can't do that without a process to debug

Hope this help...

Nate
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE3Q4XG8WKagKsEr/ERAlofAKCPgnsehJdnLfD9mED8UaJppXew5wCgip82
/PjKym1qOcWquKhSJ9Ce78Q=
=mN15
-----END PGP SIGNATURE-----
Re: GPG segfaults on Debian keyring [ In reply to ]
Nathan Kennedy <blaaf@hempseed.com> writes:

> debian-keyring.pgp is approximately 500K and can be obtained
> at ftp://ftp.debian.org/debian/doc/debian-keyring.tar.gz

I'll get it

> Starting program: /usr/bin/gpg debian-keyring.pgp
> /bin/bash: /usr/bin/gpg: Operation not permitted

You have installed gpg as suid(root) - therefore gdb can't debug it -
which is the Right Thing.


--
Werner Koch at guug.de www.gnupg.org keyid 621CC013
Re: GPG segfaults on Debian keyring [ In reply to ]
Nathan Kennedy <blaaf@hempseed.com> writes:

> gpg debian-keyring.pgp
>
> yields a list of all the keys in the keyring, successfully,
> and then segfaults instead of exiting normally.

Mea culpa, this due to the MDC testing code :-(

It's already fixed in the CVS



--
Werner Koch at guug.de www.gnupg.org keyid 621CC013