panic upon embarking
Something that SoundChannel::add_oneshot calls panicked while embarking (right after "Play Now!" is chosen, and the "A Dwarven Outpost" paragraph is displayed). Not sure what, as it appears inlined.
An imperative from someone who uses Rust in the industry: do not unwrap, panic, or invoke panicking functions. Ever. Panicking = failure to handle normal runtime conditions. A user-facing application should never panic, unless the computer is literally on fire.
Process Dump
``` Process: SoundSense-RS [31664] Path: /Applications/Lazy Mac Pack v0.47.05 dfhack-r1/*/SoundSense-RS Identifier: SoundSense-RS Version: 0 Code Type: X86-64 (Native) Parent Process: ??? [31662] User ID: 501
Date/Time: 2021-08-02 21:03:49.517 -0500 OS Version: macOS 11.5.1 (20G80) Report Version: 12 Bridge OS Version: 5.5 (18P4759a) Anonymous UUID: BBED2F5B-F298-A9EA-C359-A5A7EDC06323
Sleep/Wake UUID: DA0D2302-694E-4EFB-9101-2ABF994C9131
Time Awake Since Boot: 140000 seconds Time Since Wake: 39000 seconds
System Integrity Protection: enabled
Crashed Thread: 1 sound_thread
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information: abort() called
Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff2039a2ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2039a62c mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff204c8b2f __CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff204c720f __CFRunLoopRun + 1328 4 com.apple.CoreFoundation 0x00007fff204c661c CFRunLoopRunSpecific + 563 5 com.apple.HIToolbox 0x00007fff2870ba83 RunCurrentEventLoopInMode + 292 6 com.apple.HIToolbox 0x00007fff2870b7e5 ReceiveNextEventCommon + 587 7 com.apple.HIToolbox 0x00007fff2870b583 _BlockUntilNextEventMatchingListInModeWithFilter + 70 8 com.apple.AppKit 0x00007fff22ccd502 _DPSNextEvent + 864 9 com.apple.AppKit 0x00007fff22ccbcd5 -[NSApplication(NSEvent) nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364 10 SoundSense-RS 0x0000000109a4d88d webview_loop + 224 11 SoundSense-RS 0x00000001099ad399 web_view::WebView$LT$T$GT$::step::h3ad07b99970bc455 + 28 12 SoundSense-RS 0x00000001099c1ee3 soundsense_rs::main::hc14fecc406464efb + 20049 13 SoundSense-RS 0x0000000109991813 std::rt::lang_start::$u7b$$u7b$closure$u7d$$u7d$::h3ad1205a38dba612 + 6 14 SoundSense-RS 0x00000001099c3539 main + 480 15 libdyld.dylib 0x00007fff203eaf3d start + 1
Thread 1 Crashed:: sound_thread 0 libsystem_kernel.dylib 0x00007fff203a092e __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff203cf5bd pthread_kill + 263 2 libsystem_c.dylib 0x00007fff20324406 abort + 125 3 SoundSense-RS 0x00000001099f34f9 panic_abort::__rust_start_panic::abort::h40a68d6e2831682e + 9 4 SoundSense-RS 0x00000001099f34e9 __rust_start_panic + 9 5 SoundSense-RS 0x0000000109a3af89 rust_panic + 9 6 SoundSense-RS 0x0000000109a3ae91 std::panicking::rust_panic_with_hook::ha90a0fcd081f2912 + 1249 7 SoundSense-RS 0x0000000109a3ec84 rust_begin_unwind + 100 8 SoundSense-RS 0x00000001099d38bc core::panicking::panic_fmt::h7a494aa61e6f3008 + 44 9 SoundSense-RS 0x00000001099d6119 core::result::unwrap_failed::h5e4e0204b3eb7e91 + 121 10 SoundSense-RS 0x0000000109997cb2 core::result::Result$LT$T$C$E$GT$::expect::hd8845a87af2b1e13 + 92 11 SoundSense-RS 0x00000001099b55d9 soundsense_rs::sound::sound_channel::SoundChannel::add_oneshot::hd394a96386b4a64f + 1134 12 SoundSense-RS 0x00000001099baa47 soundsense_rs::sound::run::$u7b$$u7b$closure$u7d$$u7d$::hbcec5c6faa8e3e20 + 14911 13 SoundSense-RS 0x00000001099b6da6 soundsense_rs::sound::run::hc5ee7fbd1a1cbb60 + 274 14 SoundSense-RS 0x00000001099c32b7 soundsense_rs::main::$u7b$$u7b$closure$u7d$$u7d$::h1ea81756ea329d2a + 27 15 SoundSense-RS 0x0000000109990f2d std::sys_common::backtrace::__rust_begin_short_backtrace::hb6d4a14043878ce5 + 50 16 SoundSense-RS 0x00000001099922b8 std::thread::Builder::spawn_unchecked::$u7b$$u7b$closure$u7d$$u7d$::$u7b$$u7b$closure$u7d$$u7d$::hc647b90d8e08d451 + 50 17 SoundSense-RS 0x0000000109986c68 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h79802267fdfaadfe + 50 18 SoundSense-RS 0x0000000109992b7c core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hac8dd778bc8a10ab + 94 19 SoundSense-RS 0x0000000109a4886d _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h4099ce1681acac7f + 61 20 SoundSense-RS 0x0000000109a499e7 std::sys::unix::thread::Thread::new::thread_start::heeae8d263e40d50f + 135 21 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 22 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 2:: AMCP Logging Spool 0 libsystem_kernel.dylib 0x00007fff2039a2f6 semaphore_wait_trap + 10 1 com.apple.audio.caulk 0x00007fff2848b8da caulk::mach::semaphore::wait_or_error() + 16 2 com.apple.audio.caulk 0x00007fff28478836 caulk::semaphore::timed_wait(double) + 110 3 com.apple.audio.caulk 0x00007fff28478784 caulk::concurrent::details::worker_thread::run() + 30 4 com.apple.audio.caulk 0x00007fff28478502 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuplecaulk::concurrent::details::worker_thread* > >(void) + 45 5 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 6 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 3:: JavaScriptCore bmalloc scavenger 0 libsystem_kernel.dylib 0x00007fff2039ccde __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff203cfe49 _pthread_cond_wait + 1298 2 libc++.1.dylib 0x00007fff20338d72 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 18 3 com.apple.JavaScriptCore 0x00007fff374c2934 void std::__1::condition_variable_any::wait<std::__1::unique_lockbmalloc::Mutex >(std::__1::unique_lockbmalloc::Mutex&) + 84 4 com.apple.JavaScriptCore 0x00007fff374c73fb bmalloc::Scavenger::threadRunLoop() + 331 5 com.apple.JavaScriptCore 0x00007fff374c6f89 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9 6 com.apple.JavaScriptCore 0x00007fff374c9b17 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void ()(bmalloc::Scavenger), bmalloc::Scavenger*> >(void*) + 39 7 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 8 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 4:: rodio audio processing 0 libsystem_kernel.dylib 0x00007fff2039ccde __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff203cfe49 _pthread_cond_wait + 1298 2 SoundSense-RS 0x0000000109a32094 cpal::host::coreaudio::EventLoop::run::hc3182e3dd9696bd1 + 217 3 SoundSense-RS 0x0000000109a31fbb $LT$cpal..host..coreaudio..EventLoop$u20$as$u20$cpal..traits..EventLoopTrait$GT$::run::h7b15e777a137cee4 + 9 4 SoundSense-RS 0x0000000109a31fb2 $LT$cpal..platform..platform_impl..EventLoop$u20$as$u20$cpal..traits..EventLoopTrait$GT$::run::h04050cbe3763059d + 23 5 SoundSense-RS 0x0000000109a31f9b $LT$rodio..engine..play_raw..ENGINE$u20$as$u20$core..ops..deref..Deref$GT$::deref::__static_ref_initialize::$u7b$$u7b$closure$u7d$$u7d$::he87e35f328adc925 + 24 6 SoundSense-RS 0x0000000109a31f83 std::sys_common::backtrace::__rust_begin_short_backtrace::hfa1a629da94e174d + 9 7 SoundSense-RS 0x0000000109a31f7a std::thread::Builder::spawn_unchecked::$u7b$$u7b$closure$u7d$$u7d$::$u7b$$u7b$closure$u7d$$u7d$::h0c0c8eecda8ea884 + 9 8 SoundSense-RS 0x0000000109a31f71 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h6a14693a9e537969 + 9 9 SoundSense-RS 0x0000000109a33a65 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h5034ff3d5138549d + 63 10 SoundSense-RS 0x0000000109a4886d _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h4099ce1681acac7f + 61 11 SoundSense-RS 0x0000000109a499e7 std::sys::unix::thread::Thread::new::thread_start::heeae8d263e40d50f + 135 12 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 13 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 5:: com.apple.coreanimation.render-server 0 libsystem_kernel.dylib 0x00007fff2039a2ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2039a62c mach_msg + 60 2 com.apple.QuartzCore 0x00007fff26c7c9ac CA::Render::Server::server_thread(void*) + 498 3 com.apple.QuartzCore 0x00007fff26c7c7a7 thread_fun(void*) + 25 4 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 5 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 6:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff2039a2ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2039a62c mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff204c8b2f __CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff204c720f __CFRunLoopRun + 1328 4 com.apple.CoreFoundation 0x00007fff204c661c CFRunLoopRunSpecific + 563 5 com.apple.AppKit 0x00007fff22e535ca _NSEventThread + 124 6 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 7 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 7:: com.apple.audio.IOThread.client 0 libsystem_kernel.dylib 0x00007fff2039a2ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2039a62c mach_msg + 60 2 com.apple.audio.CoreAudio 0x00007fff21ea7335 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 111 3 com.apple.audio.CoreAudio 0x00007fff21d49e2d invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 3367 4 com.apple.audio.CoreAudio 0x00007fff21ee5b04 HALB_IOThread::Entry(void*) + 72 5 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 6 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 8: 0 libsystem_pthread.dylib 0x00007fff203cb420 start_wqthread + 0
Thread 9: 0 libsystem_pthread.dylib 0x00007fff203cb420 start_wqthread + 0
Thread 1 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000700009226000 rcx: 0x0000700009223ae8 rdx: 0x0000000000000000 rdi: 0x0000000000000b03 rsi: 0x0000000000000006 rbp: 0x0000700009223b10 rsp: 0x0000700009223ae8 r8: 0x0000000109ad2f20 r9: 0x0000000000000100 r10: 0x0000000000000000 r11: 0x0000000000000246 r12: 0x0000000000000b03 r13: 0x0000000000000000 r14: 0x0000000000000006 r15: 0x0000000000000016 rip: 0x00007fff203a092e rfl: 0x0000000000000246 cr2: 0x0000000109a61821
Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133
Thread 1 instruction stream not available.
Thread 1 last branch register state not available.
Binary Images: 0x109985000 - 0x109aadfff +SoundSense-RS (0) <9A377634-AA7F-358A-A447-42F0A560A42A> /Applications/Lazy Mac Pack v0.47.05 dfhack-r1/*/SoundSense-RS …
</p></details>
Again. This time upon You have struck green tourmaline:
Process Dump
``` Process: SoundSense-RS [51862] Path: /Applications/Lazy Mac Pack v0.47.05 dfhack-r1/*/SoundSense-RS Identifier: SoundSense-RS Version: 0 Code Type: X86-64 (Native) Parent Process: ??? [51861] Responsible: PyLNP [50469] User ID: 501Date/Time: 2021-08-05 00:13:41.190 -0500 OS Version: macOS 11.5.1 (20G80) Report Version: 12 Bridge OS Version: 5.5 (18P4759a) Anonymous UUID: BBED2F5B-F298-A9EA-C359-A5A7EDC06323
Sleep/Wake UUID: 115C0AE2-F005-48E2-A105-E3F0BF991395
Time Awake Since Boot: 270000 seconds Time Since Wake: 100000 seconds
System Integrity Protection: enabled
Crashed Thread: 1 sound_thread
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information: abort() called
Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff2039a2ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2039a62c mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff204c8b2f __CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff204c720f __CFRunLoopRun + 1328 4 com.apple.CoreFoundation 0x00007fff204c661c CFRunLoopRunSpecific + 563 5 com.apple.HIToolbox 0x00007fff2870ba83 RunCurrentEventLoopInMode + 292 6 com.apple.HIToolbox 0x00007fff2870b7e5 ReceiveNextEventCommon + 587 7 com.apple.HIToolbox 0x00007fff2870b583 _BlockUntilNextEventMatchingListInModeWithFilter + 70 8 com.apple.AppKit 0x00007fff22ccd502 _DPSNextEvent + 864 9 com.apple.AppKit 0x00007fff22ccbcd5 -[NSApplication(NSEvent) nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364 10 SoundSense-RS 0x000000010589f88d webview_loop + 224 11 SoundSense-RS 0x00000001057ff399 web_view::WebView$LT$T$GT$::step::h3ad07b99970bc455 + 28 12 SoundSense-RS 0x0000000105813ee3 soundsense_rs::main::hc14fecc406464efb + 20049 13 SoundSense-RS 0x00000001057e3813 std::rt::lang_start::$u7b$$u7b$closure$u7d$$u7d$::h3ad1205a38dba612 + 6 14 SoundSense-RS 0x0000000105815539 main + 480 15 libdyld.dylib 0x00007fff203eaf3d start + 1
Thread 1 Crashed:: sound_thread 0 libsystem_kernel.dylib 0x00007fff203a092e __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff203cf5bd pthread_kill + 263 2 libsystem_c.dylib 0x00007fff20324406 abort + 125 3 SoundSense-RS 0x00000001058454f9 panic_abort::__rust_start_panic::abort::h40a68d6e2831682e + 9 4 SoundSense-RS 0x00000001058454e9 __rust_start_panic + 9 5 SoundSense-RS 0x000000010588cf89 rust_panic + 9 6 SoundSense-RS 0x000000010588ce91 std::panicking::rust_panic_with_hook::ha90a0fcd081f2912 + 1249 7 SoundSense-RS 0x0000000105890c84 rust_begin_unwind + 100 8 SoundSense-RS 0x00000001058258bc core::panicking::panic_fmt::h7a494aa61e6f3008 + 44 9 SoundSense-RS 0x0000000105828119 core::result::unwrap_failed::h5e4e0204b3eb7e91 + 121 10 SoundSense-RS 0x00000001057e9cb2 core::result::Result$LT$T$C$E$GT$::expect::hd8845a87af2b1e13 + 92 11 SoundSense-RS 0x00000001058075d9 soundsense_rs::sound::sound_channel::SoundChannel::add_oneshot::hd394a96386b4a64f + 1134 12 SoundSense-RS 0x000000010580cb19 soundsense_rs::sound::run::$u7b$$u7b$closure$u7d$$u7d$::hbcec5c6faa8e3e20 + 15121 13 SoundSense-RS 0x0000000105808da6 soundsense_rs::sound::run::hc5ee7fbd1a1cbb60 + 274 14 SoundSense-RS 0x00000001058152b7 soundsense_rs::main::$u7b$$u7b$closure$u7d$$u7d$::h1ea81756ea329d2a + 27 15 SoundSense-RS 0x00000001057e2f2d std::sys_common::backtrace::__rust_begin_short_backtrace::hb6d4a14043878ce5 + 50 16 SoundSense-RS 0x00000001057e42b8 std::thread::Builder::spawn_unchecked::$u7b$$u7b$closure$u7d$$u7d$::$u7b$$u7b$closure$u7d$$u7d$::hc647b90d8e08d451 + 50 17 SoundSense-RS 0x00000001057d8c68 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h79802267fdfaadfe + 50 18 SoundSense-RS 0x00000001057e4b7c core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hac8dd778bc8a10ab + 94 19 SoundSense-RS 0x000000010589a86d _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h4099ce1681acac7f + 61 20 SoundSense-RS 0x000000010589b9e7 std::sys::unix::thread::Thread::new::thread_start::heeae8d263e40d50f + 135 21 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 22 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 2:: AMCP Logging Spool 0 libsystem_kernel.dylib 0x00007fff2039a2f6 semaphore_wait_trap + 10 1 com.apple.audio.caulk 0x00007fff2848b8da caulk::mach::semaphore::wait_or_error() + 16 2 com.apple.audio.caulk 0x00007fff28478836 caulk::semaphore::timed_wait(double) + 110 3 com.apple.audio.caulk 0x00007fff28478784 caulk::concurrent::details::worker_thread::run() + 30 4 com.apple.audio.caulk 0x00007fff28478502 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuplecaulk::concurrent::details::worker_thread* > >(void) + 45 5 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 6 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 3:: JavaScriptCore bmalloc scavenger 0 libsystem_kernel.dylib 0x00007fff2039ccde __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff203cfe49 _pthread_cond_wait + 1298 2 libc++.1.dylib 0x00007fff20338d72 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 18 3 com.apple.JavaScriptCore 0x00007fff374c2934 void std::__1::condition_variable_any::wait<std::__1::unique_lockbmalloc::Mutex >(std::__1::unique_lockbmalloc::Mutex&) + 84 4 com.apple.JavaScriptCore 0x00007fff374c73fb bmalloc::Scavenger::threadRunLoop() + 331 5 com.apple.JavaScriptCore 0x00007fff374c6f89 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9 6 com.apple.JavaScriptCore 0x00007fff374c9b17 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void ()(bmalloc::Scavenger), bmalloc::Scavenger*> >(void*) + 39 7 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 8 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 4:: rodio audio processing 0 libsystem_kernel.dylib 0x00007fff2039ccde __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff203cfe49 _pthread_cond_wait + 1298 2 SoundSense-RS 0x0000000105884094 cpal::host::coreaudio::EventLoop::run::hc3182e3dd9696bd1 + 217 3 SoundSense-RS 0x0000000105883fbb $LT$cpal..host..coreaudio..EventLoop$u20$as$u20$cpal..traits..EventLoopTrait$GT$::run::h7b15e777a137cee4 + 9 4 SoundSense-RS 0x0000000105883fb2 $LT$cpal..platform..platform_impl..EventLoop$u20$as$u20$cpal..traits..EventLoopTrait$GT$::run::h04050cbe3763059d + 23 5 SoundSense-RS 0x0000000105883f9b $LT$rodio..engine..play_raw..ENGINE$u20$as$u20$core..ops..deref..Deref$GT$::deref::__static_ref_initialize::$u7b$$u7b$closure$u7d$$u7d$::he87e35f328adc925 + 24 6 SoundSense-RS 0x0000000105883f83 std::sys_common::backtrace::__rust_begin_short_backtrace::hfa1a629da94e174d + 9 7 SoundSense-RS 0x0000000105883f7a std::thread::Builder::spawn_unchecked::$u7b$$u7b$closure$u7d$$u7d$::$u7b$$u7b$closure$u7d$$u7d$::h0c0c8eecda8ea884 + 9 8 SoundSense-RS 0x0000000105883f71 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h6a14693a9e537969 + 9 9 SoundSense-RS 0x0000000105885a65 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h5034ff3d5138549d + 63 10 SoundSense-RS 0x000000010589a86d _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h4099ce1681acac7f + 61 11 SoundSense-RS 0x000000010589b9e7 std::sys::unix::thread::Thread::new::thread_start::heeae8d263e40d50f + 135 12 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 13 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 5:: com.apple.coreanimation.render-server 0 libsystem_kernel.dylib 0x00007fff2039a2ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2039a62c mach_msg + 60 2 com.apple.QuartzCore 0x00007fff26c7c9ac CA::Render::Server::server_thread(void*) + 498 3 com.apple.QuartzCore 0x00007fff26c7c7a7 thread_fun(void*) + 25 4 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 5 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 6:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff2039a2ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff2039a62c mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff204c8b2f __CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff204c720f __CFRunLoopRun + 1328 4 com.apple.CoreFoundation 0x00007fff204c661c CFRunLoopRunSpecific + 563 5 com.apple.AppKit 0x00007fff22e535ca _NSEventThread + 124 6 libsystem_pthread.dylib 0x00007fff203cf8fc _pthread_start + 224 7 libsystem_pthread.dylib 0x00007fff203cb443 thread_start + 15
Thread 7: 0 libsystem_pthread.dylib 0x00007fff203cb420 start_wqthread + 0
Thread 1 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000700007cb1000 rcx: 0x0000700007caeae8 rdx: 0x0000000000000000 rdi: 0x0000000000001403 rsi: 0x0000000000000006 rbp: 0x0000700007caeb10 rsp: 0x0000700007caeae8 r8: 0x0000000105924f20 r9: 0x0000000000000100 r10: 0x0000000000000000 r11: 0x0000000000000246 r12: 0x0000000000001403 r13: 0x0000000000000000 r14: 0x0000000000000006 r15: 0x0000000000000016 rip: 0x00007fff203a092e rfl: 0x0000000000000246 cr2: 0x00000001058b3821
Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133
Thread 1 instruction stream not available.
Thread 1 last branch register state not available.
Binary Images: 0x1057d7000 - 0x1058fffff +SoundSense-RS (0) <9A377634-AA7F-358A-A447-42F0A560A42A> /Applications/Lazy Mac Pack v0.47.05 dfhack-r1/*/SoundSense-RS …
</details>
Again. This time after saving then immediately resuming a fort:
Process Dump
Process: SoundSense-RS [962] Path: /Applications/Lazy Mac Pack v0.47.05 dfhack-r1/*/SoundSense-RS Identifier: SoundSense-RS Version: 0 Code Type: X86-64 (Native) Parent Process: ??? [961] Responsible: PyLNP [935] User ID: 501Date/Time: 2021-08-09 20:20:26.820 -0500 OS Version: macOS 11.5.1 (20G80) Report Version: 12 Bridge OS Version: 5.5 (18P4759a) Anonymous UUID: BBED2F5B-F298-A9EA-C359-A5A7EDC06323
Time Awake Since Boot: 29000 seconds
System Integrity Protection: enabled
Crashed Thread: 1 sound_thread
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information: abort() called
Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff203bb2ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff203bb62c mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff204e9b2f __CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff204e820f __CFRunLoopRun + 1328 4 com.apple.CoreFoundation 0x00007fff204e761c CFRunLoopRunSpecific + 563 5 com.apple.HIToolbox 0x00007fff2872ca83 RunCurrentEventLoopInMode + 292 6 com.apple.HIToolbox 0x00007fff2872c7e5 ReceiveNextEventCommon + 587 7 com.apple.HIToolbox 0x00007fff2872c583 _BlockUntilNextEventMatchingListInModeWithFilter + 70 8 com.apple.AppKit 0x00007fff22cee502 _DPSNextEvent + 864 9 com.apple.AppKit 0x00007fff22ceccd5 -[NSApplication(NSEvent) nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364 10 SoundSense-RS 0x0000000101fb888d webview_loop + 224 11 SoundSense-RS 0x0000000101f18399 web_view::WebView$LT$T$GT$::step::h3ad07b99970bc455 + 28 12 SoundSense-RS 0x0000000101f2cee3 soundsense_rs::main::hc14fecc406464efb + 20049 13 SoundSense-RS 0x0000000101efc813 std::rt::lang_start::$u7b$$u7b$closure$u7d$$u7d$::h3ad1205a38dba612 + 6 14 SoundSense-RS 0x0000000101f2e539 main + 480 15 libdyld.dylib 0x00007fff2040bf3d start + 1
Thread 1 Crashed:: sound_thread 0 libsystem_kernel.dylib 0x00007fff203c192e __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff203f05bd pthread_kill + 263 2 libsystem_c.dylib 0x00007fff20345406 abort + 125 3 SoundSense-RS 0x0000000101f5e4f9 panic_abort::__rust_start_panic::abort::h40a68d6e2831682e + 9 4 SoundSense-RS 0x0000000101f5e4e9 __rust_start_panic + 9 5 SoundSense-RS 0x0000000101fa5f89 rust_panic + 9 6 SoundSense-RS 0x0000000101fa5e91 std::panicking::rust_panic_with_hook::ha90a0fcd081f2912 + 1249 7 SoundSense-RS 0x0000000101fa9c84 rust_begin_unwind + 100 8 SoundSense-RS 0x0000000101f3e8bc core::panicking::panic_fmt::h7a494aa61e6f3008 + 44 9 SoundSense-RS 0x0000000101f41119 core::result::unwrap_failed::h5e4e0204b3eb7e91 + 121 10 SoundSense-RS 0x0000000101f02cb2 core::result::Result$LT$T$C$E$GT$::expect::hd8845a87af2b1e13 + 92 11 SoundSense-RS 0x0000000101f205d9 soundsense_rs::sound::sound_channel::SoundChannel::add_oneshot::hd394a96386b4a64f + 1134 12 SoundSense-RS 0x0000000101f25b19 soundsense_rs::sound::run::$u7b$$u7b$closure$u7d$$u7d$::hbcec5c6faa8e3e20 + 15121 13 SoundSense-RS 0x0000000101f21da6 soundsense_rs::sound::run::hc5ee7fbd1a1cbb60 + 274 14 SoundSense-RS 0x0000000101f2e2b7 soundsense_rs::main::$u7b$$u7b$closure$u7d$$u7d$::h1ea81756ea329d2a + 27 15 SoundSense-RS 0x0000000101efbf2d std::sys_common::backtrace::__rust_begin_short_backtrace::hb6d4a14043878ce5 + 50 16 SoundSense-RS 0x0000000101efd2b8 std::thread::Builder::spawn_unchecked::$u7b$$u7b$closure$u7d$$u7d$::$u7b$$u7b$closure$u7d$$u7d$::hc647b90d8e08d451 + 50 17 SoundSense-RS 0x0000000101ef1c68 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h79802267fdfaadfe + 50 18 SoundSense-RS 0x0000000101efdb7c core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hac8dd778bc8a10ab + 94 19 SoundSense-RS 0x0000000101fb386d _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h4099ce1681acac7f + 61 20 SoundSense-RS 0x0000000101fb49e7 std::sys::unix::thread::Thread::new::thread_start::heeae8d263e40d50f + 135 21 libsystem_pthread.dylib 0x00007fff203f08fc _pthread_start + 224 22 libsystem_pthread.dylib 0x00007fff203ec443 thread_start + 15
Thread 2:: AMCP Logging Spool 0 libsystem_kernel.dylib 0x00007fff203bb2f6 semaphore_wait_trap + 10 1 com.apple.audio.caulk 0x00007fff284ac8da caulk::mach::semaphore::wait_or_error() + 16 2 com.apple.audio.caulk 0x00007fff28499836 caulk::semaphore::timed_wait(double) + 110 3 com.apple.audio.caulk 0x00007fff28499784 caulk::concurrent::details::worker_thread::run() + 30 4 com.apple.audio.caulk 0x00007fff28499502 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuplecaulk::concurrent::details::worker_thread* > >(void) + 45 5 libsystem_pthread.dylib 0x00007fff203f08fc _pthread_start + 224 6 libsystem_pthread.dylib 0x00007fff203ec443 thread_start + 15
Thread 3:: JavaScriptCore bmalloc scavenger 0 libsystem_kernel.dylib 0x00007fff203bdcde __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff203f0e49 _pthread_cond_wait + 1298 2 libc++.1.dylib 0x00007fff20359d72 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 18 3 com.apple.JavaScriptCore 0x00007fff374e3934 void std::__1::condition_variable_any::wait<std::__1::unique_lockbmalloc::Mutex >(std::__1::unique_lockbmalloc::Mutex&) + 84 4 com.apple.JavaScriptCore 0x00007fff374e83fb bmalloc::Scavenger::threadRunLoop() + 331 5 com.apple.JavaScriptCore 0x00007fff374e7f89 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9 6 com.apple.JavaScriptCore 0x00007fff374eab17 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void ()(bmalloc::Scavenger), bmalloc::Scavenger*> >(void*) + 39 7 libsystem_pthread.dylib 0x00007fff203f08fc _pthread_start + 224 8 libsystem_pthread.dylib 0x00007fff203ec443 thread_start + 15
Thread 4:: rodio audio processing 0 libsystem_kernel.dylib 0x00007fff203bdcde __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff203f0e49 _pthread_cond_wait + 1298 2 SoundSense-RS 0x0000000101f9d094 cpal::host::coreaudio::EventLoop::run::hc3182e3dd9696bd1 + 217 3 SoundSense-RS 0x0000000101f9cfbb $LT$cpal..host..coreaudio..EventLoop$u20$as$u20$cpal..traits..EventLoopTrait$GT$::run::h7b15e777a137cee4 + 9 4 SoundSense-RS 0x0000000101f9cfb2 $LT$cpal..platform..platform_impl..EventLoop$u20$as$u20$cpal..traits..EventLoopTrait$GT$::run::h04050cbe3763059d + 23 5 SoundSense-RS 0x0000000101f9cf9b $LT$rodio..engine..play_raw..ENGINE$u20$as$u20$core..ops..deref..Deref$GT$::deref::__static_ref_initialize::$u7b$$u7b$closure$u7d$$u7d$::he87e35f328adc925 + 24 6 SoundSense-RS 0x0000000101f9cf83 std::sys_common::backtrace::__rust_begin_short_backtrace::hfa1a629da94e174d + 9 7 SoundSense-RS 0x0000000101f9cf7a std::thread::Builder::spawn_unchecked::$u7b$$u7b$closure$u7d$$u7d$::$u7b$$u7b$closure$u7d$$u7d$::h0c0c8eecda8ea884 + 9 8 SoundSense-RS 0x0000000101f9cf71 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h6a14693a9e537969 + 9 9 SoundSense-RS 0x0000000101f9ea65 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h5034ff3d5138549d + 63 10 SoundSense-RS 0x0000000101fb386d _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h4099ce1681acac7f + 61 11 SoundSense-RS 0x0000000101fb49e7 std::sys::unix::thread::Thread::new::thread_start::heeae8d263e40d50f + 135 12 libsystem_pthread.dylib 0x00007fff203f08fc _pthread_start + 224 13 libsystem_pthread.dylib 0x00007fff203ec443 thread_start + 15
Thread 5:: com.apple.coreanimation.render-server 0 libsystem_kernel.dylib 0x00007fff203bb2ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff203bb62c mach_msg + 60 2 com.apple.QuartzCore 0x00007fff26c9d9ac CA::Render::Server::server_thread(void*) + 498 3 com.apple.QuartzCore 0x00007fff26c9d7a7 thread_fun(void*) + 25 4 libsystem_pthread.dylib 0x00007fff203f08fc _pthread_start + 224 5 libsystem_pthread.dylib 0x00007fff203ec443 thread_start + 15
Thread 6:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff203bb2ba mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff203bb62c mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff204e9b2f __CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x00007fff204e820f __CFRunLoopRun + 1328 4 com.apple.CoreFoundation 0x00007fff204e761c CFRunLoopRunSpecific + 563 5 com.apple.AppKit 0x00007fff22e745ca _NSEventThread + 124 6 libsystem_pthread.dylib 0x00007fff203f08fc _pthread_start + 224 7 libsystem_pthread.dylib 0x00007fff203ec443 thread_start + 15
Thread 7: 0 libsystem_pthread.dylib 0x00007fff203ec420 start_wqthread + 0
Thread 1 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000700003c7d000 rcx: 0x0000700003c7aae8 rdx: 0x0000000000000000 rdi: 0x0000000000001303 rsi: 0x0000000000000006 rbp: 0x0000700003c7ab10 rsp: 0x0000700003c7aae8 r8: 0x000000010203df20 r9: 0x0000000000000100 r10: 0x0000000000000000 r11: 0x0000000000000246 r12: 0x0000000000001303 r13: 0x0000000000000000 r14: 0x0000000000000006 r15: 0x0000000000000016 rip: 0x00007fff203c192e rfl: 0x0000000000000246 cr2: 0x0000000101fcc821
Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133
Thread 1 instruction stream not available.
Thread 1 last branch register state not available.
Binary Images: 0x101ef0000 - 0x102018fff +SoundSense-RS (0) <9A377634-AA7F-358A-A447-42F0A560A42A> /Applications/Lazy Mac Pack v0.47.05 dfhack-r1/*/SoundSense-RS …
You need to remove this panic, and all others.