godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.31k stars 21.06k forks source link

Deadlock in multithreaded importer for .obj files, or "Creating buffers with data is forbidden during creation of a draw list" error #48265

Closed lyuma closed 2 years ago

lyuma commented 3 years ago

Godot version: 4.0.dev 1c2766e

OS/device including version: Windows 10.0.19041.928

Issue description: I had a deadlock occur while reimporting my project containing a few .obj files, as well as a plethora of random content.

The last output is:

 Couldn't open MTL file 'aria.mtl', it may not exist or not be readable.
   at:    at: (editor\import\resource_importer_obj.cpp:48)
(editor\import\resource_importer_obj.cpp:48)
WARNING:WARNING: OBJ: Ambient light for material 'palette' is ignored in PBR
 OBJ: Ambient light for material 'palette' is ignored in PBR
     at:      at: _parse_material_library (editor\import\resource_importer_obj.cpp:65)
_parse_material_library (editor\import\resource_importer_obj.cpp:65)

Stacktraces from the two relevant threads are as follows:

    ntdll.dll!NtWaitForAlertByThreadId()   Unknown
    ntdll.dll!RtlSleepConditionVariableSRW()    Unknown
    KernelBase.dll!SleepConditionVariableSRW() Unknown
    godot.windows.opt.tools.64.exe!__crtSleepConditionVariableSRW(_RTL_CONDITION_VARIABLE * pCond, _RTL_SRWLOCK * pLock, unsigned long dwMs, unsigned long flags) Line 482  C++
>   [Inline Frame] godot.windows.opt.tools.64.exe!Concurrency::details::stl_condition_variable_win7::wait_for(Concurrency::details::stl_critical_section_interface *) Line 177  C++
    godot.windows.opt.tools.64.exe!Concurrency::details::stl_condition_variable_win7::wait(Concurrency::details::stl_critical_section_interface * lock) Line 171    C++
    godot.windows.opt.tools.64.exe!do_wait(_Cnd_internal_imp_t * cond, _Mtx_internal_imp_t * mtx, const xtime * target) Line 62 C++
    [Inline Frame] godot.windows.opt.tools.64.exe!std::condition_variable::wait(std::unique_lock<std::mutex> &) Line 601    C++
    [Inline Frame] godot.windows.opt.tools.64.exe!Semaphore::wait() Line 58 C++
    [Inline Frame] godot.windows.opt.tools.64.exe!ThreadWorkPool::end_work() Line 121   C++
    godot.windows.opt.tools.64.exe!EditorFileSystem::reimport_files(const Vector<String> & p_files) Line 2011   C++
    godot.windows.opt.tools.64.exe!EditorFileSystem::_update_scan_actions() Line 582    C++
    godot.windows.opt.tools.64.exe!EditorFileSystem::_notification(int p_what) Line 1141    C++
    godot.windows.opt.tools.64.exe!EditorFileSystem::_notificationv(int p_notification, bool p_reversed) Line 110   C++
    godot.windows.opt.tools.64.exe!Object::notification(int p_notification, bool p_reversed) Line 795   C++
    godot.windows.opt.tools.64.exe!SceneTree::_notify_group_pause(const StringName & p_group, int p_notification) Line 796  C++
    godot.windows.opt.tools.64.exe!SceneTree::process(float p_time) Line 443    C++
    godot.windows.opt.tools.64.exe!Main::iteration() Line 2505  C++
    godot.windows.opt.tools.64.exe!OS_Windows::run() Line 622   C++
    godot.windows.opt.tools.64.exe!widechar_main(int argc, wchar_t * * argv) Line 163   C++
    godot.windows.opt.tools.64.exe!_main() Line 187 C++
    godot.windows.opt.tools.64.exe!main(int argc, char * * argv) Line 199   C++

and both of the stalled importer threads had the same stacktrace as follows:

    ntdll.dll!NtWaitForAlertByThreadId()   Unknown
    ntdll.dll!RtlSleepConditionVariableSRW()    Unknown
    KernelBase.dll!SleepConditionVariableSRW() Unknown
    godot.windows.opt.tools.64.exe!__crtSleepConditionVariableSRW(_RTL_CONDITION_VARIABLE * pCond, _RTL_SRWLOCK * pLock, unsigned long dwMs, unsigned long flags) Line 482  C++
>   [Inline Frame] godot.windows.opt.tools.64.exe!Concurrency::details::stl_condition_variable_win7::wait_for(Concurrency::details::stl_critical_section_interface *) Line 177  C++
    godot.windows.opt.tools.64.exe!Concurrency::details::stl_condition_variable_win7::wait(Concurrency::details::stl_critical_section_interface * lock) Line 171    C++
    godot.windows.opt.tools.64.exe!do_wait(_Cnd_internal_imp_t * cond, _Mtx_internal_imp_t * mtx, const xtime * target) Line 62 C++
    [Inline Frame] godot.windows.opt.tools.64.exe!std::condition_variable::wait(std::unique_lock<std::mutex> &) Line 601    C++
    [Inline Frame] godot.windows.opt.tools.64.exe!Semaphore::wait() Line 58 C++
    godot.windows.opt.tools.64.exe!CommandQueueMT::push_and_ret<RendererStorage,RenderingServer::SurfaceData (__cdecl RendererStorage::*)(RID,int)const ,RID,int,RenderingServer::SurfaceData>(RendererStorage * p_instance, RenderingServer::SurfaceData(const RendererStorage::*)(RID, int) p_method, RID p1, int p2, RenderingServer::SurfaceData * r_ret) Line 489  C++
    godot.windows.opt.tools.64.exe!RenderingServerDefault::mesh_get_surface(RID p1, int p2) Line 298    C++
    godot.windows.opt.tools.64.exe!ArrayMesh::_get_surfaces() Line 892  C++
    [Inline Frame] godot.windows.opt.tools.64.exe!call_with_variant_args_ret_helper(Performance *) Line 623 C++
    [Inline Frame] godot.windows.opt.tools.64.exe!call_with_variant_args_ret_dv(Performance *) Line 428 C++
    godot.windows.opt.tools.64.exe!MethodBindTR<Performance,Array>::call(Object * p_object, const Variant * * p_args, int p_arg_count, Callable::CallError & r_error) Line 450  C++
    godot.windows.opt.tools.64.exe!ClassDB::get_property(Object * p_object, const StringName & p_property, Variant & r_value) Line 1167 C++
    godot.windows.opt.tools.64.exe!Object::get(const StringName & p_name, bool * r_valid) Line 456  C++
    godot.windows.opt.tools.64.exe!ResourceFormatSaverBinaryInstance::_find_resources(const Variant & p_variant, bool p_main) Line 1682 C++
    godot.windows.opt.tools.64.exe!ResourceFormatSaverBinaryInstance::save(const String & p_path, const Ref<Resource> & p_resource, unsigned int p_flags) Line 1791 C++
    godot.windows.opt.tools.64.exe!ResourceFormatSaverBinary::save(const String & p_path, const Ref<Resource> & p_resource, unsigned int p_flags) Line 1972 C++
    godot.windows.opt.tools.64.exe!ResourceSaver::save(const String & p_path, const Ref<Resource> & p_resource, unsigned int p_flags) Line 116  C++
    godot.windows.opt.tools.64.exe!ResourceImporterOBJ::import(const String & p_source_file, const String & p_save_path, const Map<StringName,Variant,Comparator<StringName>,DefaultAllocator> & p_options, List<String,DefaultAllocator> * r_platform_variants, List<String,DefaultAllocator> * r_gen_files, Variant * r_metadata) Line 529    C++
    godot.windows.opt.tools.64.exe!EditorFileSystem::_reimport_file(const String & p_file, const Map<StringName,Variant,Comparator<StringName>,DefaultAllocator> * p_custom_options, const String & p_custom_importer) Line 1779    C++
    godot.windows.opt.tools.64.exe!EditorFileSystem::_reimport_thread(unsigned int p_index, EditorFileSystem::ImportThreadData * p_import_data) Line 1927   C++
    godot.windows.opt.tools.64.exe!ThreadWorkPool::Work<RaycastOcclusionCull::Scenario,void (__cdecl RaycastOcclusionCull::Scenario::*)(unsigned int,RaycastOcclusionCull::Scenario::TransformThreadData *),RaycastOcclusionCull::Scenario::TransformThreadData *>::work() Line 61  C++
    godot.windows.opt.tools.64.exe!ThreadWorkPool::_thread_function(void * p_user) Line 43  C++
    godot.windows.opt.tools.64.exe!Thread::callback(Thread * p_self, const Thread::Settings & p_settings, void(*)(void *) p_callback, void * p_userdata) Line 73    C++
    [Inline Frame] godot.windows.opt.tools.64.exe!std::invoke(void(*)(Thread *, const Thread::Settings &, void(*)(void *), void *) &&) Line 1607    C++
    godot.windows.opt.tools.64.exe!std::thread::_Invoke<std::tuple<void (__cdecl*)(Thread *,Thread::Settings const &,void (__cdecl*)(void *),void *),Thread *,Thread::Settings,void (__cdecl*)(void *),void *>,0,1,2,3,4>(void * _RawVals) Line 44  C++
    godot.windows.opt.tools.64.exe!thread_start<unsigned int (__cdecl*)(void *),1>(void * const parameter) Line 97  C++
    kernel32.dll!BaseThreadInitThunk() Unknown

In case it's relevant, I have stacktraces from all threads saved in the following gist: https://gist.github.com/lyuma/11dc95ac44db79c9af54aacd61ee7f37 Notably, I was unable to find a RenderingServer thread.

Steps to reproduce:

  1. Ensure your project contains .obj files.
  2. Close the project
  3. Delete the .godot directory
  4. Re-open the project
  5. While files are importing, Godot may deadlock.

Minimal reproduction project: I have a 100MB zip file but it contains copyrighted files. I was able to reproduce the issue twice with this project.

I tried simplifying things, for example only including the .obj files. But I was not able to reproduce the issue on the simpler project. It does seem like a race condition.

MHillier98 commented 3 years ago

Can confirm this is still happening in v4.0.dev.official. I attempted to import some of Kenney's 3D models, and got the same lock: https://kenney.nl/assets/retro-medieval-kit

Calinou commented 3 years ago

As https://github.com/godotengine/godot/issues/51315 mentions, does it work if you create an empty .mtl file to satisfy the .obj file's requirements? Check the .obj file contents for the MTL file reference.

Alternatively, you could edit the OBJ file to remove the MTL reference and create materials manually.

fracteed commented 3 years ago

You shouldn't need to have an extra mtl file as a requirement when importing an obj. I have never seen that requirement in any application before. Personally, I mostly tend to export obj without mtl's and only export with an mtl if I need access to multiple poly selections in Godot to apply multiple materials. In this circumstance, I don't actually use the imported materials themselves for anything other than maybe a placeholder.

I probably should move over to using gltf for everything, but obj has just been so reliable for static objects for a long time, and every application exports them flawlessly.

Calinou commented 3 years ago

You shouldn't need to have an extra mtl file as a requirement when importing an obj. I have never seen that requirement in any application before.

Godot has no such requirement. Still, many applications will export MTL files by default, even if you don't need those MTL materials. The MTL material specification is very limited by today's standards (no PBR), so it's only really usable for placeholders or oldschool games unless you adopt nonstandard modifications to the file format.

Reading https://github.com/godotengine/godot/issues/51315, the issue seems to be that Godot crashes when a nonexistent MTL file is referenced. Instead, it should print a warning and continue importing.

fracteed commented 3 years ago

Yes, this is exactly what the issue is. Obj import now only works if you have the mtl, but not if there is no corresponding mtl file (which for my projects is most of the time). As mentioned I only export mtl to get access to poly selections in Godot for certain meshes.

akien-mga commented 3 years ago

I'm not sure the problem is limited to .mtl files. I've implemented support for disabling material import for OBJ files, and I can still reproduce deadlocks.

Here's a full backtrace for all threads when the deadlock happens:

