Crashes with gpg-agent 2.1.17
Patrick Brunschwig
patrick at enigmail.net
Mon Jan 23 15:04:53 CET 2017
I got quite frequent crashes with gpg-agent on Mac OS X, and thus
started to investigate what happens.
Here is the debug output:
gpg-agent[30807]: DBG: chan_19 -> OK Pleased to meet you
gpg-agent[30807]: DBG: chan_19 <- RESET
gpg-agent[30807]: DBG: chan_19 -> OK
gpg-agent[30807]: DBG: chan_19 <- OPTION
display=/private/tmp/com.apple.launchd.V3yERuMgKg/org.macosforge.xquartz:0
gpg-agent[30807]: DBG: chan_19 -> OK
gpg-agent[30807]: DBG: chan_19 <- GETINFO version
gpg-agent[30807]: DBG: chan_19 -> D 2.1.17
gpg-agent[30807]: DBG: chan_19 -> OK
gpg-agent[30807]: DBG: chan_19 <- OPTION allow-pinentry-notify
gpg-agent[30807]: DBG: chan_19 -> OK
gpg-agent[30807]: DBG: chan_19 <- OPTION agent-awareness=2.1.0
gpg-agent[30807]: DBG: chan_19 -> OK
gpg-agent[30807]: DBG: chan_19 <- HAVEKEY
E0935FE2D7829F0CA7580D98F58ECD6EF0A9DE25
gpg-agent[30807]: DBG: chan_19 -> OK
gpg-agent[30807]: DBG: chan_19 <- HAVEKEY
D9E76BE9ECE8DD29D9DFCB9CF54CB6D50244721B
E0935FE2D7829F0CA7580D98F58ECD6EF0A9DE25
gpg-agent[30807]: DBG: chan_19 -> OK
gpg-agent[30807]: DBG: chan_19 <- HAVEKEY
E0935FE2D7829F0CA7580D98F58ECD6EF0A9DE25
gpg-agent[30807]: DBG: chan_19 -> OK
gpg-agent[30807]: DBG: chan_19 <- RESET
gpg-agent[30807]: DBG: chan_19 -> OK
gpg-agent[30807]: DBG: chan_19 <- SETKEY
E0935FE2D7829F0CA7580D98F58ECD6EF0A9DE25
gpg-agent[30807]: DBG: chan_19 -> OK
gpg-agent[30807]: DBG: chan_19 <- SETKEYDESC
Please+enter+the+passphrase+to+unlock+the+OpenPGP+secret+key:%0A%22Patrick+Brunschwig+<patrick at enigmail.net>%22%0A4096-bit+RSA+key,+ID+91426DC14E4953D8,%0Acreated+2015-01-17+(main+key+ID+DB1187B9DD5F693B).%0A
gpg-agent[30807]: DBG: chan_19 -> OK
gpg-agent[30807]: DBG: chan_19 <- PKDECRYPT
gpg-agent[30807]: DBG: chan_19 -> S INQUIRE_MAXLEN 4096
gpg-agent[30807]: DBG: chan_19 -> INQUIRE CIPHERTEXT
gpg-agent[30807]: DBG: chan_19 <- [ 44 20 28 37 3a 65 6e 63 2d 76 61 6c
28 33 3a 72 ...(541 byte(s) skipped) ]
gpg-agent[30807]: DBG: chan_19 <- END
gpg-agent[30807]: DBG: keygrip: E0 93 5F E2 D7 82 9F 0C A7 58 0D 98 F5
8E CD 6E F0 A9 DE 25
gpg-agent[30807]: DBG: cipher: 28 37 3A 65 6E 63 2D 76 61 6C 28 33 3A
72 73 61 28 31 3A 61 35 31 32 3A 05 68 7A 18 A9 AA 65 C4 4C E3 35 87 3B
5F 20 05 BE 7E 0A 03 BF D7 0B C1 66 84 3A 6B BB B3 94 17 FE C7 5D CD 45
B7 B0 79 DA 7D 82 AE 75 FF 19 82 D4 5D D4 1D 58 16 D3 E8 52 1F 1D 72 EC
86 A8 B6 ED 98 52 AA D3 02 A2 8B A0 5C 1F 76 B8 1B 50 C8 61 4C F2 D6 01
42 5A AA BB 99 B6 9F 32 57 E2 F0 DC 16 73 7D AC 6D 53 24 86 C0 83 61 4A
5D 20 03 AB 46 01 0E 40 52 2A 93 28 78 87 58 04 8A 4D A8 EB 50 B2 3F A6
C7 2D 72 DE 0B 72 F7 D2 31 9F 06 3F 9D B0 14 3D D2 7F D3 05 63 AB 70 79
57 6A E9 48 A8 2C 5E 3E 8C A8 F1 C9 93 A1 E0 72 54 DF 17 08 E9 36 B7 F4
F9 95 3F 79 C2 B9 B0 64 63 4B CF DD AB 0B 25 DF 0D 38 C1 CD 96 04 F5 56
FB 1D 35 8C 2F 64 CF E8 1F 11 D5 78 FC 21 11 D1 4D 57 0D 23 59 6A 35 E5
99 BF 37 92 63 9C C9 AA 94 0A 6D 35 92 AA 86 68 D5 41 2E B0 A6 9B D7 1E
8E DA 27 67 C6 58 29 2B 1A D4 79 C4 93 99 62 DD E7 EE 51 E2 E5 69 25 3B
AC 14 4C 4F E4 D3 25 E5 1C 35 A2 C0 46 26 DD 36 3E 75 93 B4 8A DC D0 5F
3E 6A 90 5F 6A F2 F9 DA 74 30 8D 4D 38 41 2E E7 42 53 71 FC F0 91 F2 9A
F5 52 A6 7A FC 41 37 D5 0B FB BB 9F AC 77 63 71 22 38 18 2A 75 83 44 29
4F 32 57 4A 00 E2 88 9A 81 E4 04 0D 01 0E A7 91 D1 81 B8 6A 42 ED 09 58
50 06 B3 E1 73 CA 90 2B CD 82 B6 15 82 D3 E1 79 C6 17 61 91 E6 DA F9 B3
C8 F4 DB 58 49 86 8C 09 CA A7 EE E2 FD 65 3E CA 86 F0 5A 90 38 76 99 F3
3D 0E 42 7C D6 0F 6C B1 97 BA CD 81 9E 61 A6 E0 F1 FF DF 21 CF 2C AD C5
36 77 8C 13 D9 EE E4 31 47 84 AF F4 EE C8 A7 06 6E F2 B7 7B 68 24 E6 45
74 B8 E1 78 BF 01 4C 94 A8 5E 6C CF D7 C2 0B 91 A9 2F 90 EC DC D0 B8 63
DD A2 7A 64 EF 73 1C 1A 6D 9A A4 3C 4C 07 BC 90 AB B6 A0 29 29 29
gpg-agent[30807]: DBG: agent_get_cache
'E0935FE2D7829F0CA7580D98F58ECD6EF0A9DE25' (mode 2) ...
gpg-agent[30807]: DBG: ... hit
gpg-agent[30807]: retrieving cache entry
'E0935FE2D7829F0CA7580D98F58ECD6EF0A9DE25' failed: Cannot allocate memory
gpg-agent[30807]: DBG: agent_get_cache
'E0935FE2D7829F0CA7580D98F58ECD6EF0A9DE25' (mode 2) (stored cache key) ...
gpg-agent[30807]: DBG: ... hit
gpg-agent[30807]: retrieving cache entry
'E0935FE2D7829F0CA7580D98F58ECD6EF0A9DE25' failed: Cannot allocate memory
gpg-agent[30807]: failed to unprotect the secret key: Cannot allocate memory
gpg-agent[30807]: failed to read the secret key
gpg-agent[30807]: command 'PKDECRYPT' failed: Cannot allocate memory
gpg-agent[30807]: DBG: chan_19 -> ERR 67141718 Cannot allocate memory
<GPG Agent>
gpg-agent[30807]: DBG: chan_19 <- HAVEKEY
06799B633E043A7665BBE85BDD883A71166B80B7
gpg-agent[30807]: DBG: chan_19 -> ERR 67108881 No secret key <GPG Agent>
gpg-agent[30807]: DBG: rsa_decrypt res: [out of core]
gpg-agent[30807]: Ohhhh jeeee: ... this is a bug
(sexp.c:1433:do_vsexp_sscan)
Is this a bug, or is it a config/setup error on my side?
Thanks,
Patrick
More information about the Gnupg-devel
mailing list