Open virtuald opened 2 years ago
Oh, should probably also leave the exception message here:
libc++abi: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
Sounds like an upcoming release of CTRE will fix this issue, yay.
I haven't seen this happen this year so I think we're good.
Reopening since we're getting user reports, and observed this when cutting the beta releases too.
Was able to reproduce this in a Java project by quickly stopped/reopening the sim. I'm in contact with CTRE and working to resolve this with them.
Stack Trace:
Thread 40 Crashed:
0 libsystem_kernel.dylib 0x18399e0dc __pthread_kill + 8
1 libsystem_pthread.dylib 0x1839d5cc0 pthread_kill + 288
2 libsystem_c.dylib 0x1838e1a40 abort + 180
3 libc++abi.dylib 0x18398d070 abort_message + 132
4 libc++abi.dylib 0x18397d110 demangling_terminate_handler() + 320
5 libobjc.A.dylib 0x18362399c _objc_terminate() + 160
6 libc++abi.dylib 0x18398c434 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x18398f520 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 88
8 libc++abi.dylib 0x18398f464 __cxa_throw + 308
9 libc++.1.dylib 0x18390b6b8 std::__1::__throw_system_error(int, char const*) + 100
10 libc++.1.dylib 0x183900318 std::__1::mutex::lock() + 40
11 libCTRE_PhoenixTools_Sim.dylib 0x15f813d3c 0x15f78c000 + 556348
12 libCTRE_PhoenixTools_Sim.dylib 0x15f930f5c 0x15f78c000 + 1724252
13 libCTRE_PhoenixTools_Sim.dylib 0x15f934608 0x15f78c000 + 1738248
14 libsystem_pthread.dylib 0x1839d6034 _pthread_start + 136
15 libsystem_pthread.dylib 0x1839d0e3c thread_start + 8
@auscompgeek Will this be fixed?
@JoshuaBrest I don't know why you're asking me. I don't work at CTRE.
Problem description
Example stack trace courtesy of auscompgeek:
I reached out to CTRE awhile ago about this.
Operating System
MacOS
Installed Python Packages
No response
Reproducible example code