``` (gdb) thread apply all bt Thread 45 (Thread 0x7f61ae7e4640 (LWP 374309) "WSI swapchain q"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c7673c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x00007f61ed6209e2 in x11_manage_fifo_queues () from /usr/lib64/libvulkan_radeon.so #3 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #4 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 44 (Thread 0x7f61e77fe640 (LWP 374307) "WSI swapchain q"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c7673c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x00007f61ed6209e2 in x11_manage_fifo_queues () from /usr/lib64/libvulkan_radeon.so #3 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #4 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 43 (Thread 0x7f61aefe5640 (LWP 374253) "godot-git"): #0 0x00007f61f5a21675 in clock_nanosleep@GLIBC_2.2.5 () from /lib64/libc.so.6 #1 0x00007f61f5a26633 in nanosleep () from /lib64/libc.so.6 #2 0x0000000003b33c8d in OS_Unix::delay_usec (this=0x7ffc65288140, p_usec=100000) at drivers/unix/os_unix.cpp:231 #3 0x0000000004951a1a in EditorFileServer::_thread_start (s=0x13274f80) at editor/fileserver/editor_file_server.cpp:295 #4 0x0000000006037459 in Thread::callback (p_self=0x132750b0, p_settings=..., p_callback=0x4951706 , p_userdata=0x13274f80) at core/os/thread.cpp:76 #5 0x00000000060381f1 in std::__invoke_impl (__f=@0x141fc5c8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #6 0x00000000060380ba in std::__invoke (__fn=@0x141fc5c8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 --Type for more, q to quit, c to continue without paging--c #7 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0x141fc5a8) at /usr/include/c++/11/bits/std_thread.h:253 #8 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0x141fc5a8) at /usr/include/c++/11/bits/std_thread.h:260 #9 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0x141fc5a0) at /usr/include/c++/11/bits/std_thread.h:211 #10 0x00000000068e6454 in std::execute_native_thread_routine (__p=0x141fc5a0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #11 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #12 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 42 (Thread 0x7f61af7e6640 (LWP 374251) "godot-git"): #0 0x00007f61f5a21675 in clock_nanosleep@GLIBC_2.2.5 () from /lib64/libc.so.6 #1 0x00007f61f5a26633 in nanosleep () from /lib64/libc.so.6 #2 0x0000000003b33c8d in OS_Unix::delay_usec (this=0x7ffc65288140, p_usec=1000) at drivers/unix/os_unix.cpp:231 #3 0x0000000004703307 in EditorExportPlatformJavaScript::_server_thread_poll (data=0xf2a7880) at platform/javascript/export/export_plugin.cpp:639 #4 0x0000000006037459 in Thread::callback (p_self=0xf2a79d8, p_settings=..., p_callback=0x47032d4 , p_userdata=0xf2a7880) at core/os/thread.cpp:76 #5 0x00000000060381f1 in std::__invoke_impl (__f=@0x102838c8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #6 0x00000000060380ba in std::__invoke (__fn=@0x102838c8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #7 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0x102838a8) at /usr/include/c++/11/bits/std_thread.h:253 #8 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0x102838a8) at /usr/include/c++/11/bits/std_thread.h:260 #9 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0x102838a0) at /usr/include/c++/11/bits/std_thread.h:211 #10 0x00000000068e6454 in std::execute_native_thread_routine (__p=0x102838a0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #11 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #12 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 41 (Thread 0x7f61affe7640 (LWP 374250) "godot-git"): #0 0x00007f61f5a21675 in clock_nanosleep@GLIBC_2.2.5 () from /lib64/libc.so.6 #1 0x00007f61f5a26633 in nanosleep () from /lib64/libc.so.6 #2 0x0000000003b33c8d in OS_Unix::delay_usec (this=0x7ffc65288140, p_usec=300000) at drivers/unix/os_unix.cpp:231 #3 0x00000000046ed3d5 in EditorExportPlatformIOS::_check_for_changes_poll_thread (ud=0xf29e8c0) at platform/iphone/export/export_plugin.h:169 #4 0x0000000006037459 in Thread::callback (p_self=0xf29e9d8, p_settings=..., p_callback=0x46ed1ae , p_userdata=0xf29e8c0) at core/os/thread.cpp:76 #5 0x00000000060381f1 in std::__invoke_impl (__f=@0xf9afe88: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #6 0x00000000060380ba in std::__invoke (__fn=@0xf9afe88: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #7 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xf9afe68) at /usr/include/c++/11/bits/std_thread.h:253 #8 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xf9afe68) at /usr/include/c++/11/bits/std_thread.h:260 #9 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xf9afe60) at /usr/include/c++/11/bits/std_thread.h:211 #10 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xf9afe60) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #11 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #12 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 40 (Thread 0x7f61b07e8640 (LWP 374248) "godot-git"): #0 0x00007f61f5a21675 in clock_nanosleep@GLIBC_2.2.5 () from /lib64/libc.so.6 #1 0x00007f61f5a26633 in nanosleep () from /lib64/libc.so.6 #2 0x0000000003b33c8d in OS_Unix::delay_usec (this=0x7ffc65288140, p_usec=200000) at drivers/unix/os_unix.cpp:231 #3 0x00000000046aa01b in EditorExportPlatformAndroid::_check_for_changes_poll_thread (ud=0xfb04db0) at platform/android/export/export_plugin.cpp:372 #4 0x0000000006037459 in Thread::callback (p_self=0xfb04f50, p_settings=..., p_callback=0x46a881a , p_userdata=0xfb04db0) at core/os/thread.cpp:76 #5 0x00000000060381f1 in std::__invoke_impl (__f=@0xfaa2b58: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #6 0x00000000060380ba in std::__invoke (__fn=@0xfaa2b58: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #7 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xfaa2b38) at /usr/include/c++/11/bits/std_thread.h:253 #8 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xfaa2b38) at /usr/include/c++/11/bits/std_thread.h:260 #9 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xfaa2b30) at /usr/include/c++/11/bits/std_thread.h:211 #10 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xfaa2b30) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #11 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #12 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 39 (Thread 0x7f61b0fe9640 (LWP 374247) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0x10060df0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0x10060de0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0x10060de0, p_settings=..., p_callback=0x64e0394 , p_userdata=0x10060de0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xfbc46d8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xfbc46d8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xfbc46b8) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xfbc46b8) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xfbc46b0) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xfbc46b0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 38 (Thread 0x7f61b17ea640 (LWP 374246) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0x10060d10) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0x10060d00) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0x10060d00, p_settings=..., p_callback=0x64e0394 , p_userdata=0x10060d00) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xfc28108: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xfc28108: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xfc280e8) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xfc280e8) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xfc280e0) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xfc280e0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 37 (Thread 0x7f61b1feb640 (LWP 374245) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0x10060c30) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0x10060c20) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0x10060c20, p_settings=..., p_callback=0x64e0394 , p_userdata=0x10060c20) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xfc11908: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xfc11908: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xfc118e8) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xfc118e8) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xfc118e0) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xfc118e0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 36 (Thread 0x7f61b27ec640 (LWP 374244) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0x10060b50) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0x10060b40) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0x10060b40, p_settings=..., p_callback=0x64e0394 , p_userdata=0x10060b40) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xfc027b8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xfc027b8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xfc02798) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xfc02798) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xfc02790) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xfc02790) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 35 (Thread 0x7f61b2fed640 (LWP 374243) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0x10060a70) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0x10060a60) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0x10060a60, p_settings=..., p_callback=0x64e0394 , p_userdata=0x10060a60) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xfc09e18: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xfc09e18: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xfc09df8) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xfc09df8) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xfc09df0) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xfc09df0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 34 (Thread 0x7f61b37ee640 (LWP 374242) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x0000000005b66514 in Semaphore::wait (this=0xd0e5ed0) at ./core/os/semaphore.h:58 #6 CommandQueueMT::push_and_ret (this=0xd0e5ec0, p_instance=0xd12e7d0, p_method=&virtual RendererStorage::mesh_get_surface(RID, int) const, p1=..., p2=0, r_ret=0x7f61b37ebed0) at ./core/templates/command_queue_mt.h:396 #7 0x0000000005b514a7 in RenderingServerDefault::mesh_get_surface (this=0xd0e5d50, p1=..., p2=0) at servers/rendering/rendering_server_default.h:294 #8 0x00000000054a1acf in ArrayMesh::_get_surfaces (this=0x7f619c003550) at scene/resources/mesh.cpp:1063 #9 0x00000000027e47e6 in call_with_variant_args_retc_helper<__UnexistingClass, Array>(__UnexistingClass*, Array (__UnexistingClass::*)() const, Variant const**, Variant&, Callable::CallError&, IndexSequence<>) (p_instance=0x7f619c003550, p_method=(Array (__UnexistingClass::*)(const __UnexistingClass * const)) 0x54a1a34 , p_args=0x7f61b37ec5a8, r_ret=..., r_error=...) at ./core/variant/binder_common.h:699 #10 0x00000000027e0142 in call_with_variant_args_retc_dv<__UnexistingClass, Array> (p_instance=0x7f619c003550, p_method=(Array (__UnexistingClass::*)(const __UnexistingClass * const)) 0x54a1a34 , p_args=0x0, p_argcount=0, r_ret=..., r_error=..., default_values=...) at ./core/variant/binder_common.h:486 #11 0x00000000027db73c in MethodBindTRC::call (this=0xe1ec4a0, p_object=0x7f619c003550, p_args=0x0, p_arg_count=0, r_error=...) at ./core/object/method_bind.h:546 #12 0x00000000064a7e59 in ClassDB::get_property (p_object=0x7f619c003550, p_property=..., r_value=...) at core/object/class_db.cpp:1241 #13 0x00000000064b91ec in Object::get (this=0x7f619c003550, p_name=..., r_valid=0x0) at core/object/object.cpp:490 #14 0x0000000006164b92 in ResourceFormatSaverBinaryInstance::_find_resources (this=0x7f61b37ece80, p_variant=..., p_main=true) at core/io/resource_format_binary.cpp:1766 #15 0x000000000616581a in ResourceFormatSaverBinaryInstance::save (this=0x7f61b37ece80, p_path=..., p_resource=..., p_flags=0) at core/io/resource_format_binary.cpp:1875 #16 0x0000000006167784 in ResourceFormatSaverBinary::save (this=0xc87ac20, p_path=..., p_resource=..., p_flags=0) at core/io/resource_format_binary.cpp:2063 #17 0x000000000617cee6 in ResourceSaver::save (p_path=..., p_resource=..., p_flags=0) at core/io/resource_saver.cpp:110 #18 0x000000000417e2fe in ResourceImporterOBJ::import (this=0x10599b40, p_source_file=..., p_save_path=..., p_options=..., r_platform_variants=0x7f61b37ed2c8, r_gen_files=0x7f61b37ed2c0, r_metadata=0x7f61b37ed2a0) at editor/import/resource_importer_obj.cpp:519 #19 0x0000000003d019c9 in EditorFileSystem::_reimport_file (this=0xedf3b60, p_file=..., p_custom_options=0x0, p_custom_importer=...) at editor/editor_file_system.cpp:1866 #20 0x0000000003d0455d in EditorFileSystem::_reimport_thread (this=0xedf3b60, p_index=5, p_import_data=0x7ffc65286f80) at editor/editor_file_system.cpp:2027 #21 0x0000000003d14052 in ThreadWorkPool::Work::work (this=0x19c2f5b0) at ./core/templates/thread_work_pool.h:61 #22 0x00000000064e0449 in ThreadWorkPool::_thread_function (p_user=0x10060980) at core/templates/thread_work_pool.cpp:42 #23 0x0000000006037459 in Thread::callback (p_self=0x10060980, p_settings=..., p_callback=0x64e0394 , p_userdata=0x10060980) at core/os/thread.cpp:76 #24 0x00000000060381f1 in std::__invoke_impl (__f=@0xfbd0c68: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #25 0x00000000060380ba in std::__invoke (__fn=@0xfbd0c68: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #26 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xfbd0c48) at /usr/include/c++/11/bits/std_thread.h:253 #27 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xfbd0c48) at /usr/include/c++/11/bits/std_thread.h:260 #28 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xfbd0c40) at /usr/include/c++/11/bits/std_thread.h:211 #29 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xfbd0c40) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #30 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #31 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 33 (Thread 0x7f61b3fef640 (LWP 374241) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0x100608b0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0x100608a0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0x100608a0, p_settings=..., p_callback=0x64e0394 , p_userdata=0x100608a0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xfbcb9e8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xfbcb9e8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xfbcb9c8) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xfbcb9c8) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xfbcb9c0) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xfbcb9c0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 32 (Thread 0x7f61b47f0640 (LWP 374240) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0x100607d0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0x100607c0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0x100607c0, p_settings=..., p_callback=0x64e0394 , p_userdata=0x100607c0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xfbb0c88: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xfbb0c88: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xfbb0c68) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xfbb0c68) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xfbb0c60) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xfbb0c60) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 31 (Thread 0x7f61b4ff1640 (LWP 374215) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b7740) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b7730) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b7730, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b7730) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b8728: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b8728: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b8708) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b8708) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b8700) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b8700) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 30 (Thread 0x7f61b57f2640 (LWP 374214) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b7660) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b7650) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b7650, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b7650) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b8508: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b8508: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b84e8) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b84e8) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b84e0) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b84e0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 29 (Thread 0x7f61b5ff3640 (LWP 374213) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b7580) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b7570) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b7570, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b7570) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b82e8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b82e8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b82c8) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b82c8) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b82c0) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b82c0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 28 (Thread 0x7f61b67f4640 (LWP 374212) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b74a0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b7490) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b7490, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b7490) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b80c8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b80c8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b80a8) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b80a8) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b80a0) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b80a0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 27 (Thread 0x7f61b6ff5640 (LWP 374211) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b73c0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b73b0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b73b0, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b73b0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b7ea8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b7ea8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b7e88) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b7e88) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b7e80) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b7e80) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 26 (Thread 0x7f61b77f6640 (LWP 374210) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b72e0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b72d0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b72d0, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b72d0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b7c88: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b7c88: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b7c68) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b7c68) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b7c60) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b7c60) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 25 (Thread 0x7f61b7ff7640 (LWP 374209) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b7200) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b71f0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b71f0, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b71f0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b7a68: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b7a68: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b7a48) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b7a48) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b7a40) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b7a40) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 24 (Thread 0x7f61b87f8640 (LWP 374208) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b7120) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b7110) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b7110, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b7110) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b7848: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b7848: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b7828) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b7828) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b7820) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b7820) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 23 (Thread 0x7f61b8ff9640 (LWP 374207) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b2730) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b2720) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b2720, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b2720) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b3718: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b3718: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b36f8) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b36f8) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b36f0) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b36f0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 22 (Thread 0x7f61b97fa640 (LWP 374206) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b2650) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b2640) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b2640, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b2640) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b34f8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b34f8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b34d8) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b34d8) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b34d0) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b34d0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 21 (Thread 0x7f61b9ffb640 (LWP 374205) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b2570) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b2560) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b2560, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b2560) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b32d8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b32d8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b32b8) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b32b8) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b32b0) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b32b0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 20 (Thread 0x7f61ba7fc640 (LWP 374204) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b2490) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b2480) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b2480, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b2480) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b30b8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b30b8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b3098) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b3098) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b3090) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b3090) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 19 (Thread 0x7f61baffd640 (LWP 374203) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b23b0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b23a0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b23a0, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b23a0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b2e98: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b2e98: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b2e78) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b2e78) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b2e70) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b2e70) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 18 (Thread 0x7f61bb7fe640 (LWP 374202) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b22d0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b22c0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b22c0, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b22c0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b2c78: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b2c78: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b2c58) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b2c58) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b2c50) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b2c50) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 17 (Thread 0x7f61bbfff640 (LWP 374201) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b21f0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b21e0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b21e0, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b21e0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b2a58: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b2a58: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b2a38) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b2a38) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b2a30) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b2a30) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 16 (Thread 0x7f61dcff9640 (LWP 374200) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xe6b2110) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xe6b2100) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xe6b2100, p_settings=..., p_callback=0x64e0394 , p_userdata=0xe6b2100) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xe6b2838: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xe6b2838: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xe6b2818) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xe6b2818) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xe6b2810) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xe6b2810) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 15 (Thread 0x7f61dd7fa640 (LWP 374199) "godot-git"): #0 0x00007f61f5a21675 in clock_nanosleep@GLIBC_2.2.5 () from /lib64/libc.so.6 #1 0x00007f61f5a26633 in nanosleep () from /lib64/libc.so.6 #2 0x0000000003b33c8d in OS_Unix::delay_usec (this=0x7ffc65288140, p_usec=1000) at drivers/unix/os_unix.cpp:231 #3 0x0000000003b427b8 in AudioDriverPulseAudio::thread_func (p_udata=0x7ffc652882f8) at drivers/pulseaudio/audio_driver_pulseaudio.cpp:560 #4 0x0000000006037459 in Thread::callback (p_self=0x7ffc65288338, p_settings=..., p_callback=0x3b41cb2 , p_userdata=0x7ffc652882f8) at core/os/thread.cpp:76 #5 0x00000000060381f1 in std::__invoke_impl (__f=@0xdd05fd8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #6 0x00000000060380ba in std::__invoke (__fn=@0xdd05fd8: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #7 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xdd05fb8) at /usr/include/c++/11/bits/std_thread.h:253 #8 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xdd05fb8) at /usr/include/c++/11/bits/std_thread.h:260 #9 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xdd05fb0) at /usr/include/c++/11/bits/std_thread.h:211 #10 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xdd05fb0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #11 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #12 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 14 (Thread 0x7f61ddffb640 (LWP 374198) "godot-git"): #0 0x00007f61f5a21675 in clock_nanosleep@GLIBC_2.2.5 () from /lib64/libc.so.6 #1 0x00007f61f5a26633 in nanosleep () from /lib64/libc.so.6 #2 0x00007f61f5a4ff75 in usleep () from /lib64/libc.so.6 #3 0x0000000002312594 in JoypadLinux::monitor_joypads (this=0xdcdd660, p_udev=0x7f61d4000b60) at platform/linuxbsd/joypad_linux.cpp:199 #4 0x0000000002312039 in JoypadLinux::run_joypad_thread (this=0xdcdd660) at platform/linuxbsd/joypad_linux.cpp:117 #5 0x0000000002311fad in JoypadLinux::joy_thread_func (p_user=0xdcdd660) at platform/linuxbsd/joypad_linux.cpp:103 #6 0x0000000006037459 in Thread::callback (p_self=0xdcdd690, p_settings=..., p_callback=0x2311f86 , p_userdata=0xdcdd660) at core/os/thread.cpp:76 #7 0x00000000060381f1 in std::__invoke_impl (__f=@0xdcbd278: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #8 0x00000000060380ba in std::__invoke (__fn=@0xdcbd278: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #9 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xdcbd258) at /usr/include/c++/11/bits/std_thread.h:253 #10 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xdcbd258) at /usr/include/c++/11/bits/std_thread.h:260 #11 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xdcbd250) at /usr/include/c++/11/bits/std_thread.h:211 #12 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xdcbd250) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #13 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #14 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 13 (Thread 0x7f61de7fc640 (LWP 374173) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xd0e6960) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xd0e6950) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xd0e6950, p_settings=..., p_callback=0x64e0394 , p_userdata=0xd0e6950) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xd0e7868: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xd0e7868: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xd0e7848) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xd0e7848) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xd0e7840) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xd0e7840) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 12 (Thread 0x7f61deffd640 (LWP 374172) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xd0e6880) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xd0e6870) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xd0e6870, p_settings=..., p_callback=0x64e0394 , p_userdata=0xd0e6870) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xd0e7668: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xd0e7668: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xd0e7648) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xd0e7648) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xd0e7640) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xd0e7640) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 11 (Thread 0x7f61df7fe640 (LWP 374171) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xd0e67a0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xd0e6790) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xd0e6790, p_settings=..., p_callback=0x64e0394 , p_userdata=0xd0e6790) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xd0e7468: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xd0e7468: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xd0e7448) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xd0e7448) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xd0e7440) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xd0e7440) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7f61dffff640 (LWP 374170) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xd0e66c0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xd0e66b0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xd0e66b0, p_settings=..., p_callback=0x64e0394 , p_userdata=0xd0e66b0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xd0e7268: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xd0e7268: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xd0e7248) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xd0e7248) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xd0e7240) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xd0e7240) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7f61e4ff9640 (LWP 374169) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xd0e65e0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xd0e65d0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xd0e65d0, p_settings=..., p_callback=0x64e0394 , p_userdata=0xd0e65d0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xd0e7068: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xd0e7068: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xd0e7048) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xd0e7048) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xd0e7040) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xd0e7040) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7f61e57fa640 (LWP 374168) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xd0e6500) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xd0e64f0) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xd0e64f0, p_settings=..., p_callback=0x64e0394 , p_userdata=0xd0e64f0) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xd0e6e68: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xd0e6e68: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xd0e6e48) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xd0e6e48) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xd0e6e40) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xd0e6e40) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7f61e5ffb640 (LWP 374167) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xd0e6420) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xd0e6410) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xd0e6410, p_settings=..., p_callback=0x64e0394 , p_userdata=0xd0e6410) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xd0e6c68: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xd0e6c68: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xd0e6c48) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xd0e6c48) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xd0e6c40) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xd0e6c40) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7f61e67fc640 (LWP 374166) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000064e03e0 in Semaphore::wait (this=0xd0e6340) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::_thread_function (p_user=0xd0e6330) at core/templates/thread_work_pool.cpp:38 #7 0x0000000006037459 in Thread::callback (p_self=0xd0e6330, p_settings=..., p_callback=0x64e0394 , p_userdata=0xd0e6330) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xd0e6a68: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xd0e6a68: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xd0e6a48) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xd0e6a48) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xd0e6a40) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xd0e6a40) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f61e6ffd640 (LWP 374165) "godot-git"): #0 0x00007f61f5a4f721 in select () from /lib64/libc.so.6 #1 0x0000000002320ded in DisplayServerX11::_wait_for_events (this=0xca52300) at platform/linuxbsd/display_server_x11.cpp:2649 #2 0x0000000002320ecd in DisplayServerX11::_poll_events (this=0xca52300) at platform/linuxbsd/display_server_x11.cpp:2665 #3 0x0000000002320cec in DisplayServerX11::_poll_events_thread (ud=0xca52300) at platform/linuxbsd/display_server_x11.cpp:2627 #4 0x0000000006037459 in Thread::callback (p_self=0xca527b8, p_settings=..., p_callback=0x2320ccc , p_userdata=0xca52300) at core/os/thread.cpp:76 #5 0x00000000060381f1 in std::__invoke_impl (__f=@0xd0b7678: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #6 0x00000000060380ba in std::__invoke (__fn=@0xd0b7678: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #7 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xd0b7658) at /usr/include/c++/11/bits/std_thread.h:253 #8 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xd0b7658) at /usr/include/c++/11/bits/std_thread.h:260 #9 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xd0b7650) at /usr/include/c++/11/bits/std_thread.h:211 #10 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xd0b7650) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #11 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #12 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f61e7fff640 (LWP 374163) "godot-g:disk$0"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x00007f61ede5c2cb in util_queue_thread_func () from /usr/lib64/libvulkan_intel.so #3 0x00007f61ede5be27 in impl_thrd_routine () from /usr/lib64/libvulkan_intel.so #4 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #5 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f61ed0c9640 (LWP 374162) "godot-g:disk$0"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x00007f61ed4c9f2b in util_queue_thread_func () from /usr/lib64/libvulkan_radeon.so #3 0x00007f61ed4c9a87 in impl_thrd_routine () from /usr/lib64/libvulkan_radeon.so #4 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #5 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f61f4589640 (LWP 374134) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x0000000006127875 in Semaphore::wait (this=0xc8f6188) at ./core/os/semaphore.h:58 #6 _IP_ResolverPrivate::_thread_function (self=0xc8f5d60) at core/io/ip.cpp:110 #7 0x0000000006037459 in Thread::callback (p_self=0xc8f61e8, p_settings=..., p_callback=0x6127825 <_IP_ResolverPrivate::_thread_function(void*)>, p_userdata=0xc8f5d60) at core/os/thread.cpp:76 #8 0x00000000060381f1 in std::__invoke_impl (__f=@0xc8f6248: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:61 #9 0x00000000060380ba in std::__invoke (__fn=@0xc8f6248: 0x60373d4 ) at /usr/include/c++/11/bits/invoke.h:96 #10 0x0000000006037f75 in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xc8f6228) at /usr/include/c++/11/bits/std_thread.h:253 #11 0x0000000006037eda in std::thread::_Invoker >::operator() (this=0xc8f6228) at /usr/include/c++/11/bits/std_thread.h:260 #12 0x0000000006037ebe in std::thread::_State_impl > >::_M_run (this=0xc8f6220) at /usr/include/c++/11/bits/std_thread.h:211 #13 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xc8f6220) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #14 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0 #15 0x00007f61f5a5757f in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f61f5479240 (LWP 374133) "godot-git"): #0 0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0 #1 0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #2 0x0000000006877970 in __gthread_cond_wait (__mutex=, __cond=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865 #3 std::__condvar::wait (__m=..., this=) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155 #4 std::condition_variable::wait (this=, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41 #5 0x00000000029efc86 in Semaphore::wait (this=0x100609f0) at ./core/os/semaphore.h:58 #6 ThreadWorkPool::end_work (this=0xedf3ee8) at ./core/templates/thread_work_pool.h:121 #7 0x0000000003d04edd in EditorFileSystem::reimport_files (this=0xedf3b60, p_files=...) at editor/editor_file_system.cpp:2105 #8 0x0000000003cf56f8 in EditorFileSystem::_update_scan_actions (this=0xedf3b60) at editor/editor_file_system.cpp:626 #9 0x0000000003cfa4c7 in EditorFileSystem::_notification (this=0xedf3b60, p_what=17) at editor/editor_file_system.cpp:1208 #10 0x0000000003d09162 in EditorFileSystem::_notificationv (this=0xedf3b60, p_notification=17, p_reversed=false) at editor/editor_file_system.h:113 #11 0x00000000064baf47 in Object::notification (this=0xedf3b60, p_notification=17, p_reversed=false) at core/object/object.cpp:841 #12 0x0000000004bd3485 in SceneTree::_notify_group_pause (this=0xe4809f0, p_group=..., p_notification=17) at scene/main/scene_tree.cpp:851 #13 0x0000000004bd16e2 in SceneTree::process (this=0xe4809f0, p_time=0.14999992586672306) at scene/main/scene_tree.cpp:453 #14 0x000000000234bed0 in Main::iteration () at main/main.cpp:2561 #15 0x000000000230e8cc in OS_LinuxBSD::run (this=0x7ffc65288140) at platform/linuxbsd/os_linuxbsd.cpp:342 #16 0x000000000230afe3 in main (argc=3, argv=0x7ffc65288658) at platform/linuxbsd/godot_linuxbsd.cpp:58 ```

