MacGPG2: scdaemon keeps crashing when I remove my Yubikey
I get this crash log occasionally when I remove my Yubikey.
It seems to happen more if I sign an email, then quickly remove the key.
(But the email sig is still valid.)
Process: scdaemon [22905]
Path: /usr/local/MacGPG2/libexec/scdaemon
Identifier: scdaemon
Version: ???
Code Type: X86-64 (Native)
Parent Process: gpg-agent [729]
Responsible: scdaemon [22905]
User ID: …
Date/Time: 2017-06-18 …
OS Version: Mac OS X 10.12.5 (16F73)
Report Version: 12
Anonymous UUID: …
Sleep/Wake UUID: …
Time Awake Since Boot: …
Time Since Wake: …
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fffc0622d42 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fffc0710457 pthread_kill + 90
2 libsystem_c.dylib 0x00007fffc0588420 abort + 129
3 scdaemon 0x000000010003f138 do_logv + 617
4 scdaemon 0x000000010003f462 log_bug + 141
5 scdaemon 0x000000010001b06d release_application + 140
6 scdaemon 0x0000000100008514 cmd_restart + 28
7 libassuan.0.dylib 0x000000010015275d dispatch_command + 519
8 libassuan.0.dylib 0x00000001001521f8 assuan_process + 151
9 scdaemon 0x0000000100005e03 scd_command_handler + 496
10 scdaemon 0x00000001000052f0 start_connection_thread + 152
11 libpth.20.0.27.dylib 0x00000001001649f5 pth_spawn_trampoline + 27
12 libpth.20.0.27.dylib 0x0000000100161dda pth_mctx_set_bootstrap + 126
13 libpth.20.0.27.dylib 0x0000000100161d5c pth_mctx_set_trampoline + 37
14 libsystem_platform.dylib 0x00007fffc0703b4d _sigtramp + 45
15 ??? 000000000000000000 0 + 0
16 libpth.20.0.27.dylib 0x0000000100164660 pth_spawn + 570
17 scdaemon 0x0000000100004853 main + 3275
18 scdaemon 0x0000000100003950 start + 52
Thread 1:: org.libusb.device-detach
0 libsystem_kernel.dylib 0x00007fffc061b34a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fffc061a797 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fffaa7c7874 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fffaa7c6cf1 __CFRunLoopRun + 1361
4 com.apple.CoreFoundation 0x00007fffaa7c6544 CFRunLoopRunSpecific + 420
5 com.apple.CoreFoundation 0x00007fffaa805d31 CFRunLoopRun + 97
6 libusb-1.0.0.dylib 0x000000010029bdaa event_thread_main + 328
7 libsystem_pthread.dylib 0x00007fffc070d93b _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fffc070d887 _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fffc070d08d thread_start + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fffc062344e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fffc070d621 _pthread_wqthread + 1426
2 libsystem_pthread.dylib 0x00007fffc070d07d start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00000001006c4758 rdx: 0x0000000000000000 rdi: 0x0000000000000307 rsi: 0x0000000000000006 rbp: 0x00000001006c4780 rsp: 0x00000001006c4758 r8: 0x0000000000000040 r9: 0x00007fffc9452300 r10: 0x0000000008000000 r11: 0x0000000000000206 r12: 0x00007fffc94530b0 r13: 0x0000000000005979 r14: 0x00007fffc946b3c0 r15: 0x00000001006c48d0 rip: 0x00007fffc0622d42 rfl: 0x0000000000000206 cr2: 0x00007fffc944d128
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Binary Images:
0x100000000 - 0x100053ff7 +scdaemon (???) <27EF0870-2FCB-3C09-A978-78D732939634> /usr/local/MacGPG2/libexec/scdaemon 0x100064000 - 0x1000e9ff7 +libgcrypt.20.dylib (21.6) <66244951-7EA2-3B4B-A09E-1D48A97D327B> /usr/local/MacGPG2/lib/libgcrypt.20.dylib 0x100100000 - 0x10010fff7 +libgpg-error.0.dylib (22) <714EE0F8-420E-3FDB-AEA5-B8BA30C9FA24> /usr/local/MacGPG2/lib/libgpg-error.0.dylib 0x100115000 - 0x100142ff7 +libksba.8.dylib (20.6) /usr/local/MacGPG2/lib/libksba.8.dylib 0x10014d000 - 0x10015afff +libassuan.0.dylib (8.3) /usr/local/MacGPG2/lib/libassuan.0.dylib 0x100160000 - 0x10016dfff +libpth.20.0.27.dylib (21.27) <52FEBF24-FBBC-325B-83BD-C972F407BAD8> /usr/local/MacGPG2/lib/libpth.20.0.27.dylib 0x100175000 - 0x100178fff +libusb-0.1.4.dylib (9.4) <5BB80FA1-A1B3-3FD9-B09E-1909931E98B1> /usr/local/MacGPG2/lib/libusb-0.1.4.dylib 0x10017c000 - 0x100186fff +libintl.8.dylib (10.5) <654C6E5A-5CD5-397E-AD0A-47815453DF0C> /usr/local/MacGPG2/lib/libintl.8.dylib 0x10018b000 - 0x100284ff7 +libiconv.2.dylib (8.1) <717F0984-1703-3F86-AB40-ACCB9F652883> /usr/local/MacGPG2/lib/libiconv.2.dylib 0x100291000 - 0x10029efff +libusb-1.0.0.dylib (2) /usr/local/MacGPG2/lib/libusb-1.0.0.dylib 0x1006c5000 - 0x1006cdff7 com.apple.iokit.IOUSBLib (900.4.1 - 900.4.1) <9AC661EF-50F3-3F15-B22F-BA2F98FDEC19> /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib 0x103f25000 - 0x103f62dc7 dyld (433.5) <322C06B7-8878-311D-888C-C8FD2CA96FF3> /usr/lib/dyld 0x7fffaa742000 - 0x7fffaabd5fff com.apple.CoreFoundation (6.9 - 1349.8) <36385A3A-60D3-32DB-BF55-C6D8931A7AA6> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7fffac73c000 - 0x7fffac7d2ff7 com.apple.framework.IOKit (2.0.2 - 1324.60.3) <7CE4C98B-107C-3AAA-B49A-F2ACFCBBF526> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x7fffbec98000 - 0x7fffbec99ff3 libDiagnosticMessagesClient.dylib (102) <84A04D24-0E60-3810-A8C0-90A65E2DF61A> /usr/lib/libDiagnosticMessagesClient.dylib 0x7fffbeed7000 - 0x7fffbeed8ffb libSystem.B.dylib (1238.60.2) /usr/lib/libSystem.B.dylib 0x7fffbf06a000 - 0x7fffbf07aff3 libbsm.0.dylib (34) <20084796-B04D-3B35-A003-EA11459557A9> /usr/lib/libbsm.0.dylib 0x7fffbf08a000 - 0x7fffbf0e0ff7 libc++.1.dylib (307.5) <0B43BB5D-E6EB-3464-8DE9-B41AC8ED9D1C> /usr/lib/libc++.1.dylib 0x7fffbf0e1000 - 0x7fffbf10bfff libc++abi.dylib (307.3) <30199352-88BF-30BD-8CFF-2A4FBE247523> /usr/lib/libc++abi.dylib 0x7fffbf541000 - 0x7fffbf541fff libenergytrace.dylib (15) /usr/lib/libenergytrace.dylib 0x7fffbf64a000 - 0x7fffbf86fffb libicucore.A.dylib (57165.0.1) <2931B842-2946-3576-AD1D-1CDA22FA1388> /usr/lib/libicucore.A.dylib 0x7fffbfbfe000 - 0x7fffbffd3bc7 libobjc.A.dylib (709) <54CD8D1A-5C98-3559-B13A-932B3D3DD338> /usr/lib/libobjc.A.dylib 0x7fffc0029000 - 0x7fffc0045ffb libresolv.9.dylib (64) /usr/lib/libresolv.9.dylib 0x7fffc03f8000 - 0x7fffc0409ff3 libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib 0x7fffc0418000 - 0x7fffc041cff7 libcache.dylib (79) <093A4DAB-8385-3D47-A350-E20CB7CCF7BF> /usr/lib/system/libcache.dylib 0x7fffc041d000 - 0x7fffc0427fff libcommonCrypto.dylib (60092.50.5) <8A64D1B0-C70E-385C-92F0-E669079FDA90> /usr/lib/system/libcommonCrypto.dylib 0x7fffc0428000 - 0x7fffc042ffff libcompiler_rt.dylib (62) <55D47421-772A-32AB-B529-1A46C2F43B4D> /usr/lib/system/libcompiler_rt.dylib 0x7fffc0430000 - 0x7fffc0438fff libcopyfile.dylib (138) <819BEA3C-DF11-3E3D-A1A1-5A51C5BF1961> /usr/lib/system/libcopyfile.dylib 0x7fffc0439000 - 0x7fffc04bcfdf libcorecrypto.dylib (442.50.19) <65D7165E-2E71-335D-A2D6-33F78E2DF0C1> /usr/lib/system/libcorecrypto.dylib 0x7fffc04bd000 - 0x7fffc04eefff libdispatch.dylib (703.50.37) <6582BAD6-ED27-3B30-B620-90B1C5A4AE3C> /usr/lib/system/libdispatch.dylib 0x7fffc04ef000 - 0x7fffc04f4ffb libdyld.dylib (433.5) /usr/lib/system/libdyld.dylib 0x7fffc04f5000 - 0x7fffc04f5ffb libkeymgr.dylib (28) <7AA011A9-DC21-3488-BF73-3B5B14D1FDD6> /usr/lib/system/libkeymgr.dylib 0x7fffc04f6000 - 0x7fffc0502ffb libkxld.dylib (3789.60.24) <5DFCDC05-6CBC-35A6-8B92-DF6803492E12> /usr/lib/system/libkxld.dylib 0x7fffc0503000 - 0x7fffc0503fff liblaunch.dylib (972.60.2) /usr/lib/system/liblaunch.dylib 0x7fffc0504000 - 0x7fffc0509ff3 libmacho.dylib (898) <17D5D855-F6C3-3B04-B680-E9BF02EF8AED> /usr/lib/system/libmacho.dylib 0x7fffc050a000 - 0x7fffc050cff3 libquarantine.dylib (85.50.1) <12448CC2-378E-35F3-BE33-9DC395A5B970> /usr/lib/system/libquarantine.dylib 0x7fffc050d000 - 0x7fffc050effb libremovefile.dylib (45) <38D4CB9C-10CD-30D3-8B7B-A515EC75FE85> /usr/lib/system/libremovefile.dylib 0x7fffc050f000 - 0x7fffc0527ff7 libsystem_asl.dylib (349.50.5) <096E4228-3B7C-30A6-8B13-EC909A64499A> /usr/lib/system/libsystem_asl.dylib 0x7fffc0528000 - 0x7fffc0528ff7 libsystem_blocks.dylib (67) <10DC5404-73AB-35B3-A277-A8AFECB476EB> /usr/lib/system/libsystem_blocks.dylib 0x7fffc0529000 - 0x7fffc05b6fef libsystem_c.dylib (1158.50.2) /usr/lib/system/libsystem_c.dylib 0x7fffc05b7000 - 0x7fffc05baffb libsystem_configuration.dylib (888.60.2) /usr/lib/system/libsystem_configuration.dylib 0x7fffc05bb000 - 0x7fffc05befff libsystem_coreservices.dylib (41.4) <7D26DE79-B424-3450-85E1-F7FAB32714AB> /usr/lib/system/libsystem_coreservices.dylib 0x7fffc05bf000 - 0x7fffc05d7fff libsystem_coretls.dylib (121.50.4) /usr/lib/system/libsystem_coretls.dylib 0x7fffc05d8000 - 0x7fffc05defff libsystem_dnssd.dylib (765.50.9) /usr/lib/system/libsystem_dnssd.dylib 0x7fffc05df000 - 0x7fffc0608ff7 libsystem_info.dylib (503.50.4) <611DB84C-BF70-3F92-8702-B9F28A900920> /usr/lib/system/libsystem_info.dylib 0x7fffc0609000 - 0x7fffc062bff7 libsystem_kernel.dylib (3789.60.24) <6E9E485F-91F6-36B7-A125-AE91DC978BCC> /usr/lib/system/libsystem_kernel.dylib 0x7fffc062c000 - 0x7fffc0673fe7 libsystem_m.dylib (3121.6) <86D499B5-BBDC-3D3B-8A4E-97AE8E6672A4> /usr/lib/system/libsystem_m.dylib 0x7fffc0674000 - 0x7fffc0692ff7 libsystem_malloc.dylib (116.50.8) /usr/lib/system/libsystem_malloc.dylib 0x7fffc0693000 - 0x7fffc06ecffb libsystem_network.dylib (856.60.1) <369D0221-56CA-3C3E-9EDE-94B41CAE77B7> /usr/lib/system/libsystem_network.dylib 0x7fffc06ed000 - 0x7fffc06f6ff3 libsystem_networkextension.dylib (563.60.2) /usr/lib/system/libsystem_networkextension.dylib 0x7fffc06f7000 - 0x7fffc0700ff3 libsystem_notify.dylib (165.20.1) /usr/lib/system/libsystem_notify.dylib 0x7fffc0701000 - 0x7fffc0709fe7 libsystem_platform.dylib (126.50.8) <897462FD-B318-321B-A554-E61982630F7E> /usr/lib/system/libsystem_platform.dylib 0x7fffc070a000 - 0x7fffc0714ff7 libsystem_pthread.dylib (218.60.3) /usr/lib/system/libsystem_pthread.dylib 0x7fffc0715000 - 0x7fffc0718ff7 libsystem_sandbox.dylib (592.60.1) /usr/lib/system/libsystem_sandbox.dylib 0x7fffc0719000 - 0x7fffc071aff3 libsystem_secinit.dylib (24.50.4) /usr/lib/system/libsystem_secinit.dylib 0x7fffc071b000 - 0x7fffc0722ffb libsystem_symptoms.dylib (532.50.47) <3390E07C-C1CE-348F-ADBD-2C5440B45EAA> /usr/lib/system/libsystem_symptoms.dylib 0x7fffc0723000 - 0x7fffc0736ff7 libsystem_trace.dylib (518.60.2) <6B145B10-5874-3E89-90CD-D370DB475BA1> /usr/lib/system/libsystem_trace.dylib 0x7fffc0737000 - 0x7fffc073cffb libunwind.dylib (35.3) <3D50D8A8-C460-334D-A519-2DA841102C6B> /usr/lib/system/libunwind.dylib 0x7fffc073d000 - 0x7fffc0766ff7 libxpc.dylib (972.60.2) <1C9AF716-69DF-359F-85E9-7DFDE362F9A2> /usr/lib/system/libxpc.dylib
External Modification Summary:
Calls made by other processes targeting this process: task_for_pid: 78228 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 32505961 thread_create: 0 thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=132.7M resident=0K(0%) swapped_out_or_unallocated=132.7M(100%)
Writable regions: Total=55.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=55.6M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= ======= Activity Tracing 256K 2
Dispatch continuations 8192K 2
Kernel Alloc Once 8K 2
MALLOC 38.3M 14
MALLOC guard page 16K 4
STACK GUARD 8K 3
Stack 9232K 4
Stack Guard 56.0M 2
VM_ALLOCATE 16K 2
__DATA 3048K 62
__LINKEDIT 114.9M 14
__TEXT 17.8M 60
__UNICODE 556K 2
shared memory 44K 4
=========== ======= ======= TOTAL
Expected
It doesn't crash.
macOS 10.12.5 16F73
GPG Suite 2017.1b3 1812 (d43863c)
GPGMail 2.7b3 1215 (d0b5fa0)
GPG Keychain 1.3.3b2 1271 (028a4a2)
GPGServices 1.11 916 (872e77d)
MacGPG2 2.0.30-1b2 887- (4912d26)
GPGPreferences 2.0.2b3 927 (641418e)
Libmacgpg 0.7 782 (536bf51)
pinentry 0.9.7 4 (b75069d)
- 2017-06-17_23-14_DebugInfo.gpg 91.8 KB
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Steve on 18 Jun, 2017 04:52 PM
Hi Tim,
we just integrated gpg 2.1 into our nightly builds. Could you please download and install our latest GPG Suite nightly build and see if the problem persists. That page also has sig and SHA256 to verify the download.
All the best,
steve
Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.
Steve closed this discussion on 18 Aug, 2017 10:28 AM.