Closed colin-marshall closed 6 years ago
I just updated the release build; see if you can reproduce this with that build. It has debug symbols embedded in it, which will make my life easier trying to figure out where this is happening.
I think I solved this. I had the Last.fm delegate trying to scrobble when the user hadn't even setup Last.fm, because I don't test things properly!
Ya I think this resolved the issue. Thanks!
This seems to happen towards the end of a song.
crash report
``` Process: jmc [61053] Path: /Applications/jmc.app/Contents/MacOS/jmc Identifier: com.jcm.jmc Version: 1.0 (1) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: jmc [61053] User ID: 504 Date/Time: 2017-08-10 14:51:45.524 -0600 OS Version: Mac OS X 10.11.6 (15G1611) Report Version: 11 Anonymous UUID: D33C5CF9-B59D-F381-B95E-D77DC416A31A Sleep/Wake UUID: C6CC6179-AD8D-4A86-A970-DAC6C0D30173 Time Awake Since Boot: 580000 seconds Time Since Wake: 11000 seconds System Integrity Protection: disabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Breadcrumb Trail (reverse chronological seconds): 149 logging-started Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.jcm.jmc 0x000000010c6c9e48 0x10c61a000 + 720456 1 com.jcm.jmc 0x000000010c76ad37 0x10c61a000 + 1379639 2 com.jcm.jmc 0x000000010c76b084 0x10c61a000 + 1380484 3 com.jcm.jmc 0x000000010c7777cf 0x10c61a000 + 1431503 4 com.jcm.jmc 0x000000010c76b47d 0x10c61a000 + 1381501 5 com.apple.Foundation 0x00007fff8ba3cacb NSKeyValueNotifyObserver + 379 6 com.apple.Foundation 0x00007fff8ba3c33b NSKeyValueDidChange + 457 7 com.apple.Foundation 0x00007fff8b9fd738 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 1148 8 com.apple.Foundation 0x00007fff8ba688d7 _NSSetCharValueAndNotify + 268 9 com.jcm.jmc 0x000000010c7b5e66 0x10c61a000 + 1687142 10 libdispatch.dylib 0x00007fff9f60b93d _dispatch_call_block_and_release + 12 11 libdispatch.dylib 0x00007fff9f60040b _dispatch_client_callout + 8 12 libdispatch.dylib 0x00007fff9f613c1c _dispatch_main_queue_callback_4CF + 1685 13 com.apple.CoreFoundation 0x00007fffa03f0949 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 14 com.apple.CoreFoundation 0x00007fffa03af82d __CFRunLoopRun + 1949 15 com.apple.CoreFoundation 0x00007fffa03aee28 CFRunLoopRunSpecific + 296 16 com.apple.HIToolbox 0x00007fff9a471935 RunCurrentEventLoopInMode + 235 17 com.apple.HIToolbox 0x00007fff9a47176f ReceiveNextEventCommon + 432 18 com.apple.HIToolbox 0x00007fff9a4715af _BlockUntilNextEventMatchingListInModeWithFilter + 71 19 com.apple.AppKit 0x00007fff9ca78df6 _DPSNextEvent + 1067 20 com.apple.AppKit 0x00007fff9ca78226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 21 com.apple.AppKit 0x00007fff9ca6cd80 -[NSApplication run] + 682 22 com.apple.AppKit 0x00007fff9ca36368 NSApplicationMain + 1176 23 com.jcm.jmc 0x000000010c620619 0x10c61a000 + 26137 24 libdyld.dylib 0x00007fff9ab7f5ad start + 1 Activity ID: 0x00000000001a8e42 Activity Name: sendAction: Activity Image Path: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit Activity Image UUID: F3411F6E-DD87-34D0-8C68-C69B2205E41D Activity Offset: 0x002b1dbd Activity Running Time: 0.386406 sec Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff943f6efa kevent_qos + 10 1 libdispatch.dylib 0x00007fff9f606165 _dispatch_mgr_invoke + 216 2 libdispatch.dylib 0x00007fff9f605dcd _dispatch_mgr_thread + 52 Thread 2: 0 libsystem_kernel.dylib 0x00007fff943f65e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff94f9c578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff94f9a341 start_wqthread + 13 Thread 3:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff943f607a __select + 10 1 com.apple.CoreFoundation 0x00007fffa03ed45a __CFSocketManager + 762 2 libsystem_pthread.dylib 0x00007fff94f9c99d _pthread_body + 131 3 libsystem_pthread.dylib 0x00007fff94f9c91a _pthread_start + 168 4 libsystem_pthread.dylib 0x00007fff94f9a351 thread_start + 13 Thread 4:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff943eff72 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff943ef3b3 mach_msg + 55 2 com.apple.CoreFoundation 0x00007fffa03b0114 __CFRunLoopServiceMachPort + 212 3 com.apple.CoreFoundation 0x00007fffa03af5dc __CFRunLoopRun + 1356 4 com.apple.CoreFoundation 0x00007fffa03aee28 CFRunLoopRunSpecific + 296 5 com.apple.AppKit 0x00007fff9cbced95 _NSEventThread + 149 6 libsystem_pthread.dylib 0x00007fff94f9c99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff94f9c91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff94f9a351 thread_start + 13 Thread 5: 0 libsystem_kernel.dylib 0x00007fff943effc6 semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff9f60bc67 _dispatch_semaphore_wait_slow + 149 2 libdispatch.dylib 0x00007fff9f605d1b _dispatch_worker_thread + 148 3 libsystem_pthread.dylib 0x00007fff94f9c99d _pthread_body + 131 4 libsystem_pthread.dylib 0x00007fff94f9c91a _pthread_start + 168 5 libsystem_pthread.dylib 0x00007fff94f9a351 thread_start + 13 Thread 6: 0 libsystem_kernel.dylib 0x00007fff943f65e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff94f9c578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff94f9a341 start_wqthread + 13 Thread 7: 0 libsystem_kernel.dylib 0x00007fff943f65e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff94f9c578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff94f9a341 start_wqthread + 13 Thread 8: 0 libsystem_kernel.dylib 0x00007fff943f65e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff94f9c578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff94f9a341 start_wqthread + 13 Thread 9: 0 libsystem_kernel.dylib 0x00007fff943f65e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff94f9c578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff94f9a341 start_wqthread + 13 Thread 10: 0 libsystem_kernel.dylib 0x00007fff943f65e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff94f9c578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff94f9a341 start_wqthread + 13 Thread 11:: com.apple.audio.IOThread.client 0 libsystem_kernel.dylib 0x00007fff943eff72 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff943ef3b3 mach_msg + 55 2 com.apple.audio.CoreAudio 0x00007fff9500f35e HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98 3 com.apple.audio.CoreAudio 0x00007fff9500f2ec HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42 4 com.apple.audio.CoreAudio 0x00007fff9500d6a9 HALC_ProxyIOContext::IOWorkLoop() + 1149 5 com.apple.audio.CoreAudio 0x00007fff9500d15e HALC_ProxyIOContext::IOThreadEntry(void*) + 88 6 com.apple.audio.CoreAudio 0x00007fff9500d033 HALB_IOThread::Entry(void*) + 75 7 libsystem_pthread.dylib 0x00007fff94f9c99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff94f9c91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff94f9a351 thread_start + 13 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007fefc9f8bee0 rcx: 0x0000000000000005 rdx: 0x000000000000006c rdi: 0x0000000000000000 rsi: 0x00007fefc9f89738 rbp: 0x00007fff535e3a70 rsp: 0x00007fff535e37b0 r8: 0x0000000000000001 r9: 0x00000000c0000000 r10: 0x00000000ffffffff r11: 0x00007fff9c7fbe40 r12: 0x000000010c84d2eb r13: 0x00007fefc9c51050 r14: 0x00007fefcbc356a0 r15: 0x00007fefcbc00a20 rip: 0x000000010c6c9e48 rfl: 0x0000000000010246 cr2: 0x000000010c6c9e48 Logical CPU: 4 Error Code: 0x00000000 Trap Number: 6 Binary Images: 0x10c61a000 - 0x10c87efff +com.jcm.jmc (1.0 - 1) <4F073D25-F0E1-38A0-A1D3-74AD176A1E29> /Applications/jmc.app/Contents/MacOS/jmc 0x10c956000 - 0x10c95aff7 +libogg.dylib (9.2) <04945B8D-D1E6-381A-869A-2EB09DE008EC> /Applications/jmc.app/Contents/Frameworks/libogg.dylib 0x10c965000 - 0x10c972fff +libswiftAVFoundation.dylib (3.1 - 802.0.53) <3060437F-33F4-3378-9D51-60F4A8002294> /Applications/jmc.app/Contents/Frameworks/libswiftAVFoundation.dylib 0x10c97f000 - 0x10c98bfff +libswiftAppKit.dylib (3.1 - 802.0.53)