Fwd: gpg: gpg segfaults when key is readonly

James Troup james at nocrew.org
Tue Aug 10 00:55:35 CEST 1999


Hi,

This is a bug report reported via the Debian Bug Tracking System.
I've reproduced it with 0.9.10.

(Sorry for not forwarding it early, work has killed just about all my
free time lately.)

------- Start of forwarded message -------
From: Nikodemus at innocent.com
Subject: gpg: gpg segfaults when key is readonly
To: submit at bugs.debian.org
Message-Id: <E10z01K-0003Ij-00 at Aleph.Christen.Net>
Date: Tue, 29 Jun 1999 17:42:02 +0200

Package: gpg
Version: N/A

Save changes? yes
gpg: failed to create temporary file `/usr/share/keyrings/.#lk0x80c1c08.Aleph.12621': Read-only file system
gpg: fatal: can't allocate lock for `/usr/share/keyrings/debian-keyring.pgp'
secmem usage: 1408/2176 bytes in 2/5 blocks of pool 2176/16384

gpg: Segmentation fault caught ... exiting

strace (ende) :
open("/usr/share/keyrings/.#lk0x80bcd40.Aleph.12672", O_WRONLY|O_CREAT|O_EXCL, 0644) = -1 EROFS (Read-only file system)
write(2, "gpg: ", 5)                    = 5
write(2, "failed to create temporary file "..., 103) = 103
write(2, "gpg: fatal: ", 12)            = 12
write(2, "can\'t allocate lock for `/usr/s"..., 65) = 65
write(2, "secmem usage: 1408/2176 bytes in"..., 63) = 63
unlink("ø~U^S@ø~U^S at 8Í^K^H8Í^K^H^H~V^S@^H~V^S@^P~V^S@^P~V^S@^X~V^S@^X~V^S@ ~V^S@ ~V^S@~@g^L^H~@g^L^HàË^K^HàË^K^H8~V^S at 8~V^S@@~V^S@@~V^S@Ài^L^HPÈ^K^HP~V^S at P~V^S
@X~V^S at X~V^S@^XZ^L^H^XZ^L^H V^L^H V^L^Hàf^L^H^Xf^L^Hx~V^S at x~V^S@~@~V^S@~@~V^S@~H~V^S@~H~V^S@~P~V^S@~P~V^S@~X~V^S@~X~V^S@| ~V^S@| ~V^S at hS^L^HhS^L^H°~V^S@°~V^S@¸
~V^S@¸~V^S@À~V^S@À~V^S at H=^L^HpÛ^K^HÐ~V^S@Ð~V^S@Ø~V^S@Ø~V^S@à~V^S@à~V^S@è~V^S@è~V^S@ð~V^S@ð~V^S@ø~V^S@ø~V^S@") = -1 ENAMETOOLONG (File name too long)
--- SIGSEGV (Segmentation fault) ---
write(2, "\ngpg: Segmentation fault caught"..., 44) = 44
munmap(0x40018000, 16384)               = 0
munmap(0x40020000, 4096)                = 0
_exit(8)                                = ?


-- System Information
Debian Release: potato
Kernel Version: Linux Aleph 2.2.5 #2 Wed Apr 7 08:27:13 CEST 1999 i586 unknown
------- End of forwarded message -------

-- 
James



More information about the Gnupg-devel mailing list