I run pyribs code from poetry and python3.9.
However, when I run the code for 12 ~ 36 hours, sometimes the code crushed...
The error message is here.
Application Specific Information:
terminating with uncaught exception of type std::__1::system_error: condition_variable wait failed: Invalid argument
abort() called
I think this problem is arised from llvm or llvm-lite, because this error is due to thread ordering problem (maybe).
Steps to Reproduce
This command runs learning with pytorch and pyribs.
Description
I run pyribs code from poetry and python3.9. However, when I run the code for 12 ~ 36 hours, sometimes the code crushed...
The error message is here.
I think this problem is arised from
llvm
orllvm-lite
, because this error is due to thread ordering problem (maybe).Steps to Reproduce
This command runs learning with pytorch and pyribs.
Error traceback is here.
Trace back
``` Process: Python [55836] Path: /usr/local/Cellar/python@3.9/3.9.7/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python Identifier: org.python.python Version: 3.9.7 (3.9.7) Code Type: X86-64 (Native) Parent Process: zsh [14421] Responsible: alacritty [1167] User ID: 501 Date/Time: 2021-09-28 22:30:22.093 +0900 OS Version: macOS 11.6 (20G165) Report Version: 12 Anonymous UUID: 795A460E-4BBC-7C3A-D5D0-447C26513803 Sleep/Wake UUID: FDBB4B4C-C0BA-41B9-A29C-828E3B109322 Time Awake Since Boot: 480000 seconds Time Since Wake: 300000 seconds System Integrity Protection: enabled Crashed Thread: 8 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: terminating with uncaught exception of type std::__1::system_error: condition_variable wait failed: Invalid argument abort() called Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff203774ca __psynch_mutexwait + 10 1 libsystem_pthread.dylib 0x00007fff203a82ab _pthread_mutex_firstfit_lock_wait + 76 2 libsystem_pthread.dylib 0x00007fff203a6192 _pthread_mutex_firstfit_lock_slow + 204 3 libc++.1.dylib 0x00007fff203413d9 std::__1::mutex::lock() + 9 4 libc10.dylib 0x00000001265fff76 c10::ThreadPool::run(std::__1::function