View Issue Details

IDCategoryLast Update
0008681bugs2021-06-26 13:33
ReporterMark RichardAssigned To 
Reproducibilityrandom 
Status newResolutionopen 
PlatformUbuntuOSLinuxOS Version(any)
Product Version6.6 
Fixed in Version 
Summary0008681: Random frequent crashes when using PulseAudio
DescriptionA few months ago, I started using PulseAudio as the backend option in Ardour on my system, since it allows me to do some other audio work outside Ardour while editing. Since then, I get frequent crashes (about once every 10-15 minutes). The crash just freezes everything for a half second then closes the editing window, sometimes resulting in lost work if I forgot to save. Prior to this, when using ALSA (and not being able to use any audio outside Ardour) I had never had these same crashes that I can remember.

These crashes seem to be mitigated a bit if I save after every edit made, but that didn't work this most recent time and the crashes came more frequently. After switching back to ALSA backend to complete the most recent edit, I didn't get any crashes (although it was only about 10 more minutes of work.) I attached the information received by following the "gdb" debugging options found on the Ardour website, and searching through that and seeing "pulseaudio" in a lot of places led me to believe that might be the culprit.

For the record, I only use Ardour to do relatively basic editing of podcasts. I have 2-3 tracks between 1 hour and 2 hours long. I mute sections, do some splitting/moving around, and that's about it.
TagsNo tags attached.

Activities

Mark Richard

2021-04-28 14:49

reporter  

gdb_ardour-6-6-0-crashoutput.txt (28,663 bytes)
mark@markdesktop:~$ /opt/Ardour-6.6.0/bin/ardour6 --gdb
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/Ardour-6.6.0/bin/ardour-6.6.0...
(No debugging symbols found in /opt/Ardour-6.6.0/bin/ardour-6.6.0)
(gdb) handle SIG32 noprint nostop
Signal        Stop	Print	Pass to program	Description
SIG32         No	No	Yes		Real-time event 32
(gdb) run
Starting program: /opt/Ardour-6.6.0/bin/ardour-6.6.0 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Ardour6.6.0 (built using 6.6 and GCC version 6.3.0 20170516)
Ardour: [INFO]: Your system is configured to limit Ardour to 1048576 open files
Ardour: [INFO]: Loading system configuration file /opt/Ardour-6.6.0/etc/system_config
Ardour: [INFO]: Loading user configuration file /home/mark/.config/ardour6/config
[New Thread 0x7fffe960e700 (LWP 102348)]
Ardour: [INFO]: CPU vendor: GenuineIntel
Ardour: [INFO]: AVX-capable processor
Ardour: [INFO]: AVX with FMA capable processor
Ardour: [INFO]: CPU brand: Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
Ardour: [INFO]: Using AVX and FMA optimized routines
[New Thread 0x7fffe8e0d700 (LWP 102349)]
[New Thread 0x7fffe3fff700 (LWP 102350)]
[New Thread 0x7fffe37fe700 (LWP 102351)]
Ardour: [INFO]: Loading plugin meta data file /opt/Ardour-6.6.0/share/plugin_metadata/plugin_tags
[New Thread 0x7fffe2db1700 (LWP 102352)]
[Thread 0x7fffe2db1700 (LWP 102352) exited]
[New Thread 0x7fffe2db1700 (LWP 102353)]
[New Thread 0x7fffd3de6700 (LWP 102354)]
[New Thread 0x7fffd258a700 (LWP 102355)]
Cannot xinstall SIGPIPE error handler
Ardour: [INFO]: Loading default ui configuration file /opt/Ardour-6.6.0/etc/default_ui_config
Ardour: [INFO]: Loading user ui configuration file /home/mark/.config/ardour6/ui_config
Ardour: [INFO]: Loading 451 MIDI patches from /opt/Ardour-6.6.0/share/patchfiles
Ardour: [INFO]: Loading color file /opt/Ardour-6.6.0/share/themes/dark-ardour.colors
Ardour: [INFO]: Loading color file /home/mark/.config/ardour6/my-dark-ardour.colors
Ardour: [INFO]: Loading ui configuration file /opt/Ardour-6.6.0/etc/clearlooks.rc
Ardour: [INFO]: Loading bindings from /home/mark/.config/ardour6/ardour.keys
Loading ui configuration file /opt/Ardour-6.6.0/etc/clearlooks.rc
[New Thread 0x7fffd1a4c700 (LWP 102356)]
[New Thread 0x7fffd19cb700 (LWP 102357)]
[Thread 0x7fffd19cb700 (LWP 102357) exited]
[New Thread 0x7fffd19cb700 (LWP 102358)]
[New Thread 0x7fffd102b700 (LWP 102359)]
[New Thread 0x7fffd082a700 (LWP 102360)]
[New Thread 0x7fffb3fff700 (LWP 102361)]
[New Thread 0x7fffb37fe700 (LWP 102362)]
[New Thread 0x7fffaaffd700 (LWP 102363)]
[New Thread 0x7fffb2ffd700 (LWP 102364)]
[Thread 0x7fffb3fff700 (LWP 102361) exited]
[Thread 0x7fffd102b700 (LWP 102359) exited]
[Thread 0x7fffb2ffd700 (LWP 102364) exited]
[Thread 0x7fffaaffd700 (LWP 102363) exited]
[Thread 0x7fffb37fe700 (LWP 102362) exited]
[Thread 0x7fffd258a700 (LWP 102355) exited]
[Thread 0x7fffd1a4c700 (LWP 102356) exited]
[Thread 0x7fffd082a700 (LWP 102360) exited]
[New Thread 0x7fffd082a700 (LWP 102377)]
[New Thread 0x7fffb37fe700 (LWP 102378)]
[Thread 0x7fffd082a700 (LWP 102377) exited]
[New Thread 0x7fffd082a700 (LWP 102381)]
[New Thread 0x7fffd102a900 (LWP 102382)]
[New Thread 0x7fffd1006900 (LWP 102383)]
[Thread 0x7fffd102a900 (LWP 102382) exited]
Scanning folders for bundled LV2s: /opt/Ardour-6.6.0/lib/LV2
[New Thread 0x7fffb2ffd700 (LWP 102384)]
[New Thread 0x7fffaaffd700 (LWP 102385)]
[Detaching after vfork from child process 102386]
[New Thread 0x7fffb3fff700 (LWP 102387)]
[Thread 0x7fffb3fff700 (LWP 102387) exited]
[Thread 0x7fffaaffd700 (LWP 102385) exited]
[Thread 0x7fffb37fe700 (LWP 102378) exited]
[Detaching after vfork from child process 102388]
[New Thread 0x7fffb3fff700 (LWP 102389)]
[Thread 0x7fffb3fff700 (LWP 102389) exited]
Set cursor set to default
 loading from /home/mark/Dropbox/Comical_Start/Episode145/Edit145 as Edit145 templ  is_new 0 bp 0
[New Thread 0x7fffd0fc5900 (LWP 102390)]
[New Thread 0x7fffd0fb9900 (LWP 102391)]
[Thread 0x7fffd0fc5900 (LWP 102390) exited]
[New Thread 0x7fffd0fad900 (LWP 102392)]
[New Thread 0x7fffd0fa1900 (LWP 102393)]
[New Thread 0x7fffd0f95900 (LWP 102394)]
[Thread 0x7fffd0fad900 (LWP 102392) exited]
[New Thread 0x7fffd0f89900 (LWP 102395)]
[New Thread 0x7fffd0f7d900 (LWP 102396)]
[Thread 0x7fffd0f95900 (LWP 102394) exited]
[New Thread 0x7fffd0f59900 (LWP 102397)]
[New Thread 0x7fffd0f35900 (LWP 102398)]
[Thread 0x7fffd0f7d900 (LWP 102396) exited]
[New Thread 0x7fffd0f11900 (LWP 102399)]
[Thread 0x7fffd0f35900 (LWP 102398) exited]
[New Thread 0x7fffd0eed900 (LWP 102400)]
[New Thread 0x7fffd0ec9900 (LWP 102401)]
[Thread 0x7fffd0eed900 (LWP 102400) exited]
[New Thread 0x7fffd0992700 (LWP 102402)]
[New Thread 0x7fffb3fff700 (LWP 102403)]
[New Thread 0x7fffaaffd700 (LWP 102405)]
[New Thread 0x7fffb37fe700 (LWP 102406)]
[New Thread 0x7fffb0dc8700 (LWP 102407)]
[New Thread 0x7fffaa7fc700 (LWP 102408)]
[New Thread 0x7fffa9ffb700 (LWP 102409)]
[New Thread 0x7fffa97fa700 (LWP 102410)]
[Thread 0x7fffb2ffd700 (LWP 102384) exited]
Please call begin_reversible_command() before commit_reversible_command().
free(): invalid pointer
--Type <RET> for more, q to quit, c to continue without paging--

Thread 1 "ArdourGUI" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) thread apply all bt

Thread 47 (Thread 0x7fffa97fa700 (LWP 102410)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff4835e4c in g_cond_wait () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#2  0x00007ffff7b9958c in ArdourWaveView::WaveViewDrawRequestQueue::dequeue(bool) () from /opt/Ardour-6.6.0/lib/libwaveview.so.0
#3  0x00007ffff7b9993c in ArdourWaveView::WaveViewThreads::dequeue_draw_request() () from /opt/Ardour-6.6.0/lib/libwaveview.so.0
#4  0x00007ffff7b9998b in ArdourWaveView::WaveViewDrawingThread::run() () from /opt/Ardour-6.6.0/lib/libwaveview.so.0
#5  0x00007ffff4d7ec4d in ?? () from /opt/Ardour-6.6.0/lib/libglibmm-2.4.so.1
#6  0x00007ffff48141e5 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#7  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 46 (Thread 0x7fffa9ffb700 (LWP 102409)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff4835e4c in g_cond_wait () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#2  0x00007ffff7b9958c in ArdourWaveView::WaveViewDrawRequestQueue::dequeue(bool--Type <RET> for more, q to quit, c to continue without paging--
) () from /opt/Ardour-6.6.0/lib/libwaveview.so.0
#3  0x00007ffff7b9993c in ArdourWaveView::WaveViewThreads::dequeue_draw_request() () from /opt/Ardour-6.6.0/lib/libwaveview.so.0
#4  0x00007ffff7b9998b in ArdourWaveView::WaveViewDrawingThread::run() () from /opt/Ardour-6.6.0/lib/libwaveview.so.0
#5  0x00007ffff4d7ec4d in ?? () from /opt/Ardour-6.6.0/lib/libglibmm-2.4.so.1
#6  0x00007ffff48141e5 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#7  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 45 (Thread 0x7fffaa7fc700 (LWP 102408)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff4835e4c in g_cond_wait () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#2  0x00007ffff7b9958c in ArdourWaveView::WaveViewDrawRequestQueue::dequeue(bool) () from /opt/Ardour-6.6.0/lib/libwaveview.so.0
#3  0x00007ffff7b9993c in ArdourWaveView::WaveViewThreads::dequeue_draw_request() () from /opt/Ardour-6.6.0/lib/libwaveview.so.0
#4  0x00007ffff7b9998b in ArdourWaveView::WaveViewDrawingThread::run() () from /opt/Ardour-6.6.0/lib/libwaveview.so.0
#5  0x00007ffff4d7ec4d in ?? () from /opt/Ardour-6.6.0/lib/libglibmm-2.4.so.1
--Type <RET> for more, q to quit, c to continue without paging--
#6  0x00007ffff48141e5 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#7  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 44 (Thread 0x7fffb0dc8700 (LWP 102407)):
#0  0x00007fffee4c03bf in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffb0dc7cc0, rem=0x7fffb0dc7cd0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
#1  0x00007fffee4c6047 in __GI___nanosleep (requested_time=<optimized out>, remaining=<optimized out>) at nanosleep.c:27
#2  0x00007ffff4815a38 in g_usleep () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#3  0x00007ffff70e7dc0 in ARDOUR::AutomationWatch::thread() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#4  0x00007ffff4d7ec4d in ?? () from /opt/Ardour-6.6.0/lib/libglibmm-2.4.so.1
#5  0x00007ffff48141e5 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#6  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

--Type <RET> for more, q to quit, c to continue without paging--
Thread 43 (Thread 0x7fffb37fe700 (LWP 102406)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555557196550) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555557196500, cond=0x555557196528) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555557196528, mutex=0x555557196500) at pthread_cond_wait.c:647
#3  0x00007ffff751bbc3 in ARDOUR::Session::auto_connect_thread_run() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#4  0x00007ffff751bd98 in ARDOUR::Session::auto_connect_thread(void*) () from /opt/Ardour-6.6.0/lib/libardour.so.3
#5  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 42 (Thread 0x7fffaaffd700 (LWP 102405)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5555571964e0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555557196490, cond=0x5555571964b8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555571964b8, mutex=0x555557196490) at pthread_cond_wait.c:647
--Type <RET> for more, q to quit, c to continue without paging--
#3  0x00007ffff75903f3 in ARDOUR::Session::emit_thread_run() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#4  0x00007ffff7590428 in ARDOUR::Session::emit_thread(void*) () from /opt/Ardour-6.6.0/lib/libardour.so.3
#5  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 41 (Thread 0x7fffb3fff700 (LWP 102403)):
#0  0x00007fffee4f5aff in __GI___poll (fds=0x7fff7c1427f0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff47e4d66 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#2  0x00007ffff47e50f2 in g_main_loop_run () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#3  0x00007ffff5960a28 in BaseUI::main_thread() () from /opt/Ardour-6.6.0/lib/libpbd.so.4
#4  0x00007ffff4d7ec4d in ?? () from /opt/Ardour-6.6.0/lib/libglibmm-2.4.so.1
#5  0x00007ffff48141e5 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#6  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
--Type <RET> for more, q to quit, c to continue without paging--

Thread 40 (Thread 0x7fffd0992700 (LWP 102402)):
#0  0x00007fffee4f5aff in __GI___poll (fds=0x7fffd0991ae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff596ad57 in CrossThreadChannel::poll_for_request() () from /opt/Ardour-6.6.0/lib/libpbd.so.4
#2  0x00007ffff596adb6 in CrossThreadChannel::receive(char&, bool) () from /opt/Ardour-6.6.0/lib/libpbd.so.4
#3  0x00007ffff70f5532 in ARDOUR::Butler::thread_work() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#4  0x00007ffff70f6692 in ARDOUR::Butler::_thread_work(void*) () from /opt/Ardour-6.6.0/lib/libardour.so.3
#5  0x00007ffff5993996 in ?? () from /opt/Ardour-6.6.0/lib/libpbd.so.4
#6  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 39 (Thread 0x7fffd0ec9900 (LWP 102401)):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x5555569f6660) at ../sysdeps/nptl/futex-internal.h:320
#1  do_futex_wait (sem=sem@entry=0x5555569f6660, abstime=0x0, clockid=0) at sem_waitcommon.c:112
--Type <RET> for more, q to quit, c to continue without paging--
#2  0x00007ffff0911548 in __new_sem_wait_slow (sem=0x5555569f6660, abstime=0x0, clockid=0) at sem_waitcommon.c:184
#3  0x00007ffff71c002c in ARDOUR::Graph::run_one() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#4  0x00007ffff71c0348 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#5  0x00007fffd31ad081 in ARDOUR::PulseAudioBackend::pulse_process_thread(void*) () from /opt/Ardour-6.6.0/lib/backends/libpulseaudio_backend.so
#6  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 37 (Thread 0x7fffd0f11900 (LWP 102399)):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x5555569f6688) at ../sysdeps/nptl/futex-internal.h:320
#1  do_futex_wait (sem=sem@entry=0x5555569f6688, abstime=0x0, clockid=0) at sem_waitcommon.c:112
#2  0x00007ffff0911548 in __new_sem_wait_slow (sem=0x5555569f6688, abstime=0x0, clockid=0) at sem_waitcommon.c:184
#3  0x00007ffff71bff46 in ARDOUR::Graph::reached_terminal_node() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#4  0x00007ffff71c0348 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-6.6--Type <RET> for more, q to quit, c to continue without paging--
.0/lib/libardour.so.3
#5  0x00007fffd31ad081 in ARDOUR::PulseAudioBackend::pulse_process_thread(void*) () from /opt/Ardour-6.6.0/lib/backends/libpulseaudio_backend.so
#6  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 35 (Thread 0x7fffd0f59900 (LWP 102397)):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x5555569f6660) at ../sysdeps/nptl/futex-internal.h:320
#1  do_futex_wait (sem=sem@entry=0x5555569f6660, abstime=0x0, clockid=0) at sem_waitcommon.c:112
#2  0x00007ffff0911548 in __new_sem_wait_slow (sem=0x5555569f6660, abstime=0x0, clockid=0) at sem_waitcommon.c:184
#3  0x00007ffff71c002c in ARDOUR::Graph::run_one() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#4  0x00007ffff71c0630 in ARDOUR::Graph::main_thread() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#5  0x00007fffd31ad081 in ARDOUR::PulseAudioBackend::pulse_process_thread(void*) () from /opt/Ardour-6.6.0/lib/backends/libpulseaudio_backend.so
#6  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
--Type <RET> for more, q to quit, c to continue without paging--
#7  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 33 (Thread 0x7fffd0f89900 (LWP 102395)):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x555556ffa0f0) at ../sysdeps/nptl/futex-internal.h:320
#1  do_futex_wait (sem=sem@entry=0x555556ffa0f0, abstime=0x0, clockid=0) at sem_waitcommon.c:112
#2  0x00007ffff0911548 in __new_sem_wait_slow (sem=0x555556ffa0f0, abstime=0x0, clockid=0) at sem_waitcommon.c:184
#3  0x00007ffff7502439 in ARDOUR::RTTaskList::run() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#4  0x00007ffff7502858 in ARDOUR::RTTaskList::_thread_run(void*) () from /opt/Ardour-6.6.0/lib/libardour.so.3
#5  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 31 (Thread 0x7fffd0fa1900 (LWP 102393)):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x555556ffa0f0) at ../sysdeps/nptl/futex-internal.h:320
#1  do_futex_wait (sem=sem@entry=0x555556ffa0f0, abstime=0x0, clockid=0) at sem_--Type <RET> for more, q to quit, c to continue without paging--
waitcommon.c:112
#2  0x00007ffff0911548 in __new_sem_wait_slow (sem=0x555556ffa0f0, abstime=0x0, clockid=0) at sem_waitcommon.c:184
#3  0x00007ffff7502439 in ARDOUR::RTTaskList::run() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#4  0x00007ffff7502858 in ARDOUR::RTTaskList::_thread_run(void*) () from /opt/Ardour-6.6.0/lib/libardour.so.3
#5  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 29 (Thread 0x7fffd0fb9900 (LWP 102391)):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x555556ffa0f0) at ../sysdeps/nptl/futex-internal.h:320
#1  do_futex_wait (sem=sem@entry=0x555556ffa0f0, abstime=0x0, clockid=0) at sem_waitcommon.c:112
#2  0x00007ffff0911548 in __new_sem_wait_slow (sem=0x555556ffa0f0, abstime=0x0, clockid=0) at sem_waitcommon.c:184
#3  0x00007ffff7502439 in ARDOUR::RTTaskList::run() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#4  0x00007ffff7502858 in ARDOUR::RTTaskList::_thread_run(void*) () from /opt/Ardour-6.6.0/lib/libardour.so.3
--Type <RET> for more, q to quit, c to continue without paging--
#5  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 23 (Thread 0x7fffd1006900 (LWP 102383)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5555569ebb18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555557bbb100, cond=0x5555569ebaf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555569ebaf0, mutex=0x555557bbb100) at pthread_cond_wait.c:647
#3  0x00007fffe809b87c in pa_threaded_mainloop_wait () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fffd31abb23 in ARDOUR::PulseAudioBackend::main_process_thread() () from /opt/Ardour-6.6.0/lib/backends/libpulseaudio_backend.so
#5  0x00007fffd31abba9 in ?? () from /opt/Ardour-6.6.0/lib/backends/libpulseaudio_backend.so
#6  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

--Type <RET> for more, q to quit, c to continue without paging--
Thread 21 (Thread 0x7fffd082a700 (LWP 102381)):
#0  0x00007fffee4f5aff in __GI___poll (fds=0x7fffb80012a0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffe809b1d6 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fffe808c841 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fffe808cec3 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fffe808cf70 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fffe809b11d in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fffe007a72c in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#7  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7fffd19cb700 (LWP 102358)):
#0  0x00007fffee4f5aff in __GI___poll (fds=0x555556aa3ce0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff47e4d66 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#2  0x00007ffff47e4e7c in g_main_context_iteration () from /opt/Ardour-6.6.0/lib--Type <RET> for more, q to quit, c to continue without paging--
/libglib-2.0.so.0
#3  0x00007ffff47e4ec1 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#4  0x00007ffff48141e5 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#5  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffd3de6700 (LWP 102354)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff4835e4c in g_cond_wait () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#2  0x00007ffff70a1d83 in ARDOUR::AudioEngine::do_devicelist_update() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#3  0x00007ffff4d7ec4d in ?? () from /opt/Ardour-6.6.0/lib/libglibmm-2.4.so.1
#4  0x00007ffff48141e5 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#5  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffe2db1700 (LWP 102353)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
--Type <RET> for more, q to quit, c to continue without paging--
#1  0x00007ffff4835e4c in g_cond_wait () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#2  0x00007ffff70a3e95 in ARDOUR::AudioEngine::do_reset_backend() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#3  0x00007ffff4d7ec4d in ?? () from /opt/Ardour-6.6.0/lib/libglibmm-2.4.so.1
#4  0x00007ffff48141e5 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#5  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffe37fe700 (LWP 102351)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff4835e4c in g_cond_wait () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#2  0x00007ffff7062ff7 in ARDOUR::Analyser::work() () from /opt/Ardour-6.6.0/lib/libardour.so.3
#3  0x00007ffff4d7ec4d in ?? () from /opt/Ardour-6.6.0/lib/libglibmm-2.4.so.1
#4  0x00007ffff48141e5 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#5  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
--Type <RET> for more, q to quit, c to continue without paging--

Thread 4 (Thread 0x7fffe3fff700 (LWP 102350)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff4835e4c in g_cond_wait () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#2  0x00007ffff76000c7 in ?? () from /opt/Ardour-6.6.0/lib/libardour.so.3
#3  0x00007ffff4d7ec4d in ?? () from /opt/Ardour-6.6.0/lib/libglibmm-2.4.so.1
#4  0x00007ffff48141e5 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#5  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffe8e0d700 (LWP 102349)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff4835e4c in g_cond_wait () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#2  0x00007ffff76000c7 in ?? () from /opt/Ardour-6.6.0/lib/libardour.so.3
#3  0x00007ffff4d7ec4d in ?? () from /opt/Ardour-6.6.0/lib/libglibmm-2.4.so.1
#4  0x00007ffff48141e5 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#5  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:--Type <RET> for more, q to quit, c to continue without paging--
95

Thread 2 (Thread 0x7fffe960e700 (LWP 102348)):
#0  0x00007fffee4c03bf in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffe960db40, rem=0x7fffe960db50) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
#1  0x00007fffee4c6047 in __GI___nanosleep (requested_time=<optimized out>, remaining=<optimized out>) at nanosleep.c:27
#2  0x00007ffff4815a38 in g_usleep () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#3  0x00005555560d028b in ?? ()
#4  0x00007ffff0907609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5  0x00007fffee502293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fffea7b9d40 (LWP 102343)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007fffee405859 in __GI_abort () at abort.c:79
#2  0x00007fffee4703ee in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fffee59a285 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#3  0x00007fffee47847c in malloc_printerr (str=str@entry=0x7fffee5984ae "free(): invalid pointer") at malloc.c:5347
--Type <RET> for more, q to quit, c to continue without paging--
#4  0x00007fffee479cac in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:4173
#5  0x00007ffff7595589 in ARDOUR::Session::commit_reversible_command(Command*) () from /opt/Ardour-6.6.0/lib/libardour.so.3
#6  0x00005555559209b9 in ?? ()
#7  0x00005555559aa264 in ?? ()
#8  0x000055555599938d in ?? ()
#9  0x000055555599b39f in ?? ()
#10 0x000055555599b419 in ?? ()
#11 0x00005555559f6ff4 in ?? ()
#12 0x00007ffff4d8dc88 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () from /opt/Ardour-6.6.0/lib/libglibmm-2.4.so.1
#13 0x00007ffff4af3945 in g_closure_invoke () from /opt/Ardour-6.6.0/lib/libgobject-2.0.so.0
#14 0x00007ffff4b0501b in ?? () from /opt/Ardour-6.6.0/lib/libgobject-2.0.so.0
#15 0x00007ffff4b0ec30 in g_signal_emit_valist () from /opt/Ardour-6.6.0/lib/libgobject-2.0.so.0
#16 0x00007ffff4b0f082 in g_signal_emit () from /opt/Ardour-6.6.0/lib/libgobject-2.0.so.0
#17 0x00007ffff3cc9fb0 in ?? () from /opt/Ardour-6.6.0/lib/libgtk-x11-2.0.so.0
#18 0x00007ffff3cca22c in gtk_action_activate () from /opt/Ardour-6.6.0/lib/libgtk-x11-2.0.so.0
#19 0x00007ffff5c18458 in Gtkmm2ext::Bindings::activate(Gtkmm2ext::KeyboardKey, --Type <RET> for more, q to quit, c to continue without paging--
Gtkmm2ext::Bindings::Operation) () from /opt/Ardour-6.6.0/lib/libgtkmm2ext.so.0
#20 0x00005555558603ef in ?? ()
#21 0x000055555586082d in ?? ()
#22 0x00007ffff1fbfa3b in ?? () from /opt/Ardour-6.6.0/lib/libgtkmm-2.4.so.1
#23 0x00007ffff3dd7cac in ?? () from /opt/Ardour-6.6.0/lib/libgtk-x11-2.0.so.0
#24 0x00007ffff4af3945 in g_closure_invoke () from /opt/Ardour-6.6.0/lib/libgobject-2.0.so.0
#25 0x00007ffff4b04bf2 in ?? () from /opt/Ardour-6.6.0/lib/libgobject-2.0.so.0
#26 0x00007ffff4b0e69b in g_signal_emit_valist () from /opt/Ardour-6.6.0/lib/libgobject-2.0.so.0
#27 0x00007ffff4b0f082 in g_signal_emit () from /opt/Ardour-6.6.0/lib/libgobject-2.0.so.0
#28 0x00007ffff3f5c64c in ?? () from /opt/Ardour-6.6.0/lib/libgtk-x11-2.0.so.0
#29 0x00007ffff3dd638f in gtk_propagate_event () from /opt/Ardour-6.6.0/lib/libgtk-x11-2.0.so.0
#30 0x00007ffff3dd6723 in gtk_main_do_event () from /opt/Ardour-6.6.0/lib/libgtk-x11-2.0.so.0
#31 0x00007ffff39f2b4c in ?? () from /opt/Ardour-6.6.0/lib/libgdk-x11-2.0.so.0
#32 0x00007ffff47e4b67 in g_main_context_dispatch () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#33 0x00007ffff47e4dd0 in ?? () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
#34 0x00007ffff47e50f2 in g_main_loop_run () from /opt/Ardour-6.6.0/lib/libglib-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#35 0x00007ffff3dd53e7 in gtk_main () from /opt/Ardour-6.6.0/lib/libgtk-x11-2.0.so.0
#36 0x00007ffff5c2fa45 in Gtkmm2ext::UI::run(Receiver&) () from /opt/Ardour-6.6.0/lib/libgtkmm2ext.so.0
#37 0x00005555557c44db in ?? ()
#38 0x00007fffee4070b3 in __libc_start_main (main=0x5555557c40e0, argc=1, argv=0x7fffffffd138, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd128) at ../csu/libc-start.c:308
#39 0x00005555557cac2a in ?? ()
(gdb) 

x42

2021-04-28 15:10

administrator   ~0025776

This is unrelated to the backend.

It looks like a known bug where ardour fails to create an undo-action when two things happen at the same time.
e.g. you press the mouse to initiate an action, while also pressing some keyboard-shortcut at the same time.

The crash-reports shows keyboard-shorcut -> ... -> try save undo -> crash -- but it is from an optimized builds so the details as to why or where this happens are lost.

Mark Richard

2021-04-28 21:53

reporter   ~0025778

Ah interesting. So is the "solution" for now to just be careful with how I'm editing? I do have a lot of quick single-key keyboard shortcuts I use while also mousing around a lot.

x42

2021-04-28 23:45

administrator   ~0025779

perhaps. yes.

The "classic crash" was to start a region-drag and then press "s" - split while dragging some region. That one has been special-cased.
It might be useful if you could catch this crash with a debug-build, or maybe even narrow down and provide a recipe.

Mark Richard

2021-04-29 15:57

reporter   ~0025780

I'm happy to give it a shot if you can guide me to how to get/run a debug build.

Bruno Unna

2021-06-26 13:33

reporter   ~0026009

Hi.

I've experienced this problem for a long time, but recently (I think that starting with 6.7) the frequency of it happening has increased substantially, almost to the point of rendering Ardour useless. However, I never thought of associating it with PulseAudio. Will try disabling it.

In my system Ardour crashes dumping a core, which I would attach here if it was not so large (1.6 GB). I can, however, paste the info about the file.

ardour.core.info (5,827 bytes)

Issue History

Date Modified Username Field Change
2021-04-28 14:49 Mark Richard New Issue
2021-04-28 14:49 Mark Richard File Added: gdb_ardour-6-6-0-crashoutput.txt
2021-04-28 15:10 x42 Note Added: 0025776
2021-04-28 21:53 Mark Richard Note Added: 0025778
2021-04-28 23:45 x42 Note Added: 0025779
2021-04-29 15:57 Mark Richard Note Added: 0025780
2021-06-26 13:33 Bruno Unna File Added: ardour.core.info
2021-06-26 13:33 Bruno Unna Note Added: 0026009