And specially the thread where the ResourceImporterOBJ is involved:

Thread 34 (Thread 0x7f61b37ee640 (LWP 374242) "godot-git"):
#0  0x00007f61f5c7c70a in __futex_abstimed_wait_common64 () from /lib64/libpthread.so.0
#1  0x00007f61f5c76468 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#2  0x0000000006877970 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/x86_64-mageia-linux/bits/gthr-default.h:865
#3  std::__condvar::wait (__m=..., this=<optimized out>) at /home/iurt/rpmbuild/BUILD/gcc-11-20210918/obj-x86_64-mageia-linux/x86_64-mageia-linux/libstdc++-v3/include/bits/std_mutex.h:155
#4  std::condition_variable::wait (this=<optimized out>, __lock=...) at ../../../../../libstdc++-v3/src/c++11/condition_variable.cc:41
#5  0x0000000005b66514 in Semaphore::wait (this=0xd0e5ed0) at ./core/os/semaphore.h:58
#6  CommandQueueMT::push_and_ret<RendererStorage, RenderingServer::SurfaceData (RendererStorage::*)(RID, int) const, RID, int, RenderingServer::SurfaceData> (this=0xd0e5ec0, p_instance=0xd12e7d0, p_method=&virtual RendererStorage::mesh_get_surface(RID, int) const, p1=..., p2=0, r_ret=0x7f61b37ebed0) at ./core/templates/command_queue_mt.h:396
#7  0x0000000005b514a7 in RenderingServerDefault::mesh_get_surface (this=0xd0e5d50, p1=..., p2=0) at servers/rendering/rendering_server_default.h:294
#8  0x00000000054a1acf in ArrayMesh::_get_surfaces (this=0x7f619c003550) at scene/resources/mesh.cpp:1063
#9  0x00000000027e47e6 in call_with_variant_args_retc_helper<__UnexistingClass, Array>(__UnexistingClass*, Array (__UnexistingClass::*)() const, Variant const**, Variant&, Callable::CallError&, IndexSequence<>) (p_instance=0x7f619c003550, p_method=(Array (__UnexistingClass::*)(const __UnexistingClass * const)) 0x54a1a34 <ArrayMesh::_get_surfaces() const>, p_args=0x7f61b37ec5a8, r_ret=..., r_error=...) at ./core/variant/binder_common.h:699
#10 0x00000000027e0142 in call_with_variant_args_retc_dv<__UnexistingClass, Array> (p_instance=0x7f619c003550, p_method=(Array (__UnexistingClass::*)(const __UnexistingClass * const)) 0x54a1a34 <ArrayMesh::_get_surfaces() const>, p_args=0x0, p_argcount=0, r_ret=..., r_error=..., default_values=...) at ./core/variant/binder_common.h:486
#11 0x00000000027db73c in MethodBindTRC<Array>::call (this=0xe1ec4a0, p_object=0x7f619c003550, p_args=0x0, p_arg_count=0, r_error=...) at ./core/object/method_bind.h:546
#12 0x00000000064a7e59 in ClassDB::get_property (p_object=0x7f619c003550, p_property=..., r_value=...) at core/object/class_db.cpp:1241
#13 0x00000000064b91ec in Object::get (this=0x7f619c003550, p_name=..., r_valid=0x0) at core/object/object.cpp:490
#14 0x0000000006164b92 in ResourceFormatSaverBinaryInstance::_find_resources (this=0x7f61b37ece80, p_variant=..., p_main=true) at core/io/resource_format_binary.cpp:1766
#15 0x000000000616581a in ResourceFormatSaverBinaryInstance::save (this=0x7f61b37ece80, p_path=..., p_resource=..., p_flags=0) at core/io/resource_format_binary.cpp:1875
#16 0x0000000006167784 in ResourceFormatSaverBinary::save (this=0xc87ac20, p_path=..., p_resource=..., p_flags=0) at core/io/resource_format_binary.cpp:2063
#17 0x000000000617cee6 in ResourceSaver::save (p_path=..., p_resource=..., p_flags=0) at core/io/resource_saver.cpp:110
#18 0x000000000417e2fe in ResourceImporterOBJ::import (this=0x10599b40, p_source_file=..., p_save_path=..., p_options=..., r_platform_variants=0x7f61b37ed2c8, r_gen_files=0x7f61b37ed2c0, r_metadata=0x7f61b37ed2a0) at editor/import/resource_importer_obj.cpp:519
#19 0x0000000003d019c9 in EditorFileSystem::_reimport_file (this=0xedf3b60, p_file=..., p_custom_options=0x0, p_custom_importer=...) at editor/editor_file_system.cpp:1866
#20 0x0000000003d0455d in EditorFileSystem::_reimport_thread (this=0xedf3b60, p_index=5, p_import_data=0x7ffc65286f80) at editor/editor_file_system.cpp:2027
#21 0x0000000003d14052 in ThreadWorkPool::Work<EditorFileSystem, void (EditorFileSystem::*)(unsigned int, EditorFileSystem::ImportThreadData*), EditorFileSystem::ImportThreadData*>::work (this=0x19c2f5b0) at ./core/templates/thread_work_pool.h:61
#22 0x00000000064e0449 in ThreadWorkPool::_thread_function (p_user=0x10060980) at core/templates/thread_work_pool.cpp:42
#23 0x0000000006037459 in Thread::callback (p_self=0x10060980, p_settings=..., p_callback=0x64e0394 <ThreadWorkPool::_thread_function(void*)>, p_userdata=0x10060980) at core/os/thread.cpp:76
#24 0x00000000060381f1 in std::__invoke_impl<void, void (*)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*, Thread::Settings, void (*)(void*), void*> (__f=@0xfbd0c68: 0x60373d4 <Thread::callback(Thread*, Thread::Settings const&, void (*)(void*), void*)>) at /usr/include/c++/11/bits/invoke.h:61
#25 0x00000000060380ba in std::__invoke<void (*)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*, Thread::Settings, void (*)(void*), void*> (__fn=@0xfbd0c68: 0x60373d4 <Thread::callback(Thread*, Thread::Settings const&, void (*)(void*), void*)>) at /usr/include/c++/11/bits/invoke.h:96
#26 0x0000000006037f75 in std::thread::_Invoker<std::tuple<void (*)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*, Thread::Settings, void (*)(void*), void*> >::_M_invoke<0ul, 1ul, 2ul, 3ul, 4ul> (this=0xfbd0c48) at /usr/include/c++/11/bits/std_thread.h:253
#27 0x0000000006037eda in std::thread::_Invoker<std::tuple<void (*)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*, Thread::Settings, void (*)(void*), void*> >::operator() (this=0xfbd0c48) at /usr/include/c++/11/bits/std_thread.h:260
#28 0x0000000006037ebe in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(Thread*, Thread::Settings const&, void (*)(void*), void*), Thread*, Thread::Settings, void (*)(void*), void*> > >::_M_run (this=0xfbd0c40) at /usr/include/c++/11/bits/std_thread.h:211
#29 0x00000000068e6454 in std::execute_native_thread_routine (__p=0xfbd0c40) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82
#30 0x00007f61f5c70c7a in start_thread () from /lib64/libpthread.so.0
#31 0x00007f61f5a5757f in clone () from /lib64/libc.so.6

