Page MenuHome GnuPG

GnuPG on Solaris 2.6 crashes when compression turned on
Closed, ResolvedPublic

Description

Release: 1.07 and 1.2.1

Environment

SUN Ultra-60, Solaris 2.6, GnuPG 1.2.1 and 1.0.7.

Description

When encrypting only - using -z 0- option program works. When compression is turned on program crashes after the encryption process. Truss shows the following:

open("/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1", O_RDONLY) = 4
fstat(4, 0xEFFFF50C) = 0
:$
times(0xEFFFDBC8) = 325165851
brk(0x000D5718) = 0
brk(0x000D7718) = 0
read(6, "7F E L F010201\0\0\0\0\0".., 8192) = 8192
read(6, "\0\0\0\012\0\0\0\0\003 y".., 8192) = 8192

Incurred fault #6, FLTBOUNDS  %pc = 0xEF7449FC
  siginfo: SIGSEGV SEGV_MAPERR addr=0x0074C7B0
Received signal #11, SIGSEGV [caught]
  siginfo: SIGSEGV SEGV_MAPERR addr=0x0074C7B0

munmap(0xEF660000, 16384) = 0

write(2, "\n", 1) = 1
gpgwrite(2, " g p g", 3) = 3
: write(2, " : ", 2) = 2
some signalwrite(2, " s o m e s i g n a l", 11) = 11

caught ... exiting

write(2, " c a u g h t . . . ".., 21) = 21
sigaction(SIGSEGV, 0xEFFFD360, 0x00000000) = 0
getpid() = 21117 [21116]
kill(21117, SIGSEGV) = 0
setcontext(0xEFFFD560)

Received signal #11, SIGSEGV [default]
  siginfo: SIGSEGV pid=21117 uid=2222
    *** process killed ***

~

How To Repeat

BAD = ./gpg --yes --batch --default-recipient Personal -f testfile
GOOD = ./gpg -z 0 --yes --batch --default-recipient Personal -f testfile

Fix

Fixed in current CVS

Event Timeline

werner added a project: Restricted Project.

Accidently closed this one. There is no fix yet because we
can't duplicate it.

werner removed a project: Restricted Project.

No feedback received for a long time.