gpg and macos 10.5

Charly Avital shavital at mac.com
Fri Dec 14 11:25:58 CET 2007


Remco Post wrote the following on 12/13/07 7:10 PM:
> Hi All,
> 
> it seams that gpg and macos 10.5 are not on good terms for the smartcard:
> 
> flops:~ remco$ gpg --card-status --no-use-agent
> gpg: detected reader `SCR335 USB Smart Card Reader 00 00'
> gpg: pcsc_status failed: insufficient buffer (0x80100008) 35
> 
> gpg: Ohhhh jeeee: ATR returned by pcsc_status is too large
> secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
> Abort trap
> 
> (and I guess it somehow thinks it should try speaking dutch to me....)
> 
> This is on macos 10.5 on ppc with gpg 1.4.7
> 

I get an almost identical output with a SCR331 USB Smart Card Reader
(identified as gpg: detected reader `CCID Smart Card Reader 00 00')

After the output about insufficient buffer and Abort trap, Terminal
reports "gpg quit unexpectedly", report:

Process:         gpg [2174]
Path:            /usr/local/bin/gpg
Identifier:      gpg
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  bash [2120]

Date/Time:       2007-12-14 05:22:29.398 -0500
OS Version:      Mac OS X 10.5.1 (9B18)
Report Version:  6

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib             	0x92b4b47a __kill + 10
1   libSystem.B.dylib             	0x92bc2782 raise + 26
2   libSystem.B.dylib             	0x92bd1d3f abort + 73
3   gpg                           	0x0009b443 g10_log_bug + 99
4   gpg                           	0x0004013c reset_pcsc_reader + 492
5   gpg                           	0x00040318 pcsc_send_apdu + 184
6   gpg                           	0x000412ec send_apdu + 92
7   gpg                           	0x00041494 send_le + 404
8   gpg                           	0x00041b30 apdu_send_simple + 80
9   gpg                           	0x0003e27f iso7816_select_application
+ 63
10  gpg                           	0x0003db25 app_select_openpgp + 53
11  gpg                           	0x0003390c open_card + 508
12  gpg                           	0x000349a5 agent_learn + 165
13  gpg                           	0x00036ec2 card_status + 98
14  gpg                           	0x000099a9 main + 25497
15  gpg                           	0x00001f36 start + 54

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x92bd1cff  ecx: 0xbfffec8c  edx: 0x92b4b47a
  edi: 0x00000000  esi: 0xa02da578  ebp: 0xbfffeca8  esp: 0xbfffec8c
   ss: 0x0000001f  efl: 0x00000286  eip: 0x92b4b47a   cs: 0x00000007
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x000c67b4

Binary Images:
    0x1000 -    0xd0f07 +gpg ??? (???)
<67b6e3e6d45edf963afb9c536c105ed7> /usr/local/bin/gpg
  0x106000 -   0x1e0fd8 +libiconv.2.dylib ??? (???)
/usr/local/lib/libiconv.2.dylib
  0x24e000 -   0x25afe7  com.apple.pcsc 6.0 (32672)
<fbb4a862aa14dcaee5f3d230912882da>
/System/Library/Frameworks/PCSC.framework/PCSC
0x8fe00000 - 0x8fe2d883  dyld 95.3 (???)
<81592e798780564b5d46b988f7ee1a6a> /usr/lib/dyld
0x90c47000 - 0x90c71fef  libauto.dylib ??? (???)
<d468bc4a8a69343f1748c293db1b57fb> /usr/lib/libauto.dylib
0x914b7000 - 0x91596fff  libobjc.A.dylib ??? (???)
<5eda47fec2d0e7853b3506aa1fd2dafa> /usr/lib/libobjc.A.dylib
0x92add000 - 0x92c37fe3  libSystem.B.dylib ??? (???)
<8ecc83dc0399be3946f7a46e88cf4bbb> /usr/lib/libSystem.B.dylib
0x93d4f000 - 0x93d5dffd  libz.1.dylib ??? (???)
<5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x94845000 - 0x94846fef  libmathCommon.A.dylib ??? (???)
/usr/lib/system/libmathCommon.A.dylib
0x94f5c000 - 0x94f68fff  libbz2.1.0.dylib ??? (???)
<9ea4fe135c9e52bd0590eec12c738e82> /usr/lib/libbz2.1.0.dylib
0x9559f000 - 0x956d7ff7  libicucore.A.dylib ??? (???)
<afcea652ff2ec36885b2c81c57d06d4c> /usr/lib/libicucore.A.dylib
0x95ab0000 - 0x95be2fe7  com.apple.CoreFoundation 6.5 (476)
<8bfebc0dbad6fc33bea0fa00a1b9ec37>
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x96087000 - 0x9608efe9  libgcc_s.1.dylib ??? (???)
<f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0x961e5000 - 0x96242ffb  libstdc++.6.dylib ??? (???)
<04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0xfffe8000 - 0xfffebfff  libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???)
/usr/lib/libSystem.B.dylib

Charly
10.5.1 - Macbook Intel Core 2 Duo



More information about the Gnupg-users mailing list