Anyway, I'll disable multi-threaded import for OBJ as a workaround for now. But we still need to figure out why this bug happens and ideally solve it.

akien-mga commented 3 years ago

I can reliably reproduce a deadline in current master with these files: TestOBJKenney.zip

They're from Kenney's retro medieval kit linked above, but with all .mtl files and any reference to materials in the OBJ removed.

akien-mga commented 3 years ago

Disabling threaded import works it around, and it now raises an error, probably at the point where the deadlock used to happen:

Vulkan: Early suboptimal swapchain.
Vulkan: Swapchain is suboptimal.
OBJ: Current material library  has 0
OBJ: Current material  has 0
OBJ: Added surface: 
ERROR: Creating buffers with data is forbidden during creation of a draw list
   at: vertex_buffer_create (drivers/vulkan/rendering_device_vulkan.cpp:4013)
ERROR: Creating buffers with data is forbidden during creation of a draw list
   at: vertex_buffer_create (drivers/vulkan/rendering_device_vulkan.cpp:4013)
ERROR: Creating buffers with data is forbidden during creation of a draw list
   at: index_buffer_create (drivers/vulkan/rendering_device_vulkan.cpp:4144)
ERROR: Condition "!index_buffer_owner.owns(p_index_buffer)" is true. Returning: RID()
   at: index_array_create (drivers/vulkan/rendering_device_vulkan.cpp:4198)
ERROR: Condition "!vertex_buffer_owner.owns(p_src_buffers[i])" is true. Returning: RID()
   at: vertex_array_create (drivers/vulkan/rendering_device_vulkan.cpp:4095)
ERROR: No vertex array was bound, and render pipeline expects vertices.
   at: draw_list_draw (drivers/vulkan/rendering_device_vulkan.cpp:7399)
ERROR: Condition "!vertex_buffer_owner.owns(p_src_buffers[i])" is true. Returning: RID()
   at: vertex_array_create (drivers/vulkan/rendering_device_vulkan.cpp:4095)
ERROR: No vertex array was bound, and render pipeline expects vertices.
   at: draw_list_draw (drivers/vulkan/rendering_device_vulkan.cpp:7399)
ERROR: Attempted to free invalid ID: 0
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8436)
Using present mode: VK_PRESENT_MODE_FIFO_KHR
OBJ: Current material library  has 0
OBJ: Current material  has 0
OBJ: Added surface: 
Using present mode: VK_PRESENT_MODE_FIFO_KHR
OBJ: Current material library  has 0
OBJ: Current material  has 0
OBJ: Added surface: 
Vulkan: Early suboptimal swapchain.
Vulkan: Swapchain is suboptimal.
akien-mga commented 3 years ago

