View Issue Details

IDProjectCategoryView StatusLast Update
0010333ardourbugspublic2026-05-14 14:48
Reporterthe_real_ck Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformMicrosoftOSWindowsOS Version11
Summary0010333: Ardour (GDB) 9.3 crashes
DescriptionVersion installed is latest build Ardour-9.3.0-dbg-w64-Setup.exe

I wanted to report a different crash behavior so I tried to reproduce it with Ardour9 GBD - but this crashes at startup.

If I start "Ardour9 GDB" it crashes on startup. Only the Icon is shown.

If I start "Ardour" (i.e. "C:\Program Files\Ardour9\bin\Ardour.exe") then Ardour Window with Edit view is shown.

Please advise if I messed up something.
Steps To ReproduceStart "Ardour9 GDB" i.e. "C:\Program Files\Ardour9\debug.bat"
Additional Informationother things tried:
* start from admin cmd.exe
* renamed C:\Program Files\Common Files\VST3 to bypass indexing plugins.
TagsNo tags attached.

Activities

the_real_ck

2026-05-13 18:25

reporter  

Ardour-debug.log (50,258 bytes)   
Starting program: C:\Program Files\Ardour9\bin\Ardour.exe 
[New Thread 7688.0x590]
[New Thread 7688.0x6514]
[New Thread 7688.0x6594]
[New Thread 7688.0x62e0]
[New Thread 7688.0x1fd0]
[New Thread 7688.0x2afc]
[New Thread 7688.0x37a0]
[New Thread 7688.0x4898]
[New Thread 7688.0x5674]
[New Thread 7688.0x140c]
[New Thread 7688.0x5f44]
[New Thread 7688.0x4014]
[New Thread 7688.0x3a24]
[New Thread 7688.0x3194]
[New Thread 7688.0x4b70]
[Thread 7688.0x4b70 exited with code 0]
[New Thread 7688.0x2b18]
[Thread 7688.0x2b18 exited with code 0]
[New Thread 7688.0x90c]
[New Thread 7688.0x550]
[New Thread 7688.0x2558]
[New Thread 7688.0x50cc]
[Thread 7688.0x50cc exited with code 0]
[New Thread 7688.0x47ec]
[New Thread 7688.0x18a4]
[Thread 7688.0x18a4 exited with code 0]
[New Thread 7688.0x6548]
[New Thread 7688.0xc60]
[Thread 7688.0xc60 exited with code 1]
[New Thread 7688.0x670c]
[Thread 7688.0x670c exited with code 1]
[New Thread 7688.0x1e04]
[Thread 7688.0x1e04 exited with code 1]
[New Thread 7688.0x382c]
[Thread 7688.0x382c exited with code 1]
[New Thread 7688.0x61b4]
[Thread 7688.0x61b4 exited with code 1]
[New Thread 7688.0x48a8]
[Thread 7688.0x48a8 exited with code 1]
[New Thread 7688.0x50a0]
[New Thread 7688.0x65bc]
[New Thread 7688.0x1128]
[New Thread 7688.0x23c8]
warning: Critical error detected c0000374

Thread 22 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 7688.0x47ec]
0x00007ff813398ba9 in ntdll!LdrResSearchResource () from C:\WINDOWS\SYSTEM32\ntdll.dll

