Open louisvigneau opened 3 years ago
Thank you for reporting. We are currently looking into M1 related issues, this crash appears to be not strictly related to this plugin but affect the JavaScript API on M1 devices in general.
Any news ?
We found a fix for this issue, which is going to be included in the upcoming Sketch 70.5 update, scheduled for next week.
Just wanted to let you know this issue is still not resolved (Sketch 70.6
) and it happens on Intel as well.
Spent quite a bit of the day trying to figure out why hitting ⌘+,
kept crashing Sketch – turned out the prefs panel selection defaulted to Plugins
and as soon as it opened, the Unsplash plugin would crash Sketch.
hitting
⌘+,
kept crashing Sketch – turned out the prefs panel selection defaulted toPlugins
and as soon as it opened, the Unsplash plugin would crash Sketch.
Would you please share more details about how you’re making this happen? I can’t reproduce on my side, and am not sure I’m getting the steps right. Also, you say the plugin crashes Sketch, does it happen when you use the plugin? Or does Sketch crash spontaneously when opening the preferences panel?
Thanks in advance!
Crash report
```log Process: Sketch [977] Path: /Applications/Sketch.app/Contents/MacOS/Sketch Identifier: com.bohemiancoding.sketch3 Version: 70.3 (109109) Code Type: ARM-64 (Native) Parent Process: ??? [1] Responsible: Sketch [977] User ID: 501 Date/Time: 2021-01-15 13:22:25.505 +0100 OS Version: macOS 11.1 (20C69) Report Version: 12 Anonymous UUID: E0874D56-BC00-5950-A98F-0FA01FFFB3B6 Time Awake Since Boot: 1900 seconds 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 Termination Signal: Abort trap: 6 Termination Reason: Namespace SIGNAL, Code 0x6 Terminating Process: Sketch [977] Application Specific Information: Attempt to use unknown class 0x16c8ba8e0. Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00000001a23c3ce8 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001a23c4098 mach_msg + 76 2 com.apple.CoreFoundation 0x00000001a24f7e98 __CFRunLoopServiceMachPort + 380 3 com.apple.CoreFoundation 0x00000001a24f636c __CFRunLoopRun + 1216 4 com.apple.CoreFoundation 0x00000001a24f5740 CFRunLoopRunSpecific + 600 5 com.apple.HIToolbox 0x00000001aa012678 RunCurrentEventLoopInMode + 292 6 com.apple.HIToolbox 0x00000001aa0124a8 ReceiveNextEventCommon + 688 7 com.apple.HIToolbox 0x00000001aa0121d8 _BlockUntilNextEventMatchingListInModeWithFilter + 76 8 com.apple.AppKit 0x00000001a4ccdda4 _DPSNextEvent + 868 9 com.apple.AppKit 0x00000001a4ccc724 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1312 10 com.apple.AppKit 0x00000001a4cbe60c -[NSApplication run] + 600 11 com.apple.AppKit 0x00000001a4c8fdb0 NSApplicationMain + 1064 12 libdyld.dylib 0x00000001a2418f34 start + 4 Thread 1: 0 libsystem_kernel.dylib 0x00000001a23c3ce8 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001a23c4098 mach_msg + 76 2 com.bohemiancoding.sketch3 0x0000000104f713d4 0x104cb0000 + 2888660 3 libsystem_pthread.dylib 0x00000001a23fd06c _pthread_start + 320 4 libsystem_pthread.dylib 0x00000001a23f7da0 thread_start + 8 Thread 2:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x00000001a23c3ce8 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001a23c4098 mach_msg + 76 2 com.apple.CoreFoundation 0x00000001a24f7e98 __CFRunLoopServiceMachPort + 380 3 com.apple.CoreFoundation 0x00000001a24f636c __CFRunLoopRun + 1216 4 com.apple.CoreFoundation 0x00000001a24f5740 CFRunLoopRunSpecific + 600 5 com.apple.CFNetwork 0x00000001a69ab7f0 0x1a675f000 + 2410480 6 com.apple.Foundation 0x00000001a32770f4 __NSThread__start__ + 864 7 libsystem_pthread.dylib 0x00000001a23fd06c _pthread_start + 320 8 libsystem_pthread.dylib 0x00000001a23f7da0 thread_start + 8 Thread 3:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00000001a23c3ce8 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001a23c4098 mach_msg + 76 2 com.apple.CoreFoundation 0x00000001a24f7e98 __CFRunLoopServiceMachPort + 380 3 com.apple.CoreFoundation 0x00000001a24f636c __CFRunLoopRun + 1216 4 com.apple.CoreFoundation 0x00000001a24f5740 CFRunLoopRunSpecific + 600 5 com.apple.AppKit 0x00000001a4e4dddc _NSEventThread + 216 6 libsystem_pthread.dylib 0x00000001a23fd06c _pthread_start + 320 7 libsystem_pthread.dylib 0x00000001a23f7da0 thread_start + 8 Thread 4:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00000001a23ce0e8 __select + 8 1 com.apple.CoreFoundation 0x00000001a2521278 __CFSocketManager + 636 2 libsystem_pthread.dylib 0x00000001a23fd06c _pthread_start + 320 3 libsystem_pthread.dylib 0x00000001a23f7da0 thread_start + 8 Thread 5:: com.apple.CFStream.LegacyThread 0 libsystem_kernel.dylib 0x00000001a23c3ce8 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001a23c4098 mach_msg + 76 2 com.apple.CoreFoundation 0x00000001a24f7e98 __CFRunLoopServiceMachPort + 380 3 com.apple.CoreFoundation 0x00000001a24f636c __CFRunLoopRun + 1216 4 com.apple.CoreFoundation 0x00000001a24f5740 CFRunLoopRunSpecific + 600 5 com.apple.CoreFoundation 0x00000001a2575764 _legacyStreamRunLoop_workThread + 280 6 libsystem_pthread.dylib 0x00000001a23fd06c _pthread_start + 320 7 libsystem_pthread.dylib 0x00000001a23f7da0 thread_start + 8 Thread 6: 0 libsystem_pthread.dylib 0x00000001a23f7d8c start_wqthread + 0 Thread 7: 0 libsystem_pthread.dylib 0x00000001a23f7d8c start_wqthread + 0 Thread 8:: JavaScriptCore bmalloc scavenger 0 libsystem_kernel.dylib 0x00000001a23c7488 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x00000001a23fd568 _pthread_cond_wait + 1192 2 libc++.1.dylib 0x00000001a23573c4 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock