View Issue Details

IDProjectCategoryView StatusLast Update
0009019ardourbugspublic2022-10-21 10:41
Reporterflirora Assigned Tox42  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformArchOSLinuxOS Version(any)
Product Version7.0 
Summary0009019: ACE High/Low Pass Filter plugin hangs when changing
DescriptionWhen changing the Low Pass Cutoff parameter in a certain way, the ACE High/Low Pass Filter causes Ardour to hang.
Steps To ReproduceOpen the attached session and press Play.
Tags7.0, ACEplugins, hangs

Activities

flirora

2022-10-21 06:52

reporter  

backtrace-ace.txt (35,249 bytes)   
(gdb) thread apply all bt

Thread 117 (Thread 0x7fffb3fff6c0 (LWP 31560) "pool-ardour-7.0"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff6e31097 in g_cond_wait_until (cond=<optimized out>, mutex=0x555556e2ec80, end_time=<optimized out>) at ../glib/glib/gthread-posix.c:1669
#2  0x00007ffff6dae883 in g_async_queue_pop_intern_unlocked (queue=0x555556e2ec80, wait=1, end_time=25003433448) at ../glib/glib/gasyncqueue.c:424
#3  0x00007ffff6daea27 in g_async_queue_timeout_pop (queue=0x555556e2ec80, timeout=<optimized out>) at ../glib/glib/gasyncqueue.c:547
#4  0x00007ffff6e13356 in g_thread_pool_wait_for_new_pool () at ../glib/glib/gthreadpool.c:183
#5  g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/glib/gthreadpool.c:410
#6  0x00007ffff6e0dc55 in g_thread_proxy (data=0x5555617e3f60) at ../glib/glib/gthread.c:831
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 99 (Thread 0x7fff521cf6c0 (LWP 31542) "AutomationWatch"):
#0  0x00007ffff55047c5 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=req@entry=0x7fff521ceb40, rem=rem@entry=0x7fff521ceb30) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
#1  0x00007ffff55092d7 in __GI___nanosleep (req=req@entry=0x7fff521ceb40, rem=rem@entry=0x7fff521ceb30) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2  0x00007ffff6e0b391 in g_usleep (microseconds=<optimized out>) at ../glib/glib/gtimer.c:279
#3  0x00007ffff75ab7e6 in ARDOUR::AutomationWatch::thread() (this=0x55555a24d050) at ../libs/ardour/automation_watch.cc:207
#4  0x00007ffff704211a in boost::function0<void>::operator()() const (this=0x55555a24d1b8) at /usr/include/boost/function/function_template.hpp:763
#5  PBD::Thread::_run(void*) (arg=0x55555a24d190) at ../libs/pbd/pthread_utils.cc:486
#6  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#7  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 98 (Thread 0x7fff67efe6c0 (LWP 31541) "autoconnect"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555559d72398) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x555559d72398, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007ffff54ba51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x555559d72398, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007ffff54bccd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555559d72348, cond=0x555559d72370) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x555559d72370, mutex=0x555559d72348) at pthread_cond_wait.c:618
#5  0x00007ffff798adab in ARDOUR::Session::auto_connect_thread_run() (this=0x555559d702e0) at ../libs/ardour/session.cc:7441
#6  0x00007ffff798b1de in ARDOUR::Session::auto_connect_thread(void*) (arg=0x555559d702e0) at ../libs/ardour/session.cc:7372
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 97 (Thread 0x7fff66efc6c0 (LWP 31540) "SessionSignals"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555559d72328) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x555559d72328, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007ffff54ba51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x555559d72328, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007ffff54bccd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555559d722d8, cond=0x555559d72300) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x555559d72300, mutex=0x555559d722d8) at pthread_cond_wait.c:618
#5  0x00007ffff79c5195 in ARDOUR::Session::emit_thread_run() (this=0x555559d702e0) at ../libs/ardour/session_process.cc:1232
#6  0x00007ffff79c51ce in ARDOUR::Session::emit_thread(void*) (arg=0x555559d702e0) at ../libs/ardour/session_process.cc:1221
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 96 (Thread 0x7fff676fd6c0 (LWP 31539) "midiUI"):
#0  0x00007ffff55320bf in __GI___poll (fds=0x7fff5c042d70, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e36e2f in g_main_context_poll (priority=<optimized out>, n_fds=4, fds=0x7fff5c042d70, timeout=<optimized out>, context=0x55555df70b90) at ../glib/glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x55555df70b90, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4233
#3  0x00007ffff6ddfd7f in g_main_loop_run (loop=0x55555df70cb0) at ../glib/glib/gmain.c:4438
#4  0x00007ffff704211a in boost::function0<void>::operator()() const (this=0x55555df70e28) at /usr/include/boost/function/function_template.hpp:763
#5  PBD::Thread::_run(void*) (arg=0x55555df70e00) at ../libs/pbd/pthread_utils.cc:486
#6  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#7  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 95 (Thread 0x7fff666fb6c0 (LWP 31538) "butler"):
#0  0x00007ffff55320bf in __GI___poll (fds=fds@entry=0x7fff666fa5b0, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff702e80d in poll (__timeout=-1, __nfds=1, __fds=0x7fff666fa5b0) at /usr/include/bits/poll2.h:39
#2  CrossThreadChannel::poll_for_request() (this=<optimized out>) at ../libs/pbd/crossthread.posix.cc:108
#3  0x00007ffff702e893 in CrossThreadChannel::receive(char&, bool) (this=this@entry=0x555559cebda0, msg=@0x7fff666fa6e0: 0 '\000', wait=wait@entry=true) at ../libs/pbd/crossthread.posix.cc:133
#4  0x00007ffff75b7652 in ARDOUR::Butler::thread_work() (this=0x555559cebd00) at ../libs/ardour/butler.cc:188
#5  0x00007ffff704206a in fake_thread_start(void*) (arg=0x55555de25990) at ../libs/pbd/pthread_utils.cc:101
#6  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#7  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 88 (Thread 0x7fff8effd6c0 (LWP 31531) "RT-14-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fff8effcb90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 87 (Thread 0x7fff8ffff6c0 (LWP 31530) "RT-13-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fff8fffeb90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 86 (Thread 0x7fff94ff96c0 (LWP 31529) "RT-12-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fff94ff8b90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 85 (Thread 0x7fff957fa6c0 (LWP 31528) "RT-11-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fff957f9b90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 84 (Thread 0x7fff95ffb6c0 (LWP 31527) "RT-10-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fff95ffab90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 83 (Thread 0x7fff967fc6c0 (LWP 31526) "RT-9-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fff967fbb90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 82 (Thread 0x7fff96ffd6c0 (LWP 31525) "RT-8-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fff96ffcb90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 81 (Thread 0x7fff977fe6c0 (LWP 31524) "RT-7-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fff977fdb90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 80 (Thread 0x7fff8f7fe6c0 (LWP 31523) "RT-6-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fff8f7fdb90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 79 (Thread 0x7fff97fff6c0 (LWP 31522) "RT-5-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fff97ffeb90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 78 (Thread 0x7fffb0dfb6c0 (LWP 31521) "RT-4-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fffb0dfab90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 77 (Thread 0x7fffb15fc6c0 (LWP 31520) "RT-3-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0xf370) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fffb15fbb90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 76 (Thread 0x7fffb2dff6c0 (LWP 31519) "RT-2-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0x660) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fffb2dfeb90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 75 (Thread 0x7fffb1dfd6c0 (LWP 31518) "RT-1-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0x2e60) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1754) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f7d2 in ARDOUR::Graph::run_one() (this=0x555559cf1620) at ../libs/ardour/graph.cc:322
#4  0x00007ffff7656601 in ARDOUR::Graph::helper_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:373
#5  0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fffb1dfcb90) at /usr/include/boost/function/function_template.hpp:763
#6  ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#7  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#8  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 74 (Thread 0x7fffb25fe6c0 (LWP 31517) "RT-main-(nil)"):
#0  0x00007ffff7541e39 in boost::detail::sp_counted_base::release() (this=0x55555e307ea0) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp:118
#1  0x00007ffff78a8c28 in boost::detail::shared_count::~shared_count() (this=<synthetic pointer>, this=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:432
#2  boost::shared_ptr<std::__cxx11::list<boost::shared_ptr<ARDOUR::AutomationControl>, std::allocator<boost::shared_ptr<ARDOUR::AutomationControl> > > >::~shared_ptr() (this=<synthetic pointer>, this=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:335
#3  ARDOUR::PluginInsert::connect_and_run(ARDOUR::BufferSet&, long, long, double, unsigned int, long, bool) (this=0x55555e2be780, bufs=<optimized out>, start=<optimized out>, end=<optimized out>, speed=<optimized out>, nframes=<optimized out>, offset=<optimized out>, with_auto=<optimized out>) at ../libs/ardour/plugin_insert.cc:978
#4  0x00007ffff78a931a in ARDOUR::PluginInsert::automate_and_run(ARDOUR::BufferSet&, long, long, double, unsigned int) (this=<optimized out>, bufs=<optimized out>, start=<optimized out>, end=<optimized out>, speed=<optimized out>, nframes=38) at ../libs/ardour/plugin_insert.cc:1384
#5  0x00007ffff78a977c in ARDOUR::PluginInsert::run(ARDOUR::BufferSet&, long, long, double, unsigned int, bool) (this=0x55555e2be780, bufs=..., start_sample=112656, end_sample=113680, speed=1, nframes=1024) at ../libs/ardour/plugin_insert.cc:1326
#6  0x00007ffff7927dcd in ARDOUR::Route::process_output_buffers(ARDOUR::BufferSet&, long, long, unsigned int, bool, bool) (this=0x55555e1e2de0, bufs=..., start_sample=112656, end_sample=113680, nframes=1024, gain_automation_ok=<optimized out>, run_disk_reader=true) at ../libs/ardour/route.cc:543
#7  0x00007ffff7928cc4 in ARDOUR::Route::run_route(long, long, unsigned int, bool, bool) (this=0x55555e1e2de0, start_sample=111616, end_sample=112640, nframes=1024, gain_automation_ok=<optimized out>, run_disk_reader=<optimized out>) at ../libs/ardour/route.cc:734
#8  0x00007ffff7939c83 in ARDOUR::Route::roll(unsigned int, long, long, bool&) (this=0x55555e1e2de0, nframes=1024, start_sample=<optimized out>, end_sample=<optimized out>, need_butler=@0x7fffb25fda87: false) at ../libs/ardour/route.cc:4007
#9  0x00007ffff76531bf in ARDOUR::Graph::process_one_route(ARDOUR::Route*) (this=0x555559cf1620, route=<optimized out>) at ../libs/ardour/graph.cc:544
#10 0x00007ffff765dc86 in ARDOUR::GraphNode::run(ARDOUR::GraphChain const*) (this=0x55555e1e3230, chain=0x55555bcc2bb0) at ../libs/ardour/graphnode.cc:65
#11 0x00007ffff76563e1 in ARDOUR::Graph::main_thread() (this=0x555559cf1620) at ../libs/ardour/graph.cc:427
#12 0x00007fffe9072f02 in boost::function0<void>::operator()() const (this=0x7fffb25fdb90) at /usr/include/boost/function/function_template.hpp:763
#13 ARDOUR::JACKAudioBackend::_start_process_thread(void*) (arg=<optimized out>) at ../libs/backends/jack/jack_audiobackend.cc:953
#14 0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#15 0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 43 (Thread 0x7fffcdffb6c0 (LWP 31485) "audioengine"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7043e8b in PBD::Semaphore::wait() (this=0x555559cf1768) at ../libs/pbd/semutils.cc:119
#2  PBD::Semaphore::wait() (this=this@entry=0x555559cf1768) at ../libs/pbd/semutils.cc:116
#3  0x00007ffff764f96e in ARDOUR::Graph::process_routes(boost::shared_ptr<ARDOUR::GraphChain>, unsigned int, long, long, bool&) (chain=..., need_butler=@0x7fffcdffa797: false, end_sample=<optimized out>, start_sample=<optimized out>, nframes=<optimized out>, this=0x555559cf1620) at ../libs/ardour/graph.cc:454
#4  ARDOUR::Graph::process_routes(boost::shared_ptr<ARDOUR::GraphChain>, unsigned int, long, long, bool&) (this=0x555559cf1620, chain=..., nframes=<optimized out>, start_sample=<optimized out>, end_sample=<optimized out>, need_butler=@0x7fffcdffa797: false) at ../libs/ardour/graph.cc:435
#5  0x00007ffff79c1668 in ARDOUR::Session::process_routes(unsigned int, bool&) (this=0x555559d702e0, nframes=1024, need_butler=@0x7fffcdffa797: false) at ../libs/ardour/session_process.cc:272
#6  0x00007ffff79c2ea2 in ARDOUR::Session::process_with_events(unsigned int) (this=0x555559d702e0, nframes=1024) at ../libs/ardour/session_process.cc:608
#7  0x00007ffff79c4cc3 in ARDOUR::Session::process(unsigned int) (this=0x555559d702e0, nframes=1024) at ../libs/ardour/session_process.cc:120
#8  0x00007ffff756e199 in ARDOUR::AudioEngine::process_callback(unsigned int) (this=0x55555676eb20, nframes=nframes@entry=1024) at ../libs/ardour/audioengine.cc:539
#9  0x00007fffe90793e5 in ARDOUR::JACKAudioBackend::process_thread() (this=0x555556d9f2a0) at ../libs/backends/jack/jack_audiobackend.cc:986
#10 0x00007ffff7dcecc7 in loop_iterate (object=<optimized out>, timeout=<optimized out>) at ../pipewire/spa/plugins/support/loop.c:431
#11 0x00007ffff3968317 in do_loop (user_data=0x5555572e03b0) at ../pipewire/src/pipewire/data-loop.c:81
#12 0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#13 0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 42 (Thread 0x7fffce7fc6c0 (LWP 31484) "pw-ardour"):
#0  0x00007ffff553f096 in epoll_wait (epfd=15, events=events@entry=0x7fffce7fb7a0, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x00007ffff7ddc669 in impl_pollfd_wait (object=<optimized out>, pfd=<optimized out>, ev=0x7fffce7fb970, n_ev=<optimized out>, timeout=<optimized out>) at ../pipewire/spa/plugins/support/system.c:157
#2  0x00007ffff7dceb7b in loop_iterate (object=0x55555739caf8, timeout=-1) at ../pipewire/spa/plugins/support/loop.c:401
#3  0x00007ffff39b856a in do_loop (user_data=0x5555572ba890) at ../pipewire/src/pipewire/thread-loop.c:253
#4  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#5  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 17 (Thread 0x7fffcffff6c0 (LWP 31458) "gdbus"):
#0  0x00007ffff55320bf in __GI___poll (fds=0x555556e69d80, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e36e2f in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x555556e69d80, timeout=<optimized out>, context=0x555556e68c00) at ../glib/glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x555556e68c00, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4233
#3  0x00007ffff6ddfd7f in g_main_loop_run (loop=0x555556e68cf0) at ../glib/glib/gmain.c:4438
#4  0x00007ffff4b7b23c in gdbus_shared_thread_func (user_data=0x555556e68bd0) at ../glib/gio/gdbusprivate.c:284
#5  0x00007ffff6e0dc55 in g_thread_proxy (data=0x555556e64a40) at ../glib/glib/gthread.c:831
#6  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#7  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 16 (Thread 0x7fffceffd6c0 (LWP 31457) "gmain"):
#0  0x00007ffff55320bf in __GI___poll (fds=0x555556e605b0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e36e2f in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x555556e605b0, timeout=<optimized out>, context=0x555556e5e5c0) at ../glib/glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x555556e5e5c0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4233
#3  0x00007ffff6ddf0d2 in g_main_context_iteration (context=0x555556e5e5c0, may_block=may_block@entry=1) at ../glib/glib/gmain.c:4303
#4  0x00007ffff6ddf122 in glib_worker_main (data=<optimized out>) at ../glib/glib/gmain.c:6414
#5  0x00007ffff6e0dc55 in g_thread_proxy (data=0x555556e46800) at ../glib/glib/gthread.c:831
#6  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#7  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7fffe98f86c0 (LWP 31450) "DeviceList"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff6e30b15 in g_cond_wait (cond=0x55555676f4d8, mutex=0x55555676f4e8) at ../glib/glib/gthread-posix.c:1590
#2  0x00007ffff756e7cc in ARDOUR::AudioEngine::do_devicelist_update() (this=0x55555676eb20) at ../libs/ardour/audioengine.cc:750
#3  0x00007ffff704211a in boost::function0<void>::operator()() const (this=0x555556756c68) at /usr/include/boost/function/function_template.hpp:763
#4  PBD::Thread::_run(void*) (arg=0x555556756c40) at ../libs/pbd/pthread_utils.cc:486
#5  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#6  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7fffea1f66c0 (LWP 31449) "EngineWatchdog"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff6e30b15 in g_cond_wait (cond=0x55555676f4a8, mutex=0x55555676f4b8) at ../glib/glib/gthread-posix.c:1590
#2  0x00007ffff756fb51 in ARDOUR::AudioEngine::do_reset_backend() (this=0x55555676eb20) at ../libs/ardour/audioengine.cc:714
#3  0x00007ffff704211a in boost::function0<void>::operator()() const (this=0x555556757208) at /usr/include/boost/function/function_template.hpp:763
#4  PBD::Thread::_run(void*) (arg=0x5555567571e0) at ../libs/pbd/pthread_utils.cc:486
#5  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#6  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7fffeaffd6c0 (LWP 31447) "Analyzer"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff6e30b15 in g_cond_wait (cond=0x7ffff7dad400 <ARDOUR::Analyser::SourcesToAnalyse>, mutex=0x7ffff7dad3f8 <ARDOUR::Analyser::analysis_queue_lock>) at ../glib/glib/gthread-posix.c:1590
#2  0x00007ffff754e049 in ARDOUR::Analyser::work() () at ../libs/ardour/analyser.cc:95
#3  0x00007ffff704211a in boost::function0<void>::operator()() const (this=0x555556715978) at /usr/include/boost/function/function_template.hpp:763
#4  PBD::Thread::_run(void*) (arg=0x555556715950) at ../libs/pbd/pthread_utils.cc:486
#5  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#6  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7fffeb7fe6c0 (LWP 31446) "PeakFileBuilder"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff6e30b15 in g_cond_wait (cond=0x7ffff7daf8e0 <ARDOUR::SourceFactory::PeaksToBuild>, mutex=0x7ffff7daf8f8 <ARDOUR::SourceFactory::peak_building_lock>) at ../glib/glib/gthread-posix.c:1590
#2  0x00007ffff7a1351c in peak_thread_work() () at ../libs/ardour/source_factory.cc:75
#3  0x00007ffff704211a in boost::function0<void>::operator()() const (this=0x555556714ed8) at /usr/include/boost/function/function_template.hpp:763
#4  PBD::Thread::_run(void*) (arg=0x555556714eb0) at ../libs/pbd/pthread_utils.cc:486
#5  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#6  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7fffebfff6c0 (LWP 31445) "PeakFileBuilder"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff6e30b15 in g_cond_wait (cond=0x7ffff7daf8e0 <ARDOUR::SourceFactory::PeaksToBuild>, mutex=0x7ffff7daf8f8 <ARDOUR::SourceFactory::peak_building_lock>) at ../glib/glib/gthread-posix.c:1590
#2  0x00007ffff7a1351c in peak_thread_work() () at ../libs/ardour/source_factory.cc:75
#3  0x00007ffff704211a in boost::function0<void>::operator()() const (this=0x555556716278) at /usr/include/boost/function/function_template.hpp:763
#4  PBD::Thread::_run(void*) (arg=0x555556716250) at ../libs/pbd/pthread_utils.cc:486
#5  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#6  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7ffff08f66c0 (LWP 31444) "LXVSTEventLoop"):
#0  0x00007ffff55047c5 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=req@entry=0x7ffff08f59b0, rem=rem@entry=0x7ffff08f59a0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
#1  0x00007ffff55092d7 in __GI___nanosleep (req=req@entry=0x7ffff08f59b0, rem=rem@entry=0x7ffff08f59a0) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2  0x00007ffff6e0b391 in g_usleep (microseconds=<optimized out>) at ../glib/glib/gtimer.c:279
#3  0x00005555561b6347 in gui_event_loop(void*) (ptr=<optimized out>) at ../gtk2_ardour/linux_vst_gui_support.cc:468
#4  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#5  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7ffff0de16c0 (LWP 31443) "Trigger Worker"):
#0  0x00007ffff55320bf in __GI___poll (fds=fds@entry=0x7ffff0de0ad0, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff702e80d in poll (__timeout=-1, __nfds=1, __fds=0x7ffff0de0ad0) at /usr/include/bits/poll2.h:39
#2  CrossThreadChannel::poll_for_request() (this=<optimized out>) at ../libs/pbd/crossthread.posix.cc:108
#3  0x00007ffff702e893 in CrossThreadChannel::receive(char&, bool) (this=this@entry=0x555556638888, msg=@0x7ffff0de0b47: 0 '\000', wait=wait@entry=true) at ../libs/pbd/crossthread.posix.cc:133
#4  0x00007ffff7a51bf2 in ARDOUR::TriggerBoxThread::thread_work() (this=0x555556638860) at ../libs/ardour/triggerbox.cc:4783
#5  0x00007ffff704206a in fake_thread_start(void*) (arg=0x5555566452b0) at ../libs/pbd/pthread_utils.cc:101
#6  0x00007ffff54bd8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#7  0x00007ffff553fa60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7ffff1039a40 (LWP 31379) "ArdourGUI"):
#0  0x00007ffff55320bf in __GI___poll (fds=0x555556ada700, nfds=3, timeout=11) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff6e36e2f in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x555556ada700, timeout=<optimized out>, context=0x5555570404a0) at ../glib/glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x5555570404a0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4233
#3  0x00007ffff6ddfd7f in g_main_loop_run (loop=0x555556c98b30) at ../glib/glib/gmain.c:4438
#4  0x00007ffff69339fe in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#5  0x00007ffff70d2cf9 in Gtkmm2ext::UI::run(Receiver&) (this=this@entry=0x555556d3a4e0, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:309
#6  0x00005555559d00f6 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ../gtk2_ardour/main.cc:456

backtrace-ace.txt (35,249 bytes)   

x42

2022-10-21 09:57

administrator   ~0026663

Reproduced with a debug build:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
0000001  0x00007ffff37f9537 in __GI_abort () at abort.c:79
#2  0x00007ffff37f940f in __assert_fail_base
    (fmt=0x7ffff39716a8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7ffff6ce0c85 "cnt > 0", file=0x7ffff6ce07b0 "../libs/ardour/plugin_insert.cc", line=1382, function=<optimized out>) at assert.c:92
#3  0x00007ffff3808662 in __GI___assert_fail
    (assertion=0x7ffff6ce0c85 "cnt > 0", file=0x7ffff6ce07b0 "../libs/ardour/plugin_insert.cc", line=1382, function=0x7ffff6ce0c00 "void ARDOUR::PluginInsert::automate_and_run(ARDOUR::BufferSet&, ARDOUR::samplepos_t, ARDOUR::samplepos_t, double, ARDOUR::pframes_t)") at assert.c:101
0000004  0x00007ffff772d97b in ARDOUR::PluginInsert::automate_and_run(ARDOUR::BufferSet&, long, long, double, unsigned int) (this=
    0x55555b5304d0, bufs=..., start=113642, end=113664, speed=1, nframes=22) at ../libs/ardour/plugin_insert.cc:1382
0000005  0x00007ffff772d4f8 in ARDOUR::PluginInsert::run(ARDOUR::BufferSet&, long, long, double, unsigned int, bool)
    (this=0x55555b5304d0, bufs=..., start_sample=112640, end_sample=113664, speed=1, nframes=1024) at ../libs/ardour/plugin_insert.cc:1326
#6  0x00007ffff780bc81 in ARDOUR::Route::process_output_buffers(ARDOUR::BufferSet&, long, long, unsigned int, bool, bool) (this=
    0x55555b515230, bufs=..., start_sample=112640, end_sample=113664, nframes=1024, gain_automation_ok=true, run_disk_reader=true) at ../libs/ardour/route.cc:543
#7  0x00007ffff780cdac in ARDOUR::Route::run_route(long, long, unsigned int, bool, bool)
    (this=0x55555b515230, start_sample=112640, end_sample=113664, nframes=1024, gain_automation_ok=true, run_disk_reader=true) at ../libs/ardour/route.cc:734
0000008  0x00007ffff782165e in ARDOUR::Route::roll(unsigned int, long, long, bool&) (this=0x55555b515230, nframes=1024, start_sample=112640, end_sample=113664, need_butler=@0x7fffc47f694f: false)
    at ../libs/ardour/route.cc:4007
0000009  0x00007ffff7311edb in ARDOUR::Graph::process_one_route(ARDOUR::Route*) (this=0x555559e4e580, route=0x55555b515230) at ../libs/ardour/graph.cc:544

(gdb) frame 4
4  0x00007ffff772d97b in ARDOUR::PluginInsert::automate_and_run (this=0x55555b5304d0, bufs=..., start=113642, end=113664, speed=1, nframes=22) at ../libs/ardour/plugin_insert.cc:1382
1382			assert (cnt > 0);
(gdb) p start
$1 = 113642
(gdb) p next_event.when
$2 = {<int62_t> = {v = {<std::__atomic_base<long>> = {_M_i = 4611686018427401238}, <No data fields>}}, <No data fields>}
(gdb) p cnt
$3 = 0
(gdb) p next_event
$4 = {when = {<int62_t> = {v = {<std::__atomic_base<long>> = {_M_i = 4611686018427401238}, <No data fields>}}, <No data fields>}, value = 0, coeff = 0x0}

x42

2022-10-21 10:28

administrator   ~0026664

Further notes: The automation here in using Music-time (for a MIDI region)

<events>
b13334 20000
b13649 4197.08447265625
b55875 20000
</events>

start: 112640 next_event.when: b13334 -> dist a5892029@a662323200 in dist.samples: 1002
start: 113642 next_event.when: b13334 -> dist a269@a668214960 dist.samples: 0

Due to reduced time resolution of music-time, find_next_event() returns the same event again, resulting in an endless loop
A similar issue as 2de84c97d0a2ab

x42

2022-10-21 10:41

administrator   ~0026665

Fixed in Ardour 7.0-64-g6a55146fdc

Issue History

Date Modified Username Field Change
2022-10-21 06:52 flirora New Issue
2022-10-21 06:52 flirora Tag Attached: 7.0
2022-10-21 06:52 flirora Tag Attached: ACEplugins
2022-10-21 06:52 flirora Tag Attached: hangs
2022-10-21 06:52 flirora File Added: backtrace-ace.txt
2022-10-21 06:52 flirora File Added: test2_2022-10-21_024910.ardour-session-archive
2022-10-21 09:57 x42 Note Added: 0026663
2022-10-21 10:28 x42 Note Added: 0026664
2022-10-21 10:41 x42 Assigned To => x42
2022-10-21 10:41 x42 Status new => resolved
2022-10-21 10:41 x42 Resolution open => fixed
2022-10-21 10:41 x42 Note Added: 0026665