Thread 34 (Thread 7688.0x23c8 "pool-Ardour.exe"):
#0  0x00007ff8134658f4 in ntdll!ZwWaitForAlertByThreadId () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff81334a08e in ntdll!RtlSleepConditionVariableSRW () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff80fdf4fc8 in SleepConditionVariableSRW () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000026b6fd2c in g_cond_wait_until (cond=cond@entry=0x53a10638, entered_mutex=entered_mutex@entry=0x53a10630, end_time=end_time@entry=4039680458) at ../glib/gthread-win32.c:280
#4  0x0000000026ae6191 in g_async_queue_pop_intern_unlocked (queue=0x53a10630, wait=1, end_time=4039680458) at ../glib/gasyncqueue.c:422
#5  0x0000000026b46b72 in g_thread_pool_wait_for_new_task (pool=<optimized out>) at ../glib/gthreadpool.c:278
#6  g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/gthreadpool.c:343
#7  0x0000000026b46061 in g_thread_proxy (data=0x54d00380) at ../glib/gthread.c:807
#8  0x0000000026b6feb7 in g_thread_win32_proxy (data=<optimized out>) at ../glib/gthread-win32.c:422
#9  0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#10 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#11 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#12 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#13 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 33 (Thread 7688.0x1128 "pool-Ardour.exe"):
#0  0x00007ff8134658f4 in ntdll!ZwWaitForAlertByThreadId () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff81334a08e in ntdll!RtlSleepConditionVariableSRW () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff80fdf4fc8 in SleepConditionVariableSRW () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000026b6fd2c in g_cond_wait_until (cond=cond@entry=0x53a10638, entered_mutex=entered_mutex@entry=0x53a10630, end_time=end_time@entry=4039524872) at ../glib/gthread-win32.c:280
#4  0x0000000026ae6191 in g_async_queue_pop_intern_unlocked (queue=0x53a10630, wait=1, end_time=4039524872) at ../glib/gasyncqueue.c:422
#5  0x0000000026b46b72 in g_thread_pool_wait_for_new_task (pool=<optimized out>) at ../glib/gthreadpool.c:278
#6  g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/gthreadpool.c:343
#7  0x0000000026b46061 in g_thread_proxy (data=0x54d002c0) at ../glib/gthread.c:807
#8  0x0000000026b6feb7 in g_thread_win32_proxy (data=<optimized out>) at ../glib/gthread-win32.c:422
#9  0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#10 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#11 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#12 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#13 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 32 (Thread 7688.0x65bc "pool-Ardour.exe"):
#0  0x00007ff8134658f4 in ntdll!ZwWaitForAlertByThreadId () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff81334a08e in ntdll!RtlSleepConditionVariableSRW () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff80fdf4fc8 in SleepConditionVariableSRW () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000026b6fd2c in g_cond_wait_until (cond=cond@entry=0x53a10638, entered_mutex=entered_mutex@entry=0x53a10630, end_time=end_time@entry=4039680444) at ../glib/gthread-win32.c:280
#4  0x0000000026ae6191 in g_async_queue_pop_intern_unlocked (queue=0x53a10630, wait=1, end_time=4039680444) at ../glib/gasyncqueue.c:422
#5  0x0000000026b46b72 in g_thread_pool_wait_for_new_task (pool=<optimized out>) at ../glib/gthreadpool.c:278
#6  g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/gthreadpool.c:343
#7  0x0000000026b46061 in g_thread_proxy (data=0x54d00200) at ../glib/gthread.c:807
#8  0x0000000026b6feb7 in g_thread_win32_proxy (data=<optimized out>) at ../glib/gthread-win32.c:422
#9  0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#10 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#11 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#12 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#13 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 31 (Thread 7688.0x50a0 "gmain"):
#0  0x00007ff8134627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff80fdf4ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x0000000026b2969c in poll_rest (msg_fd=0x0, stop_fd=0x0, handles=handles@entry=0x632af960, handle_to_fd=handle_to_fd@entry=0x632afb60, nhandles=1, timeout_ms=-1) at ../glib/gpoll.c:182
#3  0x0000000026b2984e in poll_single_thread (data=data@entry=0x632af960) at ../glib/gpoll.c:289
#4  0x0000000026b29df7 in g_poll (fds=fds@entry=0x53e96b60, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../glib/gpoll.c:395
#5  0x0000000026b1a4e8 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x53e96b60, timeout=<optimized out>, context=0x53a4d9c0) at ../glib/gmain.c:4346
#6  g_main_context_iterate (context=context@entry=0x53a4d9c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4042
#7  0x0000000026b1a7a0 in g_main_context_iteration (may_block=1, context=0x53a4d9c0) at ../glib/gmain.c:4108
#8  glib_worker_main (data=<optimized out>) at ../glib/gmain.c:5996
#9  0x0000000026b46061 in g_thread_proxy (data=0x54d00180) at ../glib/gthread.c:807
#10 0x0000000026b6feb7 in g_thread_win32_proxy (data=<optimized out>) at ../glib/gthread-win32.c:422
#11 0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#12 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#13 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#14 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#15 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 24 (Thread 7688.0x6548):
#0  0x00007ff813461dc4 in ntdll!ZwRemoveIoCompletion () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff80f04767f in Tcpip6_WSHGetSockaddrType () from C:\WINDOWS\system32\mswsock.dll
#2  0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 22 (Thread 7688.0x47ec):
#0  0x00007ff813398ba9 in ntdll!LdrResSearchResource () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff813331de2 in ntdll!RtlSetProcessPreferredUILanguages () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff81341d93a in ntdll!RtlLengthCurrentClearRunForwardEx () from C:\WINDOWS\SYSTEM32\ntdll.dll
#3  0x00007ff81332a3cb in ntdll!RtlCreateUnicodeString () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x00007ff8133270ca in ntdll!RtlFreeHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#5  0x00007ff81209d60c in msvcrt!free () from C:\WINDOWS\System32\msvcrt.dll
#6  0x000000002716a3bc in (anonymous namespace)::run (p=<optimized out>) at ../../../../../src/libstdc++-v3/libsupc++/atexit_thread.cc:75
#7  0x0000000064944e41 in _pthread_cleanup_dest (t=<optimized out>) at ./mingw-w64-libraries/winpthreads/src/thread.c:973
#8  0x0000000064945001 in _pthread_cleanup_dest (t=<optimized out>) at ./mingw-w64-libraries/winpthreads/src/thread.c:949
#9  pthread_create_wrapper (args=0x53fa8c70) at ./mingw-w64-libraries/winpthreads/src/thread.c:1524
#10 0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#11 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#12 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#13 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#14 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 20 (Thread 7688.0x2558):
#0  0x00007ff8133b74a5 in ntdll!RtlDeleteRegistryValue () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff81332e9f8 in ntdll!RtlCreateUnicodeString () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff813327010 in ntdll!RtlFreeHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#3  0x00007ff813341879 in ntdll!RtlSizeHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x00007ff81332edac in ntdll!RtlCreateUnicodeString () from C:\WINDOWS\SYSTEM32\ntdll.dll
#5  0x00007ff813327010 in ntdll!RtlFreeHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#6  0x00007ff81209d60c in msvcrt!free () from C:\WINDOWS\System32\msvcrt.dll
#7  0x00000000493823c3 in XMLNode::clear_lists (this=this@entry=0x54b25400) at ../libs/pbd/xml++.cc:276
#8  0x00000000493823e7 in XMLNode::~XMLNode (this=0x54b25400, __in_chrg=<optimized out>) at ../libs/pbd/xml++.cc:258
#9  0x0000000049382374 in XMLNode::clear_lists (this=this@entry=0x54bcaca0) at ../libs/pbd/xml++.cc:270
#10 0x00000000493823e7 in XMLNode::~XMLNode (this=0x54bcaca0, __in_chrg=<optimized out>) at ../libs/pbd/xml++.cc:258
#11 0x00000000493a2e66 in std::_Sp_counted_ptr<XMLNode*, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=<optimized out>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:380
#12 0x00000000493a3041 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x54b3cfa0) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:158
#13 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x54cec0f8, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:733
#14 std::__shared_ptr<XMLNode, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x54cec0f0, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:1183
#15 std::shared_ptr<XMLNode>::~shared_ptr (this=0x54cec0f0, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr.h:121
#16 std::_Destroy<std::shared_ptr<XMLNode> > (__pointer=0x54cec0f0) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/stl_construct.h:140
#17 std::_Destroy_aux<false>::__destroy<std::shared_ptr<XMLNode>*> (__last=0x54cec160, __first=0x54cec0f0) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/stl_construct.h:152
#18 std::_Destroy<std::shared_ptr<XMLNode>*> (__last=0x54cec160, __first=<optimized out>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/stl_construct.h:185
#19 std::_Destroy<std::shared_ptr<XMLNode>*, std::shared_ptr<XMLNode> > (__last=0x54cec160, __first=<optimized out>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/alloc_traits.h:738
#20 std::vector<std::shared_ptr<XMLNode>, std::allocator<std::shared_ptr<XMLNode> > >::~vector (this=0x54baa6d0, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/stl_vector.h:680
#21 std::_Sp_counted_ptr<std::vector<std::shared_ptr<XMLNode>, std::allocator<std::shared_ptr<XMLNode> > >*, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=<optimized out>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:380
#22 0x000000006f768496 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x54c301a0) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:158
#23 0x000000006f74defe in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x628cf738, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:733
#24 std::__shared_ptr<std::vector<std::shared_ptr<XMLNode>, std::allocator<std::shared_ptr<XMLNode> > >, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x628cf730, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:1183
#25 std::shared_ptr<std::vector<std::shared_ptr<XMLNode>, std::allocator<std::shared_ptr<XMLNode> > > >::~shared_ptr (this=0x628cf730, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr.h:121
#26 MIDI::Name::MasterDeviceNames::set_state (this=this@entry=0x54ec43a0, tree=...) at ../libs/midi++2/midnam_patch.cc:841
#27 0x000000006f74e5f9 in MIDI::Name::MIDINameDocument::set_state (this=this@entry=0x54ec4060, tree=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:1324
#28 0x000000006f74e9fd in MIDI::Name::MIDINameDocument::MIDINameDocument (this=0x54ec4060, file_path=...) at ../libs/pbd/pbd/xml++.h:81
#29 0x00000000289edcfe in MIDI::Name::MidiPatchManager::load_midi_name_document (this=this@entry=0x541136b0, file_path=...) at ../libs/ardour/midi_patch_manager.cc:172
#30 0x00000000289ee45f in MIDI::Name::MidiPatchManager::add_midnam_files_from_directory (this=this@entry=0x541136b0, directory_path=...) at ../libs/ardour/midi_patch_manager.cc:132
#31 0x00000000289ee5b0 in MIDI::Name::MidiPatchManager::load_midnams (this=0x541136b0) at ../libs/ardour/midi_patch_manager.cc:283
#32 0x0000000029108d46 in std::__invoke_impl<void, void (MIDI::Name::MidiPatchManager::*&)(), MIDI::Name::MidiPatchManager*&> (__t=@0x54a8f1a0: 0xfeeefeeefeeefeee, __f=@0x54a8f190: (void (MIDI::Name::MidiPatchManager::*)(MIDI::Name::MidiPatchManager * const)) 0x50af0150, this adjustment 1418963264) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:73
#33 std::__invoke<void (MIDI::Name::MidiPatchManager::*&)(), MIDI::Name::MidiPatchManager*&> (__fn=@0x54a8f190: (void (MIDI::Name::MidiPatchManager::*)(MIDI::Name::MidiPatchManager * const)) 0x50af0150, this adjustment 1418963264) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:95
#34 std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>::__call<void, , 0ull>(std::tuple<>&&, std::_Index_tuple<0ull>) (__args=..., this=0x54a8f190) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:416
#35 std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>::operator()<, void>() (this=0x54a8f190) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:499
#36 std::__invoke_impl<void, std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&>(std::__invoke_other, std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&) (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#37 std::__invoke_r<void, std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&>(std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&) (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#38 std::_Function_handler<void (), std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#39 0x00000000493a27ae in std::function<void ()>::operator()() const (this=0x50af0000) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#40 0x0000000049370929 in PBD::Thread::_run (arg=0x54113870) at ../libs/pbd/pthread_utils.cc:594
#41 0x0000000064944fd3 in pthread_create_wrapper (args=0x52f0acf0) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#42 0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#43 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#44 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#45 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#46 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 19 (Thread 7688.0x550):
#0  0x00007ff8134627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff80fdf4ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ff80fdf4bb1 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x620ffb40, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x4b4, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x52f083d8, cs=0x52f083b0, timeout=4294967295, nointerrupt=0, sema=0x4b4) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x4b4, nointerrupt=0, timeout=4294967295, cs=0x52f083b0, val=0x52f083d8) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x541815b0, external_mutex=0x54182f50) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000027215e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x541815b0) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x541815b0, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002910e726 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x541815b0, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002884d209 in PBD::Cond::wait (mutex=..., this=0x541815b0) at ../libs/pbd/pbd/mutex.h:124
#12 ARDOUR::AudioEngine::do_devicelist_update (this=0x54180be0) at ../libs/ardour/audioengine.cc:757
#13 0x00000000291091f6 in std::__invoke_impl<void, void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__t=<error reading variable: Cannot access memory at address 0x6b>, __f=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:73
#14 std::__invoke<void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__fn=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:95
#15 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::__call<void, , 0ull>(std::tuple<>&&, std::_Index_tuple<0ull>) (__args=..., this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:416
#16 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::operator()<, void>() (this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:499
#17 std::__invoke_impl<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::__invoke_other, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#18 std::__invoke_r<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#19 std::_Function_handler<void (), std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#20 0x00000000493a27ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#21 0x0000000049370929 in PBD::Thread::_run (arg=0x52f088a0) at ../libs/pbd/pthread_utils.cc:594
#22 0x0000000064944fd3 in pthread_create_wrapper (args=0x54182310) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#23 0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#24 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#25 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#26 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#27 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 18 (Thread 7688.0x90c):
#0  0x00007ff8134627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff80fdf4ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ff80fdf4bb1 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x6137fb20, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x698, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x52f07f78, cs=0x52f07f50, timeout=4294967295, nointerrupt=0, sema=0x698) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x698, nointerrupt=0, timeout=4294967295, cs=0x52f07f50, val=0x52f07f78) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x54181578, external_mutex=0x54182f00) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000027215e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x54181578) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x54181578, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002910e726 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x54181578, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002884e405 in PBD::Cond::wait (mutex=..., this=0x54181578) at ../libs/pbd/pbd/mutex.h:124
#12 ARDOUR::AudioEngine::do_reset_backend (this=0x54180be0) at ../libs/ardour/audioengine.cc:722
#13 0x00000000291091f6 in std::__invoke_impl<void, void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__t=<error reading variable: Cannot access memory at address 0x6b>, __f=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:73
#14 std::__invoke<void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__fn=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:95
#15 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::__call<void, , 0ull>(std::tuple<>&&, std::_Index_tuple<0ull>) (__args=..., this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:416
#16 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::operator()<, void>() (this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:499
#17 std::__invoke_impl<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::__invoke_other, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#18 std::__invoke_r<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#19 std::_Function_handler<void (), std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#20 0x00000000493a27ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#21 0x0000000049370929 in PBD::Thread::_run (arg=0x54182fe0) at ../libs/pbd/pthread_utils.cc:594
#22 0x0000000064944fd3 in pthread_create_wrapper (args=0x54181df0) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#23 0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#24 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#25 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#26 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#27 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 15 (Thread 7688.0x3194):
#0  0x00007ff813465954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff813323c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 14 (Thread 7688.0x3a24):
#0  0x00007ff813465954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff813323c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 13 (Thread 7688.0x4014):
#0  0x00007ff813465954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff813323c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 12 (Thread 7688.0x5f44):
#0  0x00007ff8134627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff80fdf4ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ff81227450e in combase!CoReleaseServerProcess () from C:\WINDOWS\System32\combase.dll
#3  0x00007ff81230777f in combase!RoParameterizedTypeExtraGetTypeSignature () from C:\WINDOWS\System32\combase.dll
#4  0x00007ff81230768f in combase!RoParameterizedTypeExtraGetTypeSignature () from C:\WINDOWS\System32\combase.dll
#5  0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#6  0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#7  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 11 (Thread 7688.0x140c):
#0  0x00007ff810d2ae24 in win32u!NtUserMsgWaitForMultipleObjectsEx () from C:\WINDOWS\System32\win32u.dll
#1  0x00007ff812f0afd6 in ?? () from C:\WINDOWS\System32\SHCore.dll
#2  0x00007ff812f0a3ee in ?? () from C:\WINDOWS\System32\SHCore.dll
#3  0x00007ff812f097a7 in ?? () from C:\WINDOWS\System32\SHCore.dll
#4  0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#5  0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#6  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 10 (Thread 7688.0x5674):
#0  0x00007ff8134627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff80fdf4ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ff80fdf4bb1 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x536dfb30, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x34c, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x52eed1d8, cs=0x52eed1b0, timeout=4294967295, nointerrupt=0, sema=0x34c) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x34c, nointerrupt=0, timeout=4294967295, cs=0x52eed1b0, val=0x52eed1d8) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x29431060 <ARDOUR::Analyser::SourcesToAnalyse>, external_mutex=0x52161bf0) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000027215e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x29431060 <ARDOUR::Analyser::SourcesToAnalyse>) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x29431060 <ARDOUR::Analyser::SourcesToAnalyse>, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002910e726 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=this@entry=0x29431060 <ARDOUR::Analyser::SourcesToAnalyse>, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x00000000288345a2 in PBD::Cond::wait (mutex=..., this=0x29431060 <ARDOUR::Analyser::SourcesToAnalyse>) at ../libs/pbd/pbd/mutex.h:124
#12 ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:96
#13 0x0000000029107e46 in sigc::pointer_functor0<void>::operator() (this=0x2) at ../../win-stack-w64/include/sigc++-2.0/sigc++/functors/ptr_fun.h:76
#14 std::__invoke_impl<void, sigc::pointer_functor0<void>&> (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#15 std::__invoke_r<void, sigc::pointer_functor0<void>&> (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#16 std::_Function_handler<void (), sigc::pointer_functor0<void> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#17 0x00000000493a27ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#18 0x0000000049370929 in PBD::Thread::_run (arg=0x52f0fe30) at ../libs/pbd/pthread_utils.cc:594
#19 0x0000000064944fd3 in pthread_create_wrapper (args=0x52ee41b0) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#20 0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#21 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#22 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#23 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#24 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 9 (Thread 7688.0x4898):
#0  0x00007ff8134627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff80fdf4ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ff80fdf4bb1 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x534dfb20, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x33c, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x52eec278, cs=0x52eec250, timeout=4294967295, nointerrupt=0, sema=0x33c) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x33c, nointerrupt=0, timeout=4294967295, cs=0x52eec250, val=0x52eec278) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x29434e30 <ARDOUR::SourceFactory::PeaksToBuild>, external_mutex=0x52146d20) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000027215e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x29434e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x29434e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002910e726 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x29434e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x0000000028c42b00 in PBD::Cond::wait (mutex=..., this=0x29434e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ../libs/pbd/pbd/mutex.h:124
#12 peak_thread_work () at ../libs/ardour/source_factory.cc:73
#13 0x0000000029107ea6 in std::__invoke_impl<void, void (*&)()> (__f=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:59
#14 std::__invoke_r<void, void (*&)()> (__fn=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#15 std::_Function_handler<void (), void (*)()>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#16 0x00000000493a27ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#17 0x0000000049370929 in PBD::Thread::_run (arg=0x5220ea10) at ../libs/pbd/pthread_utils.cc:594
#18 0x0000000064944fd3 in pthread_create_wrapper (args=0x52ee8f10) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#19 0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#20 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#21 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#22 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#23 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 7688.0x37a0):
#0  0x00007ff8134627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff80fdf4ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ff80fdf4bb1 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x532dfb20, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x33c, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x52eec278, cs=0x52eec250, timeout=4294967295, nointerrupt=0, sema=0x33c) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x33c, nointerrupt=0, timeout=4294967295, cs=0x52eec250, val=0x52eec278) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x29434e30 <ARDOUR::SourceFactory::PeaksToBuild>, external_mutex=0x52146d20) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000027215e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x29434e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x29434e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002910e726 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x29434e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x0000000028c42b00 in PBD::Cond::wait (mutex=..., this=0x29434e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ../libs/pbd/pbd/mutex.h:124
#12 peak_thread_work () at ../libs/ardour/source_factory.cc:73
#13 0x0000000029107ea6 in std::__invoke_impl<void, void (*&)()> (__f=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:59
#14 std::__invoke_r<void, void (*&)()> (__fn=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#15 std::_Function_handler<void (), void (*)()>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#16 0x00000000493a27ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#17 0x0000000049370929 in PBD::Thread::_run (arg=0x52eeaf50) at ../libs/pbd/pthread_utils.cc:594
#18 0x0000000064944fd3 in pthread_create_wrapper (args=0x52ee8c00) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#19 0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#20 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#21 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#22 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#23 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 7688.0x2afc):
#0  0x00007ff813461d24 in ntdll!ZwWaitForSingleObject () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff80f03951a in ?? () from C:\WINDOWS\system32\mswsock.dll
#2  0x00007ff80f0391f2 in ?? () from C:\WINDOWS\system32\mswsock.dll
#3  0x00007ff811f919d1 in select () from C:\WINDOWS\System32\ws2_32.dll
#4  0x00000000493579bf in CrossThreadChannel::poll_for_request (this=this@entry=0x521b5470) at ../libs/pbd/crossthread.win.cc:171
#5  0x0000000049357a1e in CrossThreadChannel::receive (this=this@entry=0x521b5470, msg=@0x52dbfd4f: 0 '\000', wait=wait@entry=true) at ../libs/pbd/crossthread.win.cc:191
#6  0x0000000028cb1236 in ARDOUR::TriggerBoxThread::thread_work (this=this@entry=0x521b5440) at ../libs/ardour/triggerbox.cc:5857
#7  0x0000000028cb1689 in ARDOUR::TriggerBoxThread::_thread_work (arg=0x521b5440) at ../libs/ardour/triggerbox.cc:5847
#8  0x00000000493705cd in fake_thread_start (arg=0x521b76a0) at ../libs/pbd/pthread_utils.cc:199
#9  0x0000000064944fd3 in pthread_create_wrapper (args=0x521b7960) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#10 0x00007ff8120bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#11 0x00007ff8120bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#12 0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#13 0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#14 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 7688.0x1fd0):
#0  0x00007ff813465954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff813323c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 7688.0x62e0):
#0  0x00007ff813465954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff813323c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 7688.0x6594):
#0  0x00007ff813465954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff813323c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 7688.0x6514):
#0  0x00007ff813465954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff813323c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 7688.0x590):
#0  0x00007ff813465954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff813323c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff81163e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ff81330427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 7688.0x1a00):
#0  0x00007ff8134658f4 in ntdll!ZwWaitForAlertByThreadId () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ff81339ad2f in ntdll!RtlInitializeResource () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ff81331376f in ntdll!RtlSleepConditionVariableCS () from C:\WINDOWS\SYSTEM32\ntdll.dll
#3  0x00007ff8133149e2 in ntdll!RtlEnterCriticalSection () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x00007ff81339ccd5 in ntdll!RtlProtectHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#5  0x00007ff81339f7ca in ntdll!RtlProtectHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#6  0x00007ff813328771 in ntdll!RtlCreateUnicodeString () from C:\WINDOWS\SYSTEM32\ntdll.dll
#7  0x00007ff813311d1c in ntdll!RtlAllocateHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#8  0x00007ff81209d6b0 in msvcrt!malloc () from C:\WINDOWS\System32\msvcrt.dll
#9  0x0000000026b20169 in g_malloc (n_bytes=48) at ../glib/gmem.c:102
#10 g_malloc_n (n_blocks=<optimized out>, n_block_bytes=n_block_bytes@entry=8) at ../glib/gmem.c:340
#11 0x0000000067f2557d in g_type_interfaces (type=type@entry=1400992416, n_interfaces=n_interfaces@entry=0x2637e73c) at ../gobject/gtype.c:3604
#12 0x0000000067f16d1d in signal_id_lookup (name=0x4afcf66f <__func__.50+1087> "row-inserted", itype=1400992416) at ../gobject/gsignal.c:427
#13 0x0000000067f1cd2b in signal_parse_name (force_quark=1, detail_p=<synthetic pointer>, itype=1400992416, name=0x4afcf66f <__func__.50+1087> "row-inserted") at ../gobject/gsignal.c:1156
#14 signal_parse_name (force_quark=1, detail_p=<synthetic pointer>, itype=1400992416, name=0x4afcf66f <__func__.50+1087> "row-inserted") at ../gobject/gsignal.c:1146
#15 g_signal_connect_data (instance=instance@entry=0x53fb9600, detailed_signal=detailed_signal@entry=0x4afcf66f <__func__.50+1087> "row-inserted", c_handler=c_handler@entry=0x4aea9d7c <gtk_tree_model_filter_row_inserted>, data=data@entry=0x54e2d770, destroy_data=destroy_data@entry=0x0, connect_flags=connect_flags@entry=0) at ../gobject/gsignal.c:2583
#16 0x000000004aea6abe in gtk_tree_model_filter_set_model (filter=0x54e2d770, child_model=0x53fb9600) at ../libs/tk/ytk/gtktreemodelfilter.c:2884
#17 0x000000004aea6c40 in gtk_tree_model_filter_set_property (object=0x54e2d770, prop_id=1, value=<optimized out>, pspec=0x54cff8e0) at ../libs/tk/ytk/gtktreemodelfilter.c:406
#18 0x0000000067f0b895 in object_set_property (object=object@entry=0x54e2d770, pspec=pspec@entry=0x54cff8e0, value=0x2637ea80, nqueue=nqueue@entry=0x54e2ccb0) at ../gobject/gobject.c:1565
#19 0x0000000067f0bca5 in g_object_new_internal (class=0x547afcd0, class@entry=0x54cff950, params=params@entry=0x2637eb10, n_params=2, n_params@entry=1) at ../gobject/gobject.c:1971
#20 0x0000000067f0da18 in g_object_new_valist (object_type=<optimized out>, first_property_name=first_property_name@entry=0x4afcf2b0 <__func__.50+128> "child-model", var_args=0x2637ecd0 "�D�S", var_args@entry=0x2637ecb0 "") at ../gobject/gobject.c:2262
#21 0x0000000067f0dc62 in g_object_new (object_type=<optimized out>, first_property_name=first_property_name@entry=0x4afcf2b0 <__func__.50+128> "child-model") at ../gobject/gobject.c:1780
#22 0x000000004aea6015 in gtk_tree_model_filter_new (child_model=0x53fb9600, root=root@entry=0x0) at ../libs/tk/ytk/gtktreemodelfilter.c:2982
#23 0x000000004ad76726 in gtk_file_chooser_button_constructor (type=<optimized out>, n_params=<optimized out>, params=<optimized out>) at ../libs/tk/ytk/gtkfilechooserbutton.c:873
#24 0x0000000067f0baf3 in g_object_new_with_custom_constructor (n_params=1, params=0x2637ee20, class=0x53787690) at ../gobject/gobject.c:1855
#25 g_object_new_internal (class=0x53787690, class@entry=0x54c42e40, params=params@entry=0x2637ee20, n_params=n_params@entry=1) at ../gobject/gobject.c:1935
#26 0x0000000067f0d5bf in g_object_newv (object_type=1404517008, n_parameters=<optimized out>, parameters=<optimized out>) at ../gobject/gobject.c:2171
#27 0x00000000664df48a in Glib::Object::Object(Glib::ConstructParams const&) () from C:\Program Files\Ardour9\bin\libglibmm-2.4-1.dll
#28 0x000000004c4784e6 in Gtk::Object::Object (this=0x54e0ebc0, __vtt_parm=0x4c547ab8 <VTT for Gtk::FileChooserButton+40>, construct_params=..., __in_chrg=<optimized out>) at ../libs/tk/ytkmm/object.cc:38
#29 0x000000004c4c51f9 in Gtk::Widget::Widget (this=0x54e0ebc0, __vtt_parm=0x4c547ab0 <VTT for Gtk::FileChooserButton+32>, construct_params=..., __in_chrg=<optimized out>) at ../libs/tk/ytkmm/widget.cc:5739
#30 0x000000004c451315 in Gtk::Container::Container (this=0x54e0ebc0, __vtt_parm=0x4c547aa8 <VTT for Gtk::FileChooserButton+24>, construct_params=..., __in_chrg=<optimized out>) at ../libs/tk/ytkmm/container.cc:715
#31 0x000000004c43b65d in Gtk::Box::Box (this=this@entry=0x54e0ebc0, __vtt_parm=__vtt_parm@entry=0x4c547aa0 <VTT for Gtk::FileChooserButton+16>, construct_params=..., __in_chrg=<optimized out>) at ../libs/tk/ytkmm/box.cc:219
#32 0x000000004c43c31b in Gtk::HBox::HBox (this=0x54e0ebc0, __vtt_parm=0x4c547a98 <VTT for Gtk::FileChooserButton+8>, construct_params=..., __in_chrg=<optimized out>) at ../libs/tk/ytkmm/box.cc:578
#33 0x000000004c45b2a3 in Gtk::FileChooserButton::FileChooserButton (this=0x54e0ebc0, action=Gtk::FILE_CHOOSER_ACTION_SELECT_FOLDER, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../libs/tk/ytkmm/filechooserbutton.cc:41
#34 0x0000000000b802c9 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Ardour-debug.log (50,258 bytes)   

the_real_ck

2026-05-14 10:25

reporter   ~0030370

Similar behaviour with Ardour-9.4.0-dbg-w64-Setup.exe
2026-05-14_Ardour-9.4.0-dbg-w64-Setup.exe_Ardour-debug.log (37,781 bytes)   
Starting program: C:\Program Files\Ardour9\bin\Ardour.exe 
[New Thread 11944.0x2774]
[New Thread 11944.0x2f1c]
[New Thread 11944.0x2964]
[New Thread 11944.0x3c78]
[New Thread 11944.0x3308]
[New Thread 11944.0x3878]
[New Thread 11944.0x35d8]
[New Thread 11944.0x391c]
[New Thread 11944.0x3c60]
[New Thread 11944.0x38c8]
[New Thread 11944.0x2b58]
[New Thread 11944.0x2700]
[New Thread 11944.0x55d4]
[New Thread 11944.0x990]
[Thread 11944.0x990 exited with code 0]
[New Thread 11944.0x1d68]
[Thread 11944.0x1d68 exited with code 0]
[New Thread 11944.0xef4]
[New Thread 11944.0xee4]
[New Thread 11944.0x4560]
[New Thread 11944.0x38f8]
[Thread 11944.0x38f8 exited with code 0]
[New Thread 11944.0x3840]
[New Thread 11944.0x22ac]
[Thread 11944.0x22ac exited with code 0]
[New Thread 11944.0xf5c]
[New Thread 11944.0x4870]
[Thread 11944.0x4870 exited with code 1]
[New Thread 11944.0x2a54]
[Thread 11944.0x2a54 exited with code 1]
warning: Critical error detected c0000374

Thread 21 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 11944.0x3840]
0x00007ffb03a98ba9 in ntdll!LdrResSearchResource () from C:\WINDOWS\SYSTEM32\ntdll.dll

Thread 23 (Thread 11944.0xf5c):
#0  0x00007ffb03b61dc4 in ntdll!ZwRemoveIoCompletion () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffaff74767f in Tcpip6_WSHGetSockaddrType () from C:\WINDOWS\system32\mswsock.dll
#2  0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 21 (Thread 11944.0x3840):
#0  0x00007ffb03a98ba9 in ntdll!LdrResSearchResource () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb03a31de2 in ntdll!RtlSetProcessPreferredUILanguages () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffb03b1d93a in ntdll!RtlLengthCurrentClearRunForwardEx () from C:\WINDOWS\SYSTEM32\ntdll.dll
#3  0x00007ffb03a2a3cb in ntdll!RtlCreateUnicodeString () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x00007ffb03a270ca in ntdll!RtlFreeHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#5  0x00007ffb0179d60c in msvcrt!free () from C:\WINDOWS\System32\msvcrt.dll
#6  0x0000000028ada3bc in (anonymous namespace)::run (p=<optimized out>) at ../../../../../src/libstdc++-v3/libsupc++/atexit_thread.cc:75
#7  0x0000000064944e41 in _pthread_cleanup_dest (t=<optimized out>) at ./mingw-w64-libraries/winpthreads/src/thread.c:973
#8  0x0000000064945001 in _pthread_cleanup_dest (t=<optimized out>) at ./mingw-w64-libraries/winpthreads/src/thread.c:949
#9  pthread_create_wrapper (args=0x54108730) at ./mingw-w64-libraries/winpthreads/src/thread.c:1524
#10 0x00007ffb017bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#11 0x00007ffb017bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#12 0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#13 0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#14 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 19 (Thread 11944.0x4560):
#0  0x00007ffb017fe030 in msvcrt!memset () from C:\WINDOWS\System32\msvcrt.dll
#1  0x0000000071068529 in xmlSAX2TextNode () from C:\Program Files\Ardour9\bin\libxml2-2.dll
#2  0x0000000071068b4e in xmlSAX2AttributeNs () from C:\Program Files\Ardour9\bin\libxml2-2.dll
#3  0x0000000071069abc in xmlSAX2StartElementNs () from C:\Program Files\Ardour9\bin\libxml2-2.dll
#4  0x0000000070f66bb6 in xmlParseStartTag2 () from C:\Program Files\Ardour9\bin\libxml2-2.dll
#5  0x0000000070f67eb4 in xmlParseElementStart () from C:\Program Files\Ardour9\bin\libxml2-2.dll
#6  0x0000000070f67a55 in xmlParseContentInternal () from C:\Program Files\Ardour9\bin\libxml2-2.dll
#7  0x0000000070f67c89 in xmlParseElement () from C:\Program Files\Ardour9\bin\libxml2-2.dll
#8  0x0000000070f6a238 in xmlParseDocument () from C:\Program Files\Ardour9\bin\libxml2-2.dll
#9  0x0000000070f733d8 in xmlDoRead () from C:\Program Files\Ardour9\bin\libxml2-2.dll
#10 0x0000000070f738d0 in xmlCtxtReadFile () from C:\Program Files\Ardour9\bin\libxml2-2.dll
#11 0x000000004aba374d in XMLTree::read_internal (this=this@entry=0x620ff960, validate=validate@entry=false) at ../libs/pbd/xml++.cc:105
#12 0x000000006f74e954 in XMLTree::read (fn=..., this=0x620ff960) at ../libs/pbd/pbd/xml++.h:91
#13 MIDI::Name::MIDINameDocument::MIDINameDocument (this=0x53d41cc0, file_path=...) at ../libs/midi++2/midnam_patch.cc:903
#14 0x000000002a35deae in MIDI::Name::MidiPatchManager::load_midi_name_document (this=this@entry=0x5375b670, file_path=...) at ../libs/ardour/midi_patch_manager.cc:172
#15 0x000000002a35e60f in MIDI::Name::MidiPatchManager::add_midnam_files_from_directory (this=this@entry=0x5375b670, directory_path=...) at ../libs/ardour/midi_patch_manager.cc:132
#16 0x000000002a35e760 in MIDI::Name::MidiPatchManager::load_midnams (this=0x5375b670) at ../libs/ardour/midi_patch_manager.cc:283
#17 0x000000002aa79296 in std::__invoke_impl<void, void (MIDI::Name::MidiPatchManager::*&)(), MIDI::Name::MidiPatchManager*&> (__t=@0x546c7930: 0xbaadf00dbaadf00d, __f=@0x546c7920: &virtual table offset -4995072469926809588, this adjustment -4995072469926809587) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:73
#18 std::__invoke<void (MIDI::Name::MidiPatchManager::*&)(), MIDI::Name::MidiPatchManager*&> (__fn=@0x546c7920: &virtual table offset -4995072469926809588, this adjustment -4995072469926809587) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:95
#19 std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>::__call<void, , 0ull>(std::tuple<>&&, std::_Index_tuple<0ull>) (__args=..., this=0x546c7920) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:416
#20 std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>::operator()<, void>() (this=0x546c7920) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:499
#21 std::__invoke_impl<void, std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&>(std::__invoke_other, std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&) (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#22 std::__invoke_r<void, std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&>(std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&) (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#23 std::_Function_handler<void (), std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#24 0x000000004abc27ae in std::function<void ()>::operator()() const (this=0x546c7920) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#25 0x000000004ab90929 in PBD::Thread::_run (arg=0x5375b910) at ../libs/pbd/pthread_utils.cc:594
#26 0x0000000064944fd3 in pthread_create_wrapper (args=0x5375bbf0) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#27 0x00007ffb017bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#28 0x00007ffb017bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#29 0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#30 0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#31 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 18 (Thread 11944.0xee4):
#0  0x00007ffb03b627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb00f64ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ffb00f64bb1 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x6136fb40, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x520, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x52f1ed88, cs=0x52f1ed60, timeout=4294967295, nointerrupt=0, sema=0x520) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x520, nointerrupt=0, timeout=4294967295, cs=0x52f1ed60, val=0x52f1ed88) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x52f07c40, external_mutex=0x52f1f5e0) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000028b85e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x52f07c40) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x52f07c40, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002aa7ec76 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x52f07c40, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002a1bd209 in PBD::Cond::wait (mutex=..., this=0x52f07c40) at ../libs/pbd/pbd/mutex.h:124
#12 ARDOUR::AudioEngine::do_devicelist_update (this=0x52f07270) at ../libs/ardour/audioengine.cc:757
#13 0x000000002aa79746 in std::__invoke_impl<void, void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__t=<error reading variable: Cannot access memory at address 0x6b>, __f=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:73
#14 std::__invoke<void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__fn=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:95
#15 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::__call<void, , 0ull>(std::tuple<>&&, std::_Index_tuple<0ull>) (__args=..., this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:416
#16 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::operator()<, void>() (this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:499
#17 std::__invoke_impl<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::__invoke_other, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#18 std::__invoke_r<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#19 std::_Function_handler<void (), std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#20 0x000000004abc27ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#21 0x000000004ab90929 in PBD::Thread::_run (arg=0x52f1ced0) at ../libs/pbd/pthread_utils.cc:594
#22 0x0000000064944fd3 in pthread_create_wrapper (args=0x52f1d160) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#23 0x00007ffb017bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#24 0x00007ffb017bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#25 0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#26 0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#27 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 17 (Thread 11944.0xef4):
#0  0x00007ffb03b627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb00f64ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ffb00f64bb1 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x6116fb20, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x510, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x52f1ded8, cs=0x52f1deb0, timeout=4294967295, nointerrupt=0, sema=0x510) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x510, nointerrupt=0, timeout=4294967295, cs=0x52f1deb0, val=0x52f1ded8) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x52f07c08, external_mutex=0x52f1f590) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000028b85e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x52f07c08) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x52f07c08, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002aa7ec76 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x52f07c08, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002a1be405 in PBD::Cond::wait (mutex=..., this=0x52f07c08) at ../libs/pbd/pbd/mutex.h:124
#12 ARDOUR::AudioEngine::do_reset_backend (this=0x52f07270) at ../libs/ardour/audioengine.cc:722
#13 0x000000002aa79746 in std::__invoke_impl<void, void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__t=<error reading variable: Cannot access memory at address 0x6b>, __f=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:73
#14 std::__invoke<void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__fn=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:95
#15 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::__call<void, , 0ull>(std::tuple<>&&, std::_Index_tuple<0ull>) (__args=..., this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:416
#16 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::operator()<, void>() (this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:499
#17 std::__invoke_impl<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::__invoke_other, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#18 std::__invoke_r<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#19 std::_Function_handler<void (), std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#20 0x000000004abc27ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#21 0x000000004ab90929 in PBD::Thread::_run (arg=0x52f1f670) at ../libs/pbd/pthread_utils.cc:594
#22 0x0000000064944fd3 in pthread_create_wrapper (args=0x52f1cb40) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#23 0x00007ffb017bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#24 0x00007ffb017bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#25 0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#26 0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#27 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 14 (Thread 11944.0x55d4):
#0  0x00007ffb03b65954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb03a23c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 13 (Thread 11944.0x2700):
#0  0x00007ffb03b65954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb03a23c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 12 (Thread 11944.0x2b58):
#0  0x00007ffb03b627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb00f64ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ffb0345450e in combase!CoReleaseServerProcess () from C:\WINDOWS\System32\combase.dll
#3  0x00007ffb034e777f in combase!RoParameterizedTypeExtraGetTypeSignature () from C:\WINDOWS\System32\combase.dll
#4  0x00007ffb034e768f in combase!RoParameterizedTypeExtraGetTypeSignature () from C:\WINDOWS\System32\combase.dll
#5  0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#6  0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#7  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 11 (Thread 11944.0x38c8):
#0  0x00007ffb0175ae24 in win32u!NtUserMsgWaitForMultipleObjectsEx () from C:\WINDOWS\System32\win32u.dll
#1  0x00007ffb0268afd6 in ?? () from C:\WINDOWS\System32\SHCore.dll
#2  0x00007ffb0268a3ee in ?? () from C:\WINDOWS\System32\SHCore.dll
#3  0x00007ffb026897a7 in ?? () from C:\WINDOWS\System32\SHCore.dll
#4  0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#5  0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#6  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 10 (Thread 11944.0x3c60):
#0  0x00007ffb03b627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb00f64ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ffb00f64bb1 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x536efb30, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x318, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x52efc748, cs=0x52efc720, timeout=4294967295, nointerrupt=0, sema=0x318) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x318, nointerrupt=0, timeout=4294967295, cs=0x52efc720, val=0x52efc748) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x2ada1060 <ARDOUR::Analyser::SourcesToAnalyse>, external_mutex=0x27fa1c60) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000028b85e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x2ada1060 <ARDOUR::Analyser::SourcesToAnalyse>) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x2ada1060 <ARDOUR::Analyser::SourcesToAnalyse>, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002aa7ec76 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=this@entry=0x2ada1060 <ARDOUR::Analyser::SourcesToAnalyse>, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002a1a45a2 in PBD::Cond::wait (mutex=..., this=0x2ada1060 <ARDOUR::Analyser::SourcesToAnalyse>) at ../libs/pbd/pbd/mutex.h:124
#12 ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:96
#13 0x000000002aa78396 in sigc::pointer_functor0<void>::operator() (this=0x2) at ../../win-stack-w64/include/sigc++-2.0/sigc++/functors/ptr_fun.h:76
#14 std::__invoke_impl<void, sigc::pointer_functor0<void>&> (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#15 std::__invoke_r<void, sigc::pointer_functor0<void>&> (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#16 std::_Function_handler<void (), sigc::pointer_functor0<void> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#17 0x000000004abc27ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#18 0x000000004ab90929 in PBD::Thread::_run (arg=0x52efb330) at ../libs/pbd/pthread_utils.cc:594
#19 0x0000000064944fd3 in pthread_create_wrapper (args=0x52f3f8d0) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#20 0x00007ffb017bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#21 0x00007ffb017bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#22 0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#23 0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#24 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 9 (Thread 11944.0x391c):
#0  0x00007ffb03b627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb00f64ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ffb00f64bb1 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x534efb20, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x34c, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x52efbe28, cs=0x52efbe00, timeout=4294967295, nointerrupt=0, sema=0x34c) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x34c, nointerrupt=0, timeout=4294967295, cs=0x52efbe00, val=0x52efbe28) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x2ada4e30 <ARDOUR::SourceFactory::PeaksToBuild>, external_mutex=0x27f86db0) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000028b85e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x2ada4e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x2ada4e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002aa7ec76 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x2ada4e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002a5b2cb0 in PBD::Cond::wait (mutex=..., this=0x2ada4e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ../libs/pbd/pbd/mutex.h:124
#12 peak_thread_work () at ../libs/ardour/source_factory.cc:73
#13 0x000000002aa783f6 in std::__invoke_impl<void, void (*&)()> (__f=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:59
#14 std::__invoke_r<void, void (*&)()> (__fn=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#15 std::_Function_handler<void (), void (*)()>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#16 0x000000004abc27ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#17 0x000000004ab90929 in PBD::Thread::_run (arg=0x52ef9810) at ../libs/pbd/pthread_utils.cc:594
#18 0x0000000064944fd3 in pthread_create_wrapper (args=0x52f3f3b0) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#19 0x00007ffb017bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#20 0x00007ffb017bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#21 0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#22 0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#23 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 11944.0x35d8):
#0  0x00007ffb03b627f4 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb00f64ce3 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ffb00f64bb1 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x532efb20, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x34c, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x52efbe28, cs=0x52efbe00, timeout=4294967295, nointerrupt=0, sema=0x34c) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x34c, nointerrupt=0, timeout=4294967295, cs=0x52efbe00, val=0x52efbe28) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x2ada4e30 <ARDOUR::SourceFactory::PeaksToBuild>, external_mutex=0x27f86db0) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000028b85e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x2ada4e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x2ada4e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002aa7ec76 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x2ada4e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002a5b2cb0 in PBD::Cond::wait (mutex=..., this=0x2ada4e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ../libs/pbd/pbd/mutex.h:124
#12 peak_thread_work () at ../libs/ardour/source_factory.cc:73
#13 0x000000002aa783f6 in std::__invoke_impl<void, void (*&)()> (__f=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:59
#14 std::__invoke_r<void, void (*&)()> (__fn=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#15 std::_Function_handler<void (), void (*)()>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#16 0x000000004abc27ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#17 0x000000004ab90929 in PBD::Thread::_run (arg=0x52efa480) at ../libs/pbd/pthread_utils.cc:594
#18 0x0000000064944fd3 in pthread_create_wrapper (args=0x52efafd0) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#19 0x00007ffb017bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#20 0x00007ffb017bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#21 0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#22 0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#23 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 11944.0x3878):
#0  0x00007ffb03b61d24 in ntdll!ZwWaitForSingleObject () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffaff73951a in ?? () from C:\WINDOWS\system32\mswsock.dll
#2  0x00007ffaff7391f2 in ?? () from C:\WINDOWS\system32\mswsock.dll
#3  0x00007ffb033519d1 in select () from C:\WINDOWS\System32\ws2_32.dll
#4  0x000000004ab779bf in CrossThreadChannel::poll_for_request (this=this@entry=0x27ff5a40) at ../libs/pbd/crossthread.win.cc:171
#5  0x000000004ab77a1e in CrossThreadChannel::receive (this=this@entry=0x27ff5a40, msg=@0x52eefd4f: 0 '\000', wait=wait@entry=true) at ../libs/pbd/crossthread.win.cc:191
#6  0x000000002a6213e6 in ARDOUR::TriggerBoxThread::thread_work (this=this@entry=0x27ff5a10) at ../libs/ardour/triggerbox.cc:5857
#7  0x000000002a621839 in ARDOUR::TriggerBoxThread::_thread_work (arg=0x27ff5a10) at ../libs/ardour/triggerbox.cc:5847
#8  0x000000004ab905cd in fake_thread_start (arg=0x27ff7c20) at ../libs/pbd/pthread_utils.cc:199
#9  0x0000000064944fd3 in pthread_create_wrapper (args=0x27ff7ee0) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#10 0x00007ffb017bf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#11 0x00007ffb017bf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#12 0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#13 0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#14 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 11944.0x3308):
#0  0x00007ffb03b65954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb03a23c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 11944.0x3c78):
#0  0x00007ffb03b65954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb03a23c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 11944.0x2964):
#0  0x00007ffb03b65954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb03a23c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 11944.0x2f1c):
#0  0x00007ffb03b65954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb03a23c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 11944.0x2774):
#0  0x00007ffb03b65954 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb03a23c4e in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffb0290e957 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffb03a0427c in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 11944.0x110c):
#0  0x00007ffb03b658f4 in ntdll!ZwWaitForAlertByThreadId () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffb03a9ad2f in ntdll!RtlInitializeResource () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffb03a1376f in ntdll!RtlSleepConditionVariableCS () from C:\WINDOWS\SYSTEM32\ntdll.dll
#3  0x00007ffb03a149e2 in ntdll!RtlEnterCriticalSection () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x00007ffb03a41806 in ntdll!RtlSizeHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#5  0x00007ffb03a2edac in ntdll!RtlCreateUnicodeString () from C:\WINDOWS\SYSTEM32\ntdll.dll
#6  0x00007ffb03a27010 in ntdll!RtlFreeHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#7  0x00007ffb0179d60c in msvcrt!free () from C:\WINDOWS\System32\msvcrt.dll
#8  0x000000004c9c2111 in gtk_label_set_text_internal (label=label@entry=0x5407e010, str=0x52fb7a10 "Audio System:") at ../libs/tk/ytk/gtklabel.c:1762
#9  0x000000004c9c28b9 in gtk_label_recalculate (label=label@entry=0x5407e010) at ../libs/tk/ytk/gtklabel.c:1874
#10 0x000000004c9c2a3e in label_shortcut_setting_apply (label=label@entry=0x5407e010) at ../libs/tk/ytk/gtklabel.c:1541
#11 0x000000004c9c2ab2 in gtk_label_screen_changed (widget=0x5407e010, old_screen=<optimized out>) at ../libs/tk/ytk/gtklabel.c:1661
#12 0x000000004dc996ad in Gtk::Widget_Class::screen_changed_callback (self=0x5407e010, p0=0x0) at ../libs/tk/ytkmm/widget.cc:5724
#13 0x0000000067f06b99 in g_closure_invoke (closure=closure@entry=0x537f2100, return_value=return_value@entry=0x0, n_param_values=2, param_values=param_values@entry=0x2637e3c0, invocation_hint=invocation_hint@entry=0x2637e320) at ../gobject/gclosure.c:810
#14 0x0000000067f18688 in signal_emit_unlocked_R (node=<optimized out>, node@entry=0x537f2050, detail=0, instance=<optimized out>, emission_return=emission_return@entry=0x0, instance_and_params=0x2637e3c0) at ../gobject/gsignal.c:3780
#15 0x0000000067f1e824 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=0x2637e580 "") at ../gobject/gsignal.c:3498
#16 0x0000000067f1ec88 in g_signal_emit (instance=0x264b02c0, signal_id=0, detail=3794000) at ../gobject/gsignal.c:3554
#17 0x000000004cadf529 in do_screen_change (widget=widget@entry=0x5407e010, old_screen=0x0, new_screen=<optimized out>) at ../libs/tk/ytk/gtkwidget.c:7089
#18 0x000000004cae16a5 in gtk_widget_propagate_hierarchy_changed_recurse (widget=widget@entry=0x5407e010, client_data=client_data@entry=0x2637e600) at ../libs/tk/ytk/gtkwidget.c:7111
#19 0x000000004cae3e8d in _gtk_widget_propagate_hierarchy_changed (widget=widget@entry=0x5407e010, previous_toplevel=previous_toplevel@entry=0x0) at ../libs/tk/ytk/gtkwidget.c:7151
#20 0x000000004cae903e in gtk_widget_set_parent (widget=0x5407e010, parent=<optimized out>) at ../libs/tk/ytk/gtkwidget.c:6498
#21 0x000000004ca53768 in gtk_table_attach (table=0x27f702a0, child=0x5407e010, left_attach=0, right_attach=1, top_attach=0, bottom_attach=1, xoptions=(GTK_EXPAND | GTK_FILL), yoptions=GTK_SHRINK, xpadding=0, ypadding=0) at ../libs/tk/ytk/gtktable.c:599
#22 0x000000004dc6add7 in Gtk::Table::attach (this=<optimized out>, child=..., left_attach=3794000, right_attach=642450120, top_attach=0, bottom_attach=1, xoptions=(Gtk::EXPAND | Gtk::FILL), yoptions=Gtk::SHRINK, xpadding=0, ypadding=0) at ../libs/tk/ytkmm/table.cc:324
#23 0x000000000069ca2f in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

the_real_ck

2026-05-14 14:48

reporter   ~0030372

Reproduced on a different Win11 machine (that has no audio interface)
2026-05-14_Ardour9.4_anderer_Rechner_Ardour-debug.log (35,383 bytes)   
Starting program: C:\Program Files\Ardour9\bin\Ardour.exe 
[New Thread 21376.0x82f4]
[New Thread 21376.0x83f0]
[New Thread 21376.0x83e4]
[New Thread 21376.0x5a6c]
[New Thread 21376.0x2bfc]
[New Thread 21376.0x6dcc]
[New Thread 21376.0x1d5c]
[New Thread 21376.0x516c]
[New Thread 21376.0x5cc0]
[New Thread 21376.0x1c28]
[Thread 21376.0x1c28 exited with code 0]
[New Thread 21376.0x12f8]
[Thread 21376.0x12f8 exited with code 0]
[New Thread 21376.0x3648]
[New Thread 21376.0x5334]
[New Thread 21376.0x7360]
[New Thread 21376.0x3c54]
[New Thread 21376.0x615c]
[Thread 21376.0x615c exited with code 0]
[New Thread 21376.0x6034]
warning: Critical error detected c0000374

Thread 16 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 21376.0x3c54]
0x00007ffa3b27d8e9 in ntdll!LdrResSearchResource () from C:\WINDOWS\SYSTEM32\ntdll.dll

Thread 18 (Thread 21376.0x6034):
#0  0x00007ffa3b341c24 in ntdll!ZwRemoveIoCompletion () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa36d6767f in Tcpip6_WSHGetSockaddrType () from C:\WINDOWS\system32\mswsock.dll
#2  0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 16 (Thread 21376.0x3c54):
#0  0x00007ffa3b27d8e9 in ntdll!LdrResSearchResource () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa3b2067b2 in ntdll!RtlSetProcessPreferredUILanguages () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffa3b2fd91a in ntdll!RtlLengthCurrentClearRunForwardEx () from C:\WINDOWS\SYSTEM32\ntdll.dll
#3  0x00007ffa3b1fed9b in ntdll!RtlAllocateHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x00007ffa3b258e5a in ntdll!RtlFreeHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#5  0x00007ffa3aabd60c in msvcrt!free () from C:\WINDOWS\System32\msvcrt.dll
#6  0x000000002719a3bc in (anonymous namespace)::run (p=<optimized out>) at ../../../../../src/libstdc++-v3/libsupc++/atexit_thread.cc:75
#7  0x0000000064944e41 in _pthread_cleanup_dest (t=<optimized out>) at ./mingw-w64-libraries/winpthreads/src/thread.c:973
#8  0x0000000064945001 in _pthread_cleanup_dest (t=<optimized out>) at ./mingw-w64-libraries/winpthreads/src/thread.c:949
#9  pthread_create_wrapper (args=0x538d7b10) at ./mingw-w64-libraries/winpthreads/src/thread.c:1524
#10 0x00007ffa3aadf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#11 0x00007ffa3aadf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#12 0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#13 0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#14 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 15 (Thread 21376.0x7360):
#0  0x00007ffa3b345e00 in ntdll!RtlCompareMemoryUlong () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa3b231df2 in ntdll!RtlSetBits () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffa3b1fd141 in ntdll!RtlAllocateHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#3  0x00007ffa3b1fcd14 in ntdll!RtlAllocateHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x00007ffa3b230378 in ntdll!RtlSetBits () from C:\WINDOWS\SYSTEM32\ntdll.dll
#5  0x00007ffa3b232e4a in ntdll!RtlSetBits () from C:\WINDOWS\SYSTEM32\ntdll.dll
#6  0x00007ffa3b1fd141 in ntdll!RtlAllocateHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#7  0x00007ffa3b1fcd14 in ntdll!RtlAllocateHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#8  0x00007ffa3aabd6b0 in msvcrt!malloc () from C:\WINDOWS\System32\msvcrt.dll
#9  0x000000002727ebd9 in operator new (sz=sz@entry=32) at ../../../../../src/libstdc++-v3/libsupc++/new_op.cc:50
#10 0x000000006f74c028 in __gnu_cxx::new_allocator<std::_List_node<std::shared_ptr<MIDI::Name::Patch> > >::allocate (__n=1, this=0x539eb5f0) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/ext/new_allocator.h:103
#11 std::allocator_traits<std::allocator<std::_List_node<std::shared_ptr<MIDI::Name::Patch> > > >::allocate (__n=1, __a=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/alloc_traits.h:460
#12 std::__cxx11::_List_base<std::shared_ptr<MIDI::Name::Patch>, std::allocator<std::shared_ptr<MIDI::Name::Patch> > >::_M_get_node (this=0x539eb5f0) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/stl_list.h:442
#13 std::__cxx11::list<std::shared_ptr<MIDI::Name::Patch>, std::allocator<std::shared_ptr<MIDI::Name::Patch> > >::_M_create_node<std::shared_ptr<MIDI::Name::Patch> const&> (this=0x539eb5f0) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/stl_list.h:634
#14 std::__cxx11::list<std::shared_ptr<MIDI::Name::Patch>, std::allocator<std::shared_ptr<MIDI::Name::Patch> > >::_M_insert<std::shared_ptr<MIDI::Name::Patch> const&> (__position=..., this=0x539eb5f0) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/stl_list.h:1911
#15 std::__cxx11::list<std::shared_ptr<MIDI::Name::Patch>, std::allocator<std::shared_ptr<MIDI::Name::Patch> > >::push_back (__x=..., this=0x539eb5f0) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/stl_list.h:1212
#16 MIDI::Name::PatchBank::set_state (this=0x539eb5c0, tree=..., node=...) at ../libs/midi++2/midnam_patch.cc:451
#17 0x000000006f74c4e1 in MIDI::Name::ChannelNameSet::set_state (this=0x544b49c0, tree=..., node=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:1324
#18 0x000000006f74cf42 in MIDI::Name::MasterDeviceNames::set_state (this=this@entry=0x53d60e80, tree=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:1324
#19 0x000000006f74e5f9 in MIDI::Name::MIDINameDocument::set_state (this=this@entry=0x53769ba0, tree=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/shared_ptr_base.h:1324
#20 0x000000006f74e9fd in MIDI::Name::MIDINameDocument::MIDINameDocument (this=0x53769ba0, file_path=...) at ../libs/pbd/pbd/xml++.h:81
#21 0x000000002b83deae in MIDI::Name::MidiPatchManager::load_midi_name_document (this=this@entry=0x53eb2410, file_path=...) at ../libs/ardour/midi_patch_manager.cc:172
#22 0x000000002b83e60f in MIDI::Name::MidiPatchManager::add_midnam_files_from_directory (this=this@entry=0x53eb2410, directory_path=...) at ../libs/ardour/midi_patch_manager.cc:132
#23 0x000000002b83e760 in MIDI::Name::MidiPatchManager::load_midnams (this=0x53eb2410) at ../libs/ardour/midi_patch_manager.cc:283
#24 0x000000002bf59296 in std::__invoke_impl<void, void (MIDI::Name::MidiPatchManager::*&)(), MIDI::Name::MidiPatchManager*&> (__t=<error reading variable: Cannot access memory at address 0xfeeefefe>, __f=<error reading variable: Cannot access memory at address 0xfeeefeee>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:73
#25 std::__invoke<void (MIDI::Name::MidiPatchManager::*&)(), MIDI::Name::MidiPatchManager*&> (__fn=<error reading variable: Cannot access memory at address 0xfeeefeee>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:95
#26 std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>::__call<void, , 0ull>(std::tuple<>&&, std::_Index_tuple<0ull>) (__args=..., this=0xfeeefeee) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:416
#27 std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>::operator()<, void>() (this=0xfeeefeee) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:499
#28 std::__invoke_impl<void, std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&>(std::__invoke_other, std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&) (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#29 std::__invoke_r<void, std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&>(std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()>&) (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#30 std::_Function_handler<void (), std::_Bind<void (MIDI::Name::MidiPatchManager::*(MIDI::Name::MidiPatchManager*))()> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#31 0x0000000029d627ae in std::function<void ()>::operator()() const (this=0xc0f) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#32 0x0000000029d30929 in PBD::Thread::_run (arg=0x53eb26b0) at ../libs/pbd/pthread_utils.cc:594
#33 0x0000000064944fd3 in pthread_create_wrapper (args=0x53eb2990) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#34 0x00007ffa3aadf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#35 0x00007ffa3aadf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#36 0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#37 0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#38 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 14 (Thread 21376.0x5334):
#0  0x00007ffa3b342654 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa38981a93 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ffa38981961 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x6237fb40, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x5d0, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x53718818, cs=0x537187f0, timeout=4294967295, nointerrupt=0, sema=0x5d0) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x5d0, nointerrupt=0, timeout=4294967295, cs=0x537187f0, val=0x53718818) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x53823fb0, external_mutex=0x53838d10) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000027245e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x53823fb0) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x53823fb0, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002bf5ec76 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x53823fb0, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002b69d209 in PBD::Cond::wait (mutex=..., this=0x53823fb0) at ../libs/pbd/pbd/mutex.h:124
#12 ARDOUR::AudioEngine::do_devicelist_update (this=0x538235e0) at ../libs/ardour/audioengine.cc:757
#13 0x000000002bf59746 in std::__invoke_impl<void, void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__t=<error reading variable: Cannot access memory at address 0x6b>, __f=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:73
#14 std::__invoke<void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__fn=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:95
#15 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::__call<void, , 0ull>(std::tuple<>&&, std::_Index_tuple<0ull>) (__args=..., this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:416
#16 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::operator()<, void>() (this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:499
#17 std::__invoke_impl<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::__invoke_other, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#18 std::__invoke_r<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#19 std::_Function_handler<void (), std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#20 0x0000000029d627ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#21 0x0000000029d30929 in PBD::Thread::_run (arg=0x53838ef0) at ../libs/pbd/pthread_utils.cc:594
#22 0x0000000064944fd3 in pthread_create_wrapper (args=0x53ea2740) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#23 0x00007ffa3aadf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#24 0x00007ffa3aadf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#25 0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#26 0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#27 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 13 (Thread 21376.0x3648):
#0  0x00007ffa3b342654 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa38981a93 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ffa38981961 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x620ffb20, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x5ec, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x536f41e8, cs=0x536f41c0, timeout=4294967295, nointerrupt=0, sema=0x5ec) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x5ec, nointerrupt=0, timeout=4294967295, cs=0x536f41c0, val=0x536f41e8) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x53823f78, external_mutex=0x53838cc0) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000027245e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x53823f78) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x53823f78, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002bf5ec76 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x53823f78, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002b69e405 in PBD::Cond::wait (mutex=..., this=0x53823f78) at ../libs/pbd/pbd/mutex.h:124
#12 ARDOUR::AudioEngine::do_reset_backend (this=0x538235e0) at ../libs/ardour/audioengine.cc:722
#13 0x000000002bf59746 in std::__invoke_impl<void, void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__t=<error reading variable: Cannot access memory at address 0x6b>, __f=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:73
#14 std::__invoke<void (ARDOUR::AudioEngine::*&)(), ARDOUR::AudioEngine*&> (__fn=<error reading variable: Cannot access memory at address 0x5b>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:95
#15 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::__call<void, , 0ull>(std::tuple<>&&, std::_Index_tuple<0ull>) (__args=..., this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:416
#16 std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>::operator()<, void>() (this=0x5b) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/functional:499
#17 std::__invoke_impl<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::__invoke_other, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#18 std::__invoke_r<void, std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&>(std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()>&) (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#19 std::_Function_handler<void (), std::_Bind<void (ARDOUR::AudioEngine::*(ARDOUR::AudioEngine*))()> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#20 0x0000000029d627ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#21 0x0000000029d30929 in PBD::Thread::_run (arg=0x53838da0) at ../libs/pbd/pthread_utils.cc:594
#22 0x0000000064944fd3 in pthread_create_wrapper (args=0x53ea2220) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#23 0x00007ffa3aadf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#24 0x00007ffa3aadf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#25 0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#26 0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#27 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 10 (Thread 21376.0x5cc0):
#0  0x00007ffa3b342654 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa38981a93 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ffa38981961 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x536afb30, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x3e8, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x52ebaef8, cs=0x52ebaed0, timeout=4294967295, nointerrupt=0, sema=0x3e8) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x3e8, nointerrupt=0, timeout=4294967295, cs=0x52ebaed0, val=0x52ebaef8) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x2c281060 <ARDOUR::Analyser::SourcesToAnalyse>, external_mutex=0x52131810) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000027245e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x2c281060 <ARDOUR::Analyser::SourcesToAnalyse>) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x2c281060 <ARDOUR::Analyser::SourcesToAnalyse>, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002bf5ec76 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=this@entry=0x2c281060 <ARDOUR::Analyser::SourcesToAnalyse>, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002b6845a2 in PBD::Cond::wait (mutex=..., this=0x2c281060 <ARDOUR::Analyser::SourcesToAnalyse>) at ../libs/pbd/pbd/mutex.h:124
#12 ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:96
#13 0x000000002bf58396 in sigc::pointer_functor0<void>::operator() (this=0x2) at ../../win-stack-w64/include/sigc++-2.0/sigc++/functors/ptr_fun.h:76
#14 std::__invoke_impl<void, sigc::pointer_functor0<void>&> (__f=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:60
#15 std::__invoke_r<void, sigc::pointer_functor0<void>&> (__fn=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#16 std::_Function_handler<void (), sigc::pointer_functor0<void> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#17 0x0000000029d627ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#18 0x0000000029d30929 in PBD::Thread::_run (arg=0x52eeeb20) at ../libs/pbd/pthread_utils.cc:594
#19 0x0000000064944fd3 in pthread_create_wrapper (args=0x521dcc70) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#20 0x00007ffa3aadf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#21 0x00007ffa3aadf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#22 0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#23 0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#24 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 9 (Thread 21376.0x516c):
#0  0x00007ffa3b342654 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa38981a93 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ffa38981961 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x534afb20, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x3c4, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x521ddc68, cs=0x521ddc40, timeout=4294967295, nointerrupt=0, sema=0x3c4) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x3c4, nointerrupt=0, timeout=4294967295, cs=0x521ddc40, val=0x521ddc68) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x2c284e30 <ARDOUR::SourceFactory::PeaksToBuild>, external_mutex=0x52117da0) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000027245e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x2c284e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x2c284e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002bf5ec76 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x2c284e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002ba92cb0 in PBD::Cond::wait (mutex=..., this=0x2c284e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ../libs/pbd/pbd/mutex.h:124
#12 peak_thread_work () at ../libs/ardour/source_factory.cc:73
#13 0x000000002bf583f6 in std::__invoke_impl<void, void (*&)()> (__f=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:59
#14 std::__invoke_r<void, void (*&)()> (__fn=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#15 std::_Function_handler<void (), void (*)()>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#16 0x0000000029d627ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#17 0x0000000029d30929 in PBD::Thread::_run (arg=0x52eb88f0) at ../libs/pbd/pthread_utils.cc:594
#18 0x0000000064944fd3 in pthread_create_wrapper (args=0x52eee790) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#19 0x00007ffa3aadf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#20 0x00007ffa3aadf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#21 0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#22 0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#23 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 21376.0x1d5c):
#0  0x00007ffa3b342654 in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa38981a93 in WaitForMultipleObjectsEx () from C:\WINDOWS\System32\KernelBase.dll
#2  0x00007ffa38981961 in WaitForMultipleObjects () from C:\WINDOWS\System32\KernelBase.dll
#3  0x0000000064942e9e in _pthread_wait_for_multiple_objects (count=count@entry=2, handles=handles@entry=0x532afb20, all=all@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/misc.c:136
#4  0x0000000064941e28 in do_sema_b_wait_intern (sema=sema@entry=0x3c4, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at ./mingw-w64-libraries/winpthreads/src/cond.c:647
#5  0x0000000064942166 in do_sema_b_wait (val=0x521ddc68, cs=0x521ddc40, timeout=4294967295, nointerrupt=0, sema=0x3c4) at ./mingw-w64-libraries/winpthreads/src/cond.c:606
#6  do_sema_b_wait (sema=0x3c4, nointerrupt=0, timeout=4294967295, cs=0x521ddc40, val=0x521ddc68) at ./mingw-w64-libraries/winpthreads/src/cond.c:596
#7  0x000000006494279c in pthread_cond_wait (c=c@entry=0x2c284e30 <ARDOUR::SourceFactory::PeaksToBuild>, external_mutex=0x52117da0) at ./mingw-w64-libraries/winpthreads/src/cond.c:461
#8  0x0000000027245e8c in __gthread_cond_wait (__mutex=<optimized out>, __cond=0x2c284e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32/bits/gthr-default.h:865
#9  std::condition_variable::wait (this=this@entry=0x2c284e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at ../../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:53
#10 0x000000002bf5ec76 in std::_V2::condition_variable_any::wait<PBD::Mutex> (this=0x2c284e30 <ARDOUR::SourceFactory::PeaksToBuild>, __lock=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/condition_variable:321
#11 0x000000002ba92cb0 in PBD::Cond::wait (mutex=..., this=0x2c284e30 <ARDOUR::SourceFactory::PeaksToBuild>) at ../libs/pbd/pbd/mutex.h:124
#12 peak_thread_work () at ../libs/ardour/source_factory.cc:73
#13 0x000000002bf583f6 in std::__invoke_impl<void, void (*&)()> (__f=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:59
#14 std::__invoke_r<void, void (*&)()> (__fn=<error reading variable: Cannot access memory at address 0x2>) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/invoke.h:110
#15 std::_Function_handler<void (), void (*)()>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:291
#16 0x0000000029d627ae in std::function<void ()>::operator()() const (this=0x2) at /usr/lib/gcc/x86_64-w64-mingw32/10-posix/include/c++/bits/std_function.h:622
#17 0x0000000029d30929 in PBD::Thread::_run (arg=0x52eb90c0) at ../libs/pbd/pthread_utils.cc:594
#18 0x0000000064944fd3 in pthread_create_wrapper (args=0x52eb8550) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#19 0x00007ffa3aadf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#20 0x00007ffa3aadf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#21 0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#22 0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#23 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 21376.0x6dcc):
#0  0x00007ffa3b341b84 in ntdll!ZwWaitForSingleObject () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa36d5951a in ?? () from C:\WINDOWS\system32\mswsock.dll
#2  0x00007ffa36d591f2 in ?? () from C:\WINDOWS\system32\mswsock.dll
#3  0x00007ffa392b19c1 in select () from C:\WINDOWS\System32\ws2_32.dll
#4  0x0000000029d179bf in CrossThreadChannel::poll_for_request (this=this@entry=0x521835d0) at ../libs/pbd/crossthread.win.cc:171
#5  0x0000000029d17a1e in CrossThreadChannel::receive (this=this@entry=0x521835d0, msg=@0x52d9fd4f: 0 '\000', wait=wait@entry=true) at ../libs/pbd/crossthread.win.cc:191
#6  0x000000002bb013e6 in ARDOUR::TriggerBoxThread::thread_work (this=this@entry=0x521835a0) at ../libs/ardour/triggerbox.cc:5857
#7  0x000000002bb01839 in ARDOUR::TriggerBoxThread::_thread_work (arg=0x521835a0) at ../libs/ardour/triggerbox.cc:5847
#8  0x0000000029d305cd in fake_thread_start (arg=0x52185800) at ../libs/pbd/pthread_utils.cc:199
#9  0x0000000064944fd3 in pthread_create_wrapper (args=0x52185ac0) at ./mingw-w64-libraries/winpthreads/src/thread.c:1517
#10 0x00007ffa3aadf0ad in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#11 0x00007ffa3aadf17c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#12 0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#13 0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#14 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 21376.0x2bfc):
#0  0x00007ffa3b3457b4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa3b255dfe in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 21376.0x5a6c):
#0  0x00007ffa3b3457b4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa3b255dfe in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 21376.0x83e4):
#0  0x00007ffa3b3457b4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa3b255dfe in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 21376.0x83f0):
#0  0x00007ffa3b3457b4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa3b255dfe in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 21376.0x82f4):
#0  0x00007ffa3b3457b4 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa3b255dfe in ntdll!RtlSetThreadSubProcessTag () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2  0x00007ffa39efe8d7 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#3  0x00007ffa3b26c3fc in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 21376.0x4e74):
#0  0x00007ffa3b342cb4 in ntdll!ZwAlpcSendWaitReceivePort () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1  0x00007ffa3936d304 in RpcExceptionFilter () from C:\WINDOWS\System32\rpcrt4.dll
#2  0x00007ffa3936c7a6 in RpcExceptionFilter () from C:\WINDOWS\System32\rpcrt4.dll
#3  0x00007ffa39407c9c in RPCRT4!NdrClientCall3 () from C:\WINDOWS\System32\rpcrt4.dll
#4  0x00007ffa394075fd in RPCRT4!NdrClientCall3 () from C:\WINDOWS\System32\rpcrt4.dll
#5  0x00007ffa39386d10 in RPCRT4!I_RpcBCacheFree () from C:\WINDOWS\System32\rpcrt4.dll
#6  0x00007ffa39386a0d in RPCRT4!I_RpcBCacheFree () from C:\WINDOWS\System32\rpcrt4.dll
#7  0x00007ffa393862be in RPCRT4!I_RpcBCacheFree () from C:\WINDOWS\System32\rpcrt4.dll
#8  0x00007ffa39385eb8 in RPCRT4!I_RpcBCacheFree () from C:\WINDOWS\System32\rpcrt4.dll
#9  0x00007ffa393721ff in RpcExceptionFilter () from C:\WINDOWS\System32\rpcrt4.dll
#10 0x00007ffa3937095c in RpcExceptionFilter () from C:\WINDOWS\System32\rpcrt4.dll
#11 0x00007ffa393803eb in RPCRT4!I_RpcNegotiateTransferSyntax () from C:\WINDOWS\System32\rpcrt4.dll
#12 0x00007ffa39407e83 in RPCRT4!NdrClientCall3 () from C:\WINDOWS\System32\rpcrt4.dll
#13 0x00007ffa394075fd in RPCRT4!NdrClientCall3 () from C:\WINDOWS\System32\rpcrt4.dll
#14 0x00007ffa27cc3cf8 in modMessage () from C:\WINDOWS\SYSTEM32\wdmaud2.drv
#15 0x00007ffa27cc3fc8 in modMessage () from C:\WINDOWS\SYSTEM32\wdmaud2.drv
#16 0x00007ffa27cbfb99 in ?? () from C:\WINDOWS\SYSTEM32\wdmaud2.drv
#17 0x00007ffa27cc0689 in ?? () from C:\WINDOWS\SYSTEM32\wdmaud2.drv
#18 0x00007ffa27cc0919 in midMessage () from C:\WINDOWS\SYSTEM32\wdmaud2.drv
#19 0x00007ffa34f9e044 in mixerSetControlDetails () from C:\WINDOWS\SYSTEM32\winmmbase.dll
#20 0x00007ffa34f90ba0 in midiInGetNumDevs () from C:\WINDOWS\SYSTEM32\winmmbase.dll
#21 0x0000000069015dc1 in ARDOUR::WinMMEMidiIO::update_device_info (this=0x53cf47f0) at ../libs/backends/portaudio/winmmemidi_io.cc:256
#22 0x000000006900caf3 in ARDOUR::PortAudioBackend::enumerate_midi_devices (this=0x530987a0) at ../libs/backends/portaudio/portaudio_backend.cc:469
#23 0x00000000006a2ecd in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Issue History

Date Modified Username Field Change
2026-05-13 18:25 the_real_ck New Issue
2026-05-13 18:25 the_real_ck File Added: Ardour-debug.log
2026-05-14 10:25 the_real_ck Note Added: 0030370
2026-05-14 10:25 the_real_ck File Added: 2026-05-14_Ardour-9.4.0-dbg-w64-Setup.exe_Ardour-debug.log
2026-05-14 14:48 the_real_ck Note Added: 0030372
2026-05-14 14:48 the_real_ck File Added: 2026-05-14_Ardour9.4_anderer_Rechner_Ardour-debug.log