Bug#381106: gpg: Segmentation fault caught ... exiting

2006-08-10 Thread D.A. Beauregard

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  libldap22.1.30-13+b1 OpenLDAP libraries
ii  libreadline55.1-7GNU readline and history libraries
ii  libusb-0.1-42: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]



Bug#381106: gpg: Segmentation fault caught ... exiting

2006-08-02 Thread Serge Leblanc




Package: gnupg
Version: 1.4.3-2
Severity: important

When I invoke 'gpg' or 'gpg2 whit arguments '--decrypt ./passwd.gpg' an segmentation fault appears.

[EMAIL PROTECTED]:~$ gpg --decrypt ./passwd.gpg

gpg: Segmentation fault caught ... exiting
Segmentation fault

[EMAIL PROTECTED]:~$ gpg2 --decrypt ./lrds-passwd.gpg
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: WARNING: This version of gpg is not very matured and
gpg: WARNING: only intended for testing. Please keep using
gpg: WARNING: gpg 1.2.x, 1.3.x or 1.4.x for OpenPGP

gpg: signal Segmentation fault caught ... exiting
Segmentation fault

I am using Debian GNU/Linux Sid, kernel 2.4.27, libc6 2.3.6-16,
gunpg 1.4.3-2, gnupg 1.9.20-1.1




--
Serge Leblanc [EMAIL PROTECTED] GnuPG id: 1024D/73791C2B 2002-09-30
Primary key fingerprint: 8E0C 0D6D E026 A278 9278 BF4F 1A93 D552 7379 1C2B