SwitchKey icon indicating copy to clipboard operation
SwitchKey copied to clipboard

自启动太早容易崩溃

Open hshh opened this issue 5 years ago • 1 comments

Process: SwitchKey [6196] Path: /Applications/SwitchKey.app/Contents/MacOS/SwitchKey Identifier: itsuhane.tools.SwitchKey Version: 1.1.2 (8) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: SwitchKey [6196] User ID: 501

Date/Time: 2020-11-23 16:07:11.080 +0800 OS Version: macOS 11.0.1 (20B29) Report Version: 12 Bridge OS Version: 5.0.1 (18P2561) Anonymous UUID: 3C64E586-83DD-43BE-A324-FA4AAFD629BA

Time Awake Since Boot: 3000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Illegal instruction: 4 Termination Reason: Namespace SIGNAL, Code 0x4 Terminating Process: exc handler [6196]

Application Specific Information: Fatal error: file /Users/jinyu/Desktop/apple-projects/SwitchKey/SwitchKey/AppDelegate.swift, line 175

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libswiftCore.dylib 0x00007fff2c6f5124 assertionFailure(:_:file:line:flags:) + 532 1 itsuhane.tools.SwitchKey 0x0000000106b5b465 0x106b58000 + 13413 2 itsuhane.tools.SwitchKey 0x0000000106b5b81d 0x106b58000 + 14365 3 com.apple.CoreFoundation 0x00007fff203fefdc CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12 4 com.apple.CoreFoundation 0x00007fff2049a89b ___CFXRegistrationPost_block_invoke + 49 5 com.apple.CoreFoundation 0x00007fff2049a80f _CFXRegistrationPost + 454 6 com.apple.CoreFoundation 0x00007fff203cfbce _CFXNotificationPost + 723 7 com.apple.Foundation 0x00007fff2113babe -[NSNotificationCenter postNotificationName:object:userInfo:] + 59 8 com.apple.AppKit 0x00007fff22c2a0f1 -[NSApplication _postDidFinishNotification] + 305 9 com.apple.AppKit 0x00007fff22c29e3f -[NSApplication _sendFinishLaunchingNotification] + 208 10 com.apple.AppKit 0x00007fff22c2703a -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 541 11 com.apple.AppKit 0x00007fff22c26c90 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 665 12 com.apple.Foundation 0x00007fff21167056 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308 13 com.apple.Foundation 0x00007fff21166ec6 _NSAppleEventManagerGenericHandler + 80 14 com.apple.AE 0x00007fff261d10b9 0x7fff261c4000 + 53433 15 com.apple.AE 0x00007fff261d07d4 0x7fff261c4000 + 51156 16 com.apple.AE 0x00007fff261c9440 aeProcessAppleEvent + 452 17 com.apple.HIToolbox 0x00007fff28685f12 AEProcessAppleEvent + 54 18 com.apple.AppKit 0x00007fff22c21412 _DPSNextEvent + 2048 19 com.apple.AppKit 0x00007fff22c1f74b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366 20 com.apple.AppKit 0x00007fff22c11bda -[NSApplication run] + 586 21 com.apple.AppKit 0x00007fff22be5f31 NSApplicationMain + 816 22 itsuhane.tools.SwitchKey 0x0000000106b602d9 0x106b58000 + 33497 23 libdyld.dylib 0x00007fff2032c631 start + 1

Thread 1: 0 libsystem_pthread.dylib 0x00007fff2030d458 start_wqthread + 0

Thread 2: 0 libsystem_pthread.dylib 0x00007fff2030d458 start_wqthread + 0

Thread 3: 0 libsystem_pthread.dylib 0x00007fff2030d458 start_wqthread + 0

Thread 4: 0 libsystem_pthread.dylib 0x00007fff2030d458 start_wqthread + 0

Thread 5: 0 libsystem_pthread.dylib 0x00007fff2030d458 start_wqthread + 0

Thread 6: 0 libsystem_pthread.dylib 0x00007fff2030d458 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit): rax: 0x00000000a5815850 rbx: 0x0000000106b695d0 rcx: 0x0000000000000050 rdx: 0x00000000a5a16051 rdi: 0xe000000000000000 rsi: 0x000060000299e800 rbp: 0x00007ffee90a6200 rsp: 0x00007ffee90a61b0 r8: 0x000000000000007f r9: 0x00000000000007fb r10: 0x0000000000002800 r11: 0x0000000000000080 r12: 0x0000000000000000 r13: 0x000000000000000b r14: 0x0000000000000000 r15: 0x0000000106b6961a rip: 0x00007fff2c6f5124 rfl: 0x0000000000010286 cr2: 0x000000010fb3f000

Logical CPU: 4 Error Code: 0x00000000 Trap Number: 6

Thread 0 instruction stream: 41 0f b6 c7 48 89 03 49-c7 46 10 01 00 00 00 41 A...H..I.F.....A bf 01 00 00 00 48 8b 7d-d0 e9 19 01 00 00 48 89 .....H.}......H. 4d c0 4c 89 65 c8 4c 89-e7 41 89 f4 e8 5b 8a 34 M.L.e.L..A...[.4 00 41 0f b6 cc 48 8d 7d-c0 48 89 de 48 8b 55 10 .A...H.}.H..H.U. 4d 89 f8 4d 89 e9 45 31-e4 41 56 ff 75 20 e8 29 M..M..E1.AV.u .) 18 00 00 48 83 c4 10 48-8b 7d c8 e8 cc 8a 34 00 ...H...H.}....4. [0f]0b 44 89 f9 c1 e9 06-44 89 f8 83 e0 3f c1 e0 ..D.....D....?.. <== 08 41 81 ff 00 08 00 00-73 0d 09 c8 ba c1 81 00 .A......s....... 00 48 8b 7d d0 eb 38 83-e1 3f 09 c8 44 89 f9 c1 .H.}..8..?..D... e9 0c c1 e0 08 41 81 ff-ff ff 00 00 48 8b 7d d0 .....A......H.}. 77 09 09 c8 ba e1 81 81-00 eb 14 83 e1 3f 09 c8 w............?.. 41 c1 ef 12 c1 e0 08 44-09 f8 ba f1 81 81 81 8d A......D........

Thread 0 last branch register state not available.

hshh avatar Nov 23 '20 09:11 hshh

有同样的问题,求解决

declan-haojin avatar Mar 23 '21 04:03 declan-haojin