-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic upon embarking #22
Comments
Again. This time upon 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 Sleep/Wake UUID: 115C0AE2-F005-48E2-A105-E3F0BF991395 Time Awake Since Boot: 270000 seconds System Integrity Protection: enabled Crashed Thread: 1 sound_thread Exception Type: EXC_CRASH (SIGABRT) Application Specific Information: Thread 0:: Dispatch queue: com.apple.main-thread Thread 1 Crashed:: sound_thread Thread 2:: AMCP Logging Spool Thread 3:: JavaScriptCore bmalloc scavenger Thread 4:: rodio audio processing Thread 5:: com.apple.coreanimation.render-server Thread 6:: com.apple.NSEventThread Thread 7: Thread 1 crashed with X86 Thread State (64-bit): Logical CPU: 0 Thread 1 instruction stream not available. Thread 1 last branch register state not available. Binary Images:
|
Again. This time after saving then immediately resuming a fort: Process DumpProcess: 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 Time Awake Since Boot: 29000 seconds System Integrity Protection: enabled Crashed Thread: 1 sound_thread Exception Type: EXC_CRASH (SIGABRT) Application Specific Information: Thread 0:: Dispatch queue: com.apple.main-thread Thread 1 Crashed:: sound_thread Thread 2:: AMCP Logging Spool Thread 3:: JavaScriptCore bmalloc scavenger Thread 4:: rodio audio processing Thread 5:: com.apple.coreanimation.render-server Thread 6:: com.apple.NSEventThread Thread 7: Thread 1 crashed with X86 Thread State (64-bit): Logical CPU: 0 Thread 1 instruction stream not available. Thread 1 last branch register state not available. Binary Images: You need to remove this |
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$u7b$ $u7b$closure$u7d$$u7d$::h3ad1205a38dba612 + 6
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::
14 SoundSense-RS 0x00000001099c3539 main + 480
15 libdyld.dylib 0x00007fff203eaf3d start + 1
Thread 1 Crashed:: sound_thread$u7b$ $u7b$closure$u7d$$u7d$::h1ea81756ea329d2a + 27$u7b$ $u7b$closure$u7d$$u7d$::hc647b90d8e08d451 + 50
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::
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$::
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$u7b$ $u7b$closure$u7d$$u7d$::h0c0c8eecda8ea884 + 9
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$::
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
…
The text was updated successfully, but these errors were encountered: