Package: gnupg
Version: 1.4.5-1
Followup-For: Bug #381106

I get a segfault when I try any one of the following arguments on
the command line (gpg2 also segfaults with these):
-s, --clearsign, -b, -e, -c, -d, --gen-key, --sign-key, --lsign-key, --edit-key, --gen-revoke, --card-edit, --update-trustdb, --delete-keys

When I try any of the following there is no segfault and gpg does what it is meant to: --list-keys, --list-sigs, --fingerprint, -K, --export, --send-keys, --recv-keys, --search-keys, --refresh-keys, --import,
--print-md sha1 test.txt

The following didn't segfault but I didn't test properly:
--delete-secret-keys, --card-status, --change-pin

When I try gdb:
$ gdb gpg
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run -e test.txt
Starting program: /usr/bin/gpg -e test.txt
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0xf7dc9574 in memcpy () from /lib/libc.so.6
(gdb) bt full
#0  0xf7dc9574 in memcpy () from /lib/libc.so.6
No symbol table info available.
#1  0x000acae4 in ?? ()
No symbol table info available.
#2  0x000acae4 in ?? ()
No symbol table info available.
Previous frame identical to this frame (corrupt stack?)
(gdb)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-sparc64
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages gnupg depends on:
ii  libbz2-1.0                  1.0.3-3      high-quality block-sorting file co
ii  libc6                       2.3.6-18     GNU C Library: Shared libraries
ii  libldap2                    2.1.30-13+b1 OpenLDAP libraries
ii  libreadline5                5.1-7        GNU readline and history libraries
ii  libusb-0.1-4                2:0.1.12-2   userspace USB programming library
ii  makedev                     2.3.1-82     creates device files in /dev
ii  zlib1g                      1:1.2.3-13   compression library - runtime

gnupg recommends no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to