madronalabs / sumu-issues

issues for Sumu, currently in beta.
1 stars 0 forks source link

VCV Rack UI opening crash #7

Closed madronalabs closed 1 month ago

madronalabs commented 7 months ago

Opening Sumu interface a second time crashes Rack

Environment: VCV Rack 2 Pro 2.4.1, VCV Host plugin 2.0.4 Mac OS X Sonoma 14.2.1

Steps: 1) New empty patch 2) Add Host module 3) Select Sumu VST3 plugin 4) Close Sumu interface window 5) Click eye icon on Host to reopen interface

madronalabs commented 7 months ago

Translated Report (Full Report Below)

Process: Rack [79705] Path: /Applications/VCV Rack 2 Pro.app/Contents/MacOS/Rack Identifier: com.vcvrack.rack Version: 2.4.1 (2.4.1) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501

Date/Time: 2024-02-10 11:06:35.1159 -0800 OS Version: macOS 14.2.1 (23C71) Report Version: 12 Anonymous UUID: 2D61DAAB-D4DA-6DF4-8E10-32F0300CFA07

Sleep/Wake UUID: E2FC6707-3CFF-4E88-AE99-458B5E467CE1

Time Awake Since Boot: 1300000 seconds Time Since Wake: 1700 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Codes: 0x0000000000000001, 0x0000000000000000

VM Region Info: 0 is not in any region. Bytes before following region: 4296441856 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 100168000-10016c000 [ 16K] r-x/r-x SM=COW ...ts/MacOS/Rack

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 Sumu 0x115101a04 0x114fdc000 + 1202692 1 Sumu 0x115100464 SumuPartialsDisplay::makePartialsLayer(ml::DrawContext) + 1088 2 Sumu 0x1150fffa0 SumuPartialsDisplay::animate(int, ml::DrawContext) + 216 3 Sumu 0x11517ac08 View::animate(int, ml::DrawContext) + 328 4 Sumu 0x11515b31c ml::AppView::render(NVGcontext, ml::Layer) + 280 5 Sumu 0x1151ba0b0 0x114fdc000 + 1958064 6 MetalKit 0x19d155bc0 -[MTKView draw] + 256 7 MetalKit 0x19d155aa0 23-[MTKView initCommon]_block_invoke + 40 8 libdispatch.dylib 0x18b2f4910 _dispatch_client_callout + 20 9 libdispatch.dylib 0x18b2f7dc8 _dispatch_continuation_pop + 600 10 libdispatch.dylib 0x18b30bbe4 _dispatch_source_latch_and_call + 420 11 libdispatch.dylib 0x18b30a7b4 _dispatch_source_invoke + 832 12 libdispatch.dylib 0x18b302eb8 _dispatch_main_queue_drain + 744 13 libdispatch.dylib 0x18b302bc0 _dispatch_main_queue_callback_4CF + 44 14 CoreFoundation 0x18b5c4ecc CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 15 CoreFoundation 0x18b5827d0 __CFRunLoopRun + 1996 16 CoreFoundation 0x18b5819ac CFRunLoopRunSpecific + 608 17 HIToolbox 0x195b30448 RunCurrentEventLoopInMode + 292 18 HIToolbox 0x195b30284 ReceiveNextEventCommon + 648 19 HIToolbox 0x195b2ffdc _BlockUntilNextEventMatchingListInModeWithFilter + 76 20 AppKit 0x18ed5e8a4 _DPSNextEvent + 660 21 AppKit 0x18f538980 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716 22 libRack.dylib 0x101117e50 _glfwPollEventsCocoa + 124 23 libRack.dylib 0x1010520b0 rack::window::Window::step() + 144 24 libRack.dylib 0x101052008 rack::window::Window::run() + 40 25 Rack 0x10016a7e0 main + 3428 26 dyld 0x18b1250e0 start + 2360

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

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

Thread 3:: caulk.messenger.shared:17 0 libsystem_kernel.dylib 0x18b4657f0 semaphore_wait_trap + 8 1 caulk 0x19582c690 caulk::semaphore::timed_wait(double) + 212 2 caulk 0x19582c544 caulk::concurrent::details::worker_thread::run() + 36 3 caulk 0x19582c244 void caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuple<caulk::concurrent::details::worker_thread>>>(void) + 96 4 libsystem_pthread.dylib 0x18b4a6034 _pthread_start + 136 5 libsystem_pthread.dylib 0x18b4a0e3c thread_start + 8

Thread 4:: caulk.messenger.shared:high 0 libsystem_kernel.dylib 0x18b4657f0 semaphore_wait_trap + 8 1 caulk 0x19582c690 caulk::semaphore::timed_wait(double) + 212 2 caulk 0x19582c544 caulk::concurrent::details::worker_thread::run() + 36 3 caulk 0x19582c244 void caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuple<caulk::concurrent::details::worker_thread>>>(void) + 96 4 libsystem_pthread.dylib 0x18b4a6034 _pthread_start + 136 5 libsystem_pthread.dylib 0x18b4a0e3c thread_start + 8

Thread 5: 0 libsystem_kernel.dylib 0x18b465874 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x18b477cf0 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x18b46e4b0 mach_msg_overwrite + 476 3 libsystem_kernel.dylib 0x18b465bf8 mach_msg + 24 4 CoreMIDI 0x1a506448c XServerMachPort::ReceiveMessage(int&, void, int&) + 104 5 CoreMIDI 0x1a507566c MIDIProcess::MIDIInPortThread::Run() + 156 6 CoreMIDI 0x1a5072a64 CADeprecated::XThread::RunHelper(void) + 48 7 CoreMIDI 0x1a50746c0 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92 8 libsystem_pthread.dylib 0x18b4a6034 _pthread_start + 136 9 libsystem_pthread.dylib 0x18b4a0e3c thread_start + 8

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

Thread 7:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x18b465874 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x18b477cf0 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x18b46e4b0 mach_msg_overwrite + 476 3 libsystem_kernel.dylib 0x18b465bf8 mach_msg + 24 4 CoreFoundation 0x18b583bf4 CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x18b5824bc CFRunLoopRun + 1208 6 CoreFoundation 0x18b5819ac CFRunLoopRunSpecific + 608 7 AppKit 0x18ee88510 _NSEventThread + 144 8 libsystem_pthread.dylib 0x18b4a6034 _pthread_start + 136 9 libsystem_pthread.dylib 0x18b4a0e3c thread_start + 8

Thread 8: 0 libsystem_pthread.dylib 0x18b4a0e28 start_wqthread + 0

Thread 9: 0 libsystem_kernel.dylib 0x18b468e68 semwait_signal + 8 1 libsystem_c.dylib 0x18b3482f8 nanosleep + 220 2 libc++.1.dylib 0x18b3db81c std::1::this_thread::sleep_for(std::1::chrono::duration<long long, std::1::ratio<1l, 1000000000l>> const&) + 84 3 libRack.dylib 0x10103b890 rack::engine::Engine_fallbackRun(rack::engine::Engine) + 172 4 libRack.dylib 0x10103c2bc void std::1::thread_proxy[abi:v15006]<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::__1::default_delete>, void ()(rack::engine::Engine), rack::engine::Engine>>(void) + 44 5 libsystem_pthread.dylib 0x18b4a6034 _pthread_start + 136 6 libsystem_pthread.dylib 0x18b4a0e3c thread_start + 8

Thread 10: 0 libsystem_kernel.dylib 0x18b46906c psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b4a65fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b3cd4dc std::__1::condition_variable::wait(std::1::unique_lock&)

Thread 11: 0 libsystem_pthread.dylib 0x18b4a0e28 start_wqthread + 0

Thread 12:: CVDisplayLink 0 libsystem_kernel.dylib 0x18b46906c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b4a6628 _pthread_cond_wait + 1272 2 CoreVideo 0x193e6d528 CVDisplayLink::waitUntil(unsigned long long) + 328 3 CoreVideo 0x193e6c5f4 CVDisplayLink::runIOThread() + 504 4 libsystem_pthread.dylib 0x18b4a6034 _pthread_start + 136 5 libsystem_pthread.dylib 0x18b4a0e3c thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x000000016fc95300 x1: 0x000000013af4e5ec x2: 0xffffffffffffffec x3: 0x000000013af1b1cc x4: 0x0000000000033400 x5: 0x0000000000000020 x6: 0x000000000000000a x7: 0x0000000000000000 x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0x000000013af05400 x11: 0x00000000005f9e80 x12: 0x000000000000f6d8 x13: 0x0000000000000001 x14: 0x000000013af1a800 x15: 0x000000013af1a800 x16: 0x000000018b4d5650 x17: 0x00000001eacf3790 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x000000013add2200 x21: 0x0000000000000040 x22: 0x0000000000000000 x23: 0x0000000000000283 x24: 0x000000016fc95430 x25: 0x0000000000000001 x26: 0x00006000020f80f0 x27: 0x000000016fc95ac8 x28: 0x0000000115270720 fp: 0x000000016fc953d0 lr: 0x00000001151019e8 sp: 0x000000016fc95300 pc: 0x0000000115101a04 cpsr: 0x80001000 far: 0x0000000000000000 esr: 0x56000080 Address size fault

madronalabs commented 1 month ago

Opening crash is fixed. UI still doesn't work well in VCV Rack.