52865 should solve the issue (no more deadlocks), but I suggest keeping this issue open as the real underlying bug is not fixed, just mitigated.

The deadlock can be reproduced again by reverting #52865 locally, or most likely investigating and fixing the errors in https://github.com/godotengine/godot/issues/48265#issuecomment-922763642 would also solve the deadlock issue and let us re-enable threaded import for OBJ meshes.

About the above error, it's worth noting the two Using present mode: VK_PRESENT_MODE_FIFO_KHR lines which happen after the error.

On a simpler MRP without anything to import, they're the last lines printed when running the editor in verbose mode, so it points at a race condition where we're importing meshes before the present mode has been set, and thus maybe before the Vulkan renderer is fully set up?

...
EditorSettings: Load OK!
Loaded builtin certs
EditorSettings: Save OK!
Using present mode: VK_PRESENT_MODE_FIFO_KHR
Using present mode: VK_PRESENT_MODE_FIFO_KHR
briansemrau commented 2 years ago

The deadlock occurs because the obj importer threads require access to the rendering server while the main thread is locked waiting for the import thread pool to finish. This wouldn't be an issue if the editor was not forced into main thread rendering mode.

Other meshes that import as scenes (gltf, for example) do not have this issue because the scene resource importer disables threaded importing.

Perhaps in the future the editor could allow rendering on a separate thread, and the applicable importers could check this setting?

ERROR: Creating buffers with data is forbidden during creation of a draw list at: vertex_buffer_create (drivers/vulkan/rendering_device_vulkan.cpp:4013)

In the current state of the vulkan renderer, if a separate thread tries to use certain functions in the renderer while it's creating draw lists, the renderer just errors away the attempt. Draw lists need to be made threadsafe. I'm currently attempting to fix that.