View Issue Details

IDProjectCategoryView StatusLast Update
0009448ardourbugspublic2024-05-24 05:54
Reporterccaudle Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformRedhatOSLinuxOS Version(any)
Product Version7.5 
Summary0009448: crash when attempting to create new session
DescriptionI was attempting to create a session to duplicate a situation questioned in a forum post.
I used qjackctl to start jackd (1.9.22) on a Focusrite interface running at 192k sample rate, 1024/3 buffer size.
I started Ardour 7.5 (ardour.org build) and picked the project directory, selected the default recording template, picked JACK backend from the audio setup dialog, and clicked the OK.
The Ardour editor view was displayed, but then crashed before creating the session file. The project directory structure was created, but the initial session file was not saved.

I restarted from CLI and these messages were displayed after the usual messages about audio device or resource is busy while waiting for me to select jack backend:
BDB1539 Build signature doesn't match environment
Cannot open DB environment: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
BDB1539 Build signature doesn't match environment
Cannot open DB environment: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
BDB1539 Build signature doesn't match environment
BDB1539 Build signature doesn't match environment
BDB1539 Build signature doesn't match environment
Set cursor set to default
BDB1539 Build signature doesn't match environment
BDB1539 Build signature doesn't match environment
[...many repetitions...]
DB1539 Build signature doesn't match environment
BDB0594 database environment not yet opened
BDB1572 replication requires transaction support
BDB1539 Build signature doesn't match environment
Segmentation fault (core dumped)

Even though it prints "core dumped" I do not see a file with "core" in the name, so not sure if that message was accurate.
Additional InformationWill attempt to dupliate in gdb later, just wanted to get this information in while it was still fresh, in case the messages about build signature indicate something semi-obvious.
TagsNo tags attached.

Activities

ccaudle

2023-09-16 18:46

reporter   ~0028059

did not crash when using the ALSA backend

ccaudle

2023-09-16 18:53

reporter   ~0028060

After starting with the ALSA backend and verifying that record and playback worked correctly, I stopped the audio backend, re-started jackd, and selected JACK as the audio backend. Ardour crashed again either while starting or just after starting the JACK backend.

ccaudle

2023-09-16 21:05

reporter   ~0028061

Attached backtrace from 7.5 (ardour.org build).
Will next attempt to get backtrace from recent non-stripped local build.
ardour_7.5_backtrace.txt (29,133 bytes)   
(gdb) thread apply all bt

Thread 63 (Thread 0x7fff8719b6c0 (LWP 79719) "midiUI"):
#0  0x00007ffff552735d in __GI___poll (fds=0x7fff80002490, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff2a56c76 in ?? () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#2  0x00007ffff2a57002 in g_main_loop_run () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#3  0x00007ffff422e043 in BaseUI::main_thread() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#4  0x00007ffff4266226 in PBD::Thread::_run(void*) () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 62 (Thread 0x7ffff21ff6c0 (LWP 79718) "butler"):
#0  0x00007ffff59e4f19 in Jack::JackMetadata::GetProperty(unsigned long, char const*, char**, char**) () from /lib64/libjack.so.0
#1  0x00007fffbc427dbb in ARDOUR::JACKAudioBackend::get_port_property(std::shared_ptr<ARDOUR::ProtoPort> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) const () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#2  0x00007ffff6da5513 in ARDOUR::PortManager::get_hardware_port_name_by_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007fffbdc3806e in ?? () from /opt/Ardour-7.5.0/lib/surfaces/libardour_push2.so
#4  0x00007fffbdc381c2 in ?? () from /opt/Ardour-7.5.0/lib/surfaces/libardour_push2.so
#5  0x00007fffbdc38dfe in ArdourSurface::Push2::probe(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) () from /opt/Ardour-7.5.0/lib/surfaces/libardour_push2.so
#6  0x00007fffbdc5a6c9 in ?? () from /opt/Ardour-7.5.0/lib/surfaces/libardour_push2.so
#7  0x00007ffff6b0361b in ARDOUR::ControlProtocolManager::probe_midi_control_protocols() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#8  0x00007ffff6aeecd1 in ARDOUR::Butler::process_delegated_work() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#9  0x00007ffff6af0730 in ARDOUR::Butler::thread_work() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#10 0x00007ffff6af1182 in ARDOUR::Butler::_thread_work(void*) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#11 0x00007ffff42659f6 in ?? () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#12 0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 61 (Thread 0x7ffff257e6c0 (LWP 79717) "RT-10-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff426a39a in PBD::Semaphore::wait() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff6bd5a0d in ARDOUR::Graph::run_one() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff6bd5c40 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#4  0x00007fffbc41ec61 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 60 (Thread 0x7ffff25ff6c0 (LWP 79716) "RT-9-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff426a39a in PBD::Semaphore::wait() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff6bd5a0d in ARDOUR::Graph::run_one() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff6bd5c40 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#4  0x00007fffbc41ec61 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 59 (Thread 0x7ffff2dff6c0 (LWP 79715) "RT-8-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff426a39a in PBD::Semaphore::wait() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff6bd5a0d in ARDOUR::Graph::run_one() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff6bd5c40 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#4  0x00007fffbc41ec61 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 58 (Thread 0x7ffff30fd6c0 (LWP 79714) "RT-7-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff426a39a in PBD::Semaphore::wait() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff6bd5a0d in ARDOUR::Graph::run_one() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff6bd5c40 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#4  0x00007fffbc41ec61 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/Ardour-7.5.0/lib-/backends/libjack_audiobackend.so
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 57 (Thread 0x7ffff317e6c0 (LWP 79713) "RT-6-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff426a39a in PBD::Semaphore::wait() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff6bd5a0d in ARDOUR::Graph::run_one() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff6bd5c40 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#4  0x00007fffbc41ec61 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 56 (Thread 0x7ffff31ff6c0 (LWP 79712) "RT-5-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff426a39a in PBD::Semaphore::wait() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff6bd5a0d in ARDOUR::Graph::run_one() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff6bd5c40 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#4  0x00007fffbc41ec61 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 55 (Thread 0x7ffff357e6c0 (LWP 79711) "RT-4-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff426a39a in PBD::Semaphore::wait() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff6bd5a0d in ARDOUR::Graph::run_one() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff6bd5c40 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#4  0x00007fffbc41ec61 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 54 (Thread 0x7ffff35ff6c0 (LWP 79710) "RT-3-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff426a39a in PBD::Semaphore::wait() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff6bd5a0d in ARDOUR::Graph::run_one() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff6bd5c40 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#4  0x00007fffbc41ec61 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 53 (Thread 0x7ffff397e6c0 (LWP 79709) "RT-2-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff426a39a in PBD::Semaphore::wait() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff6bd5a0d in ARDOUR::Graph::run_one() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff6bd5c40 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#4  0x00007fffbc41ec61 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 52 (Thread 0x7ffff39ff6c0 (LWP 79708) "RT-1-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff426a39a in PBD::Semaphore::wait() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff6bd5a0d in ARDOUR::Graph::run_one() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff6bd5c40 in ARDOUR::Graph::helper_thread() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#4  0x00007fffbc41ec61 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 51 (Thread 0x7ffff3d0d6c0 (LWP 79707) "RT-main-(nil)"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff426a39a in PBD::Semaphore::wait() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff6bd5e00 in ARDOUR::Graph::main_thread() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007fffbc41ec61 in ARDOUR::JACKAudioBackend::_start_process_thread(void*) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#4  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#5  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 49 (Thread 0x7fff861996c0 (LWP 79705) "pool"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff2aaa594 in g_cond_wait_until () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#2  0x00007ffff2a203eb in g_async_queue_timeout_pop () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#3  0x00007ffff2a87cd4 in ?? () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#4  0x00007ffff2a874a5 in ?? () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 43 (Thread 0x7ffff3dff6c0 (LWP 79665) "AudioEngine 1"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff59e1dbc in Jack::JackLinuxFutex::Wait() () from /lib64/libjack.so.0
#2  0x00007ffff59c31cb in Jack::JackConnectionManager::SuspendRefNum(Jack::JackClientControl*, Jack::JackLinuxFutex*, Jack::JackClientTiming*, long) () from /lib64/libjack.so.0
#3  0x00007ffff59c1034 in Jack::JackClient::CycleWait() () from /lib64/libjack.so.0
#4  0x00007fffbc41e600 in ARDOUR::JACKAudioBackend::process_thread() () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#5  0x00007ffff59c14f5 in non-virtual thunk to Jack::JackClient::Execute() () from /lib64/libjack.so.0
#6  0x00007ffff59dfe91 in Jack::JackPosixThread::ThreadHandler(void*) () from /lib64/libjack.so.0
#7  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#8  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 42 (Thread 0x7ffff411e6c0 (LWP 79664) "ArdourGUI"):
#0  0x00007ffff5522eb5 in __libc_open64 (file=0x7fffae8cda00 "/dev/shm/jack_db-1000/__db.001", oflag=2) at ../sysdeps/unix/sysv/linux/open64.c:41
#1  0x00007ffff29a4792 in __os_openhandle () from /lib64/libdb-5.3.so
#2  0x00007ffff29a498d in __os_open () from /lib64/libdb-5.3.so
#3  0x00007ffff29a4c31 in __os_attach () from /lib64/libdb-5.3.so
#4  0x00007ffff2975aeb in __env_sys_attach.lto_priv.0 () from /lib64/libdb-5.3.so
#5  0x00007ffff2972f13 in __env_attach () from /lib64/libdb-5.3.so
#6  0x00007ffff29746a8 in __env_attach_regions () from /lib64/libdb-5.3.so
#7  0x00007ffff2974d7c in __env_open () from /lib64/libdb-5.3.so
#8  0x00007ffff59e48fd in Jack::JackMetadata::PropertyInit() () from /lib64/libjack.so.0
#9  0x00007ffff59e4ec1 in Jack::JackMetadata::GetProperty(unsigned long, char const*, char**, char**) () from /lib64/libjack.so.0
#10 0x00007fffbc427dbb in ARDOUR::JACKAudioBackend::get_port_property(std::shared_ptr<ARDOUR::ProtoPort> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) const () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#11 0x00007ffff6da5029 in ARDOUR::PortManager::get_pretty_name_by_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const () from /opt/Ardour-7.5.0/lib/libardour.so.3
#12 0x00007ffff6e916b2 in ARDOUR::Session::setup_bundles() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#13 0x00007ffff6e483d0 in ARDOUR::Session::port_registry_changed() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#14 0x00005555558ee44c in PBD::Signal0<void, PBD::OptionalLastValue<void> >::operator()() ()
#15 0x00007fffbc42b809 in ARDOUR::JACKAudioBackend::_registration_callback(unsigned int, int, void*) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#16 0x00007ffff59c0d36 in Jack::JackClient::ClientNotify(int, char const*, int, int, char const*, int, int) () from /lib64/libjack.so.0
#17 0x00007ffff59e6156 in Jack::JackSocketClientChannel::Execute() () from /lib64/libjack.so.0
#18 0x00007ffff59dfe91 in Jack::JackPosixThread::ThreadHandler(void*) () from /lib64/libjack.so.0
#19 0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#20 0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 41 (Thread 0x7ffff419f6c0 (LWP 79663) "ArdourGUI"):
#0  0x00007ffff54ab219 in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555557596ba8) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x555557596ba8, 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  0x00007ffff54ab29f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x555557596ba8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007ffff54adbb9 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=<optimized out>, cond=0x555557596b80) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x555557596b80, mutex=<optimized out>) at pthread_cond_wait.c:618
#5  0x00007ffff59e09d5 in Jack::JackPosixProcessSync::Wait() () from /lib64/libjack.so.0
#6  0x00007ffff59d496d in Jack::JackMessageBuffer::Execute() () from /lib64/libjack.so.0
#7  0x00007ffff59dfe91 in Jack::JackPosixThread::ThreadHandler(void*) () from /lib64/libjack.so.0
#8  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 24 (Thread 0x7fff97fff6c0 (LWP 79633) "gmain"):
#0  0x00007ffff552735d in __GI___poll (fds=0x555556dcfe00, nfds=2, timeout=5370) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff2a56c76 in ?? () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#2  0x00007ffff2a56d8c in g_main_context_iteration () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#3  0x00007ffff2a56dd1 in ?? () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#4  0x00007ffff2a874a5 in ?? () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#5  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7fffb7fff6c0 (LWP 79604) "DeviceList"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff2aaa47f in g_cond_wait () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#2  0x00007ffff6a98f3b in ARDOUR::AudioEngine::do_devicelist_update() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff4266226 in PBD::Thread::_run(void*) () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#4  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#5  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7fffbe7ff6c0 (LWP 79603) "EngineWatchdog"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff2aaa47f in g_cond_wait () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#2  0x00007ffff6a9b46d in ARDOUR::AudioEngine::do_reset_backend() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff4266226 in PBD::Thread::_run(void*) () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#4  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#5  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7fffce7fc6c0 (LWP 79600) "Analyzer"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff2aaa47f in g_cond_wait () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#2  0x00007ffff6a57ccb in ARDOUR::Analyser::work() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff4266226 in PBD::Thread::_run(void*) () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#4  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#5  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7fffceffd6c0 (LWP 79599) "PeakFileBuilder"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff2aaa47f in g_cond_wait () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#2  0x00007ffff6f57a55 in ?? () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff4266226 in PBD::Thread::_run(void*) () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#4  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#5  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7fffcf7fe6c0 (LWP 79598) "PeakFileBuilder"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff2aaa47f in g_cond_wait () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#2  0x00007ffff6f57a55 in ?? () from /opt/Ardour-7.5.0/lib/libardour.so.3
#3  0x00007ffff4266226 in PBD::Thread::_run(void*) () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#4  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#5  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7fffcffff6c0 (LWP 79597) "LXVSTEventLoop"):
#0  0x00007ffff54f8413 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffcfffeb50, rem=0x7fffcfffeb60) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
#1  0x00007ffff54fceb7 in __GI___nanosleep (req=<optimized out>, rem=<optimized out>) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2  0x00007ffff2a88d48 in g_usleep () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#3  0x000055555632353b in ?? ()
#4  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#5  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7ffff61ff6c0 (LWP 79596) "Trigger Worker"):
#0  0x00007ffff552735d in __GI___poll (fds=0x7ffff61fec18, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff4239f07 in CrossThreadChannel::poll_for_request() () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#2  0x00007ffff4239f66 in CrossThreadChannel::receive(char&, bool) () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#3  0x00007ffff6fa51fc in ARDOUR::TriggerBoxThread::thread_work() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#4  0x00007ffff6fa555e in ARDOUR::TriggerBoxThread::_thread_work(void*) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#5  0x00007ffff42659f6 in ?? () from /opt/Ardour-7.5.0/lib/libpbd.so.4
#6  0x00007ffff54ae947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007ffff5534870 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7ffff774b8c0 (LWP 79593) "ArdourGUI"):
#0  0x00007ffff55230fa in __GI___libc_read (nbytes=4, buf=0x7fffffff5e58, fd=23) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=23, buf=0x7fffffff5e58, nbytes=4) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007ffff59e11b2 in Jack::JackClientSocket::Read(void*, int) () from /lib64/libjack.so.0
#3  0x00007ffff59ccbac in Jack::JackPortRegisterResult::Read(Jack::detail::JackChannelTransactionInterface*) () from /lib64/libjack.so.0
#4  0x00007ffff59ca8cb in Jack::JackGenericClientChannel::ServerSyncCall(Jack::JackRequest*, Jack::JackResult*, int*) () from /lib64/libjack.so.0
#5  0x00007ffff59cae21 in Jack::JackGenericClientChannel::PortRegister(int, char const*, char const*, unsigned int, unsigned int, unsigned int*, int*) () from /lib64/libjack.so.0
#6  0x00007ffff59c180d in Jack::JackClient::PortRegister(char const*, char const*, unsigned long, unsigned long) () from /lib64/libjack.so.0
#7  0x00007ffff59bc2a7 in jack_port_register () from /lib64/libjack.so.0
#8  0x00007fffbc42a054 in ARDOUR::JACKAudioBackend::register_port(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ARDOUR::DataType, ARDOUR::PortFlags) () from /opt/Ardour-7.5.0/lib/backends/libjack_audiobackend.so
#9  0x00007ffff6d8e48d in ARDOUR::Port::Port(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ARDOUR::DataType, ARDOUR::PortFlags) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#10 0x00007ffff6a7dd60 in ARDOUR::AudioPort::AudioPort(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ARDOUR::PortFlags) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#11 0x00007ffff6dad2ce in ARDOUR::PortManager::register_port(ARDOUR::DataType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, ARDOUR::PortFlags) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#12 0x00007ffff6dad8a9 in ARDOUR::PortManager::register_input_port(ARDOUR::DataType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, ARDOUR::PortFlags) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#13 0x00007ffff6c0d358 in ARDOUR::IO::ensure_ports_locked(ARDOUR::ChanCount, bool, bool&) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#14 0x00007ffff6c0f05b in ARDOUR::IO::ensure_ports(ARDOUR::ChanCount, bool, void*) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#15 0x00007ffff6c0f1a3 in ARDOUR::IO::create_ports(XMLNode const&, int) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#16 0x00007ffff6c0f4cb in ARDOUR::IO::set_state(XMLNode const&, int) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#17 0x00007ffff6e1e217 in ARDOUR::Route::set_state(XMLNode const&, int) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#18 0x00007ffff6ee713d in ARDOUR::Session::XMLRouteFactory(XMLNode const&, int) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#19 0x00007ffff6ef0af1 in ARDOUR::Session::load_routes(XMLNode const&, int) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#20 0x00007ffff6f07e3b in ARDOUR::Session::set_state(XMLNode const&, int) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#21 0x00007ffff6ef4b51 in ARDOUR::Session::post_engine_init() () from /opt/Ardour-7.5.0/lib/libardour.so.3
#22 0x00007ffff6e79c1a in ARDOUR::Session::Session(ARDOUR::AudioEngine&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ARDOUR::BusProfile const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool) () from /opt/Ardour-7.5.0/lib/libardour.so.3
#23 0x0000555555945498 in ?? ()
#24 0x0000555555946b2b in ?? ()
#25 0x000055555594eb90 in ?? ()
#26 0x00005555559542c8 in ?? ()
#27 0x0000555556199b6d in ?? ()
#28 0x0000555556198aa9 in ?? ()
#29 0x00007fffeec7a1b7 in ?? () from /opt/Ardour-7.5.0/lib/libgtkmm-2.4.so.1
#30 0x00007ffff2e0f6b5 in g_closure_invoke () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#31 0x00007ffff2e22593 in ?? () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#32 0x00007ffff2e2c364 in g_signal_emit_valist () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#33 0x00007ffff2e2c7e2 in g_signal_emit () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#34 0x00007ffff1ae190c in gtk_dialog_response () from /opt/Ardour-7.5.0/lib/libgtk-x11-2.0.so.0
#35 0x0000555556198881 in ?? ()
#36 0x00007fffeec7a1b7 in ?? () from /opt/Ardour-7.5.0/lib/libgtkmm-2.4.so.1
#37 0x00007ffff2e0f6b5 in g_closure_invoke () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#38 0x00007ffff2e22593 in ?? () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#39 0x00007ffff2e2c364 in g_signal_emit_valist () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#40 0x00007ffff2e2c7e2 in g_signal_emit () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#41 0x00007ffff1ae190c in gtk_dialog_response () from /opt/Ardour-7.5.0/lib/libgtk-x11-2.0.so.0
#42 0x0000555555b8b543 in ?? ()
#43 0x00007ffff325e868 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () from /opt/Ardour-7.5.0/lib/libglibmm-2.4.so.1
#44 0x00007ffff2e0f6b5 in g_closure_invoke () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#45 0x00007ffff2e22593 in ?? () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#46 0x00007ffff2e2c364 in g_signal_emit_valist () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#47 0x00007ffff2e2c7e2 in g_signal_emit () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#48 0x00007ffff1a9ee62 in ?? () from /opt/Ardour-7.5.0/lib/libgtk-x11-2.0.so.0
#49 0x00007ffff2e0f6b5 in g_closure_invoke () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#50 0x00007ffff2e21e84 in ?? () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#51 0x00007ffff2e2c364 in g_signal_emit_valist () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#52 0x00007ffff2e2c7e2 in g_signal_emit () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#53 0x00007ffff1a9d072 in gtk_button_released () from /opt/Ardour-7.5.0/lib/libgtk-x11-2.0.so.0
#54 0x00007ffff1a9d139 in ?? () from /opt/Ardour-7.5.0/lib/libgtk-x11-2.0.so.0
#55 0x00007ffff1b85d8c in ?? () from /opt/Ardour-7.5.0/lib/libgtk-x11-2.0.so.0
#56 0x00007ffff2e0f6b5 in g_closure_invoke () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#57 0x00007ffff2e228bd in ?? () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#58 0x00007ffff2e2bdc8 in g_signal_emit_valist () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#59 0x00007ffff2e2c7e2 in g_signal_emit () from /opt/Ardour-7.5.0/lib/libgobject-2.0.so.0
#60 0x00007ffff1d0a7ac in ?? () from /opt/Ardour-7.5.0/lib/libgtk-x11-2.0.so.0
#61 0x00007ffff1b8437d in gtk_propagate_event () from /opt/Ardour-7.5.0/lib/libgtk-x11-2.0.so.0
#62 0x00007ffff1b84803 in gtk_main_do_event () from /opt/Ardour-7.5.0/lib/libgtk-x11-2.0.so.0
#63 0x00007ffff166fbbc in ?? () from /opt/Ardour-7.5.0/lib/libgdk-x11-2.0.so.0
#64 0x00007ffff2a56a87 in g_main_context_dispatch () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#65 0x00007ffff2a56ce8 in ?? () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#66 0x00007ffff2a57002 in g_main_loop_run () from /opt/Ardour-7.5.0/lib/libglib-2.0.so.0
#67 0x00007ffff1b834c7 in gtk_main () from /opt/Ardour-7.5.0/lib/libgtk-x11-2.0.so.0
#68 0x00007ffff4665215 in Gtkmm2ext::UI::run(Receiver&) () from /opt/Ardour-7.5.0/lib/libgtkmm2ext.so.0
#69 0x000055555589971e in ?? ()
#70 0x00007ffff5449b8a in __libc_start_call_main (main=main@entry=0x5555558992a0, argc=argc@entry=1, argv=argv@entry=0x7fffffffb9a8) at ../sysdeps/nptl/libc_start_call_main.h:58
#71 0x00007ffff5449c4b in __libc_start_main_impl (main=0x5555558992a0, argc=1, argv=0x7fffffffb9a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffb998) at ../csu/libc-start.c:360
#72 0x00005555558a145a in ?? ()
ardour_7.5_backtrace.txt (29,133 bytes)   

ccaudle

2023-09-16 21:12

reporter   ~0028062

My locally built ardour did not crash when using the JACK backend.

Ardour7.5.461 (built using 7.5-579-gf11a5880af and GCC version 13.2.1 20230728 (Red Hat 13.2.1-1))

paul

2023-09-18 03:27

administrator   ~0028068

THere were some changes last week to the JACK backend (specifically, serializing all JACK API calls that involve a round-trip to the JACK server) that may fix whatever issue you were having.

ccaudle

2023-09-18 15:33

reporter   ~0028069

Makes sense, I saw the commit messages about adding serialization locks to the JACK backend. Since I confirmed the problem does not exist in a recent git pull this can be marked as complete as far as I am concerned, I just wanted to get it documented before I forgot when I hit the problem on 7.5.

Mariannfinson60

2024-05-24 05:54

reporter   ~0028740

After initially using the ALSA backend and confirming that recording and playback were functioning correctly, I stopped the audio backend, restarted jackd, and switched the audio backend to JACK. Unfortunately, Ardour crashed again, either during the startup process or immediately after the JACK backend was initiated.

Issue History

Date Modified Username Field Change
2023-09-16 17:25 ccaudle New Issue
2023-09-16 18:46 ccaudle Note Added: 0028059
2023-09-16 18:53 ccaudle Note Added: 0028060
2023-09-16 21:05 ccaudle Note Added: 0028061
2023-09-16 21:05 ccaudle File Added: ardour_7.5_backtrace.txt
2023-09-16 21:12 ccaudle Note Added: 0028062
2023-09-18 03:27 paul Note Added: 0028068
2023-09-18 15:33 ccaudle Note Added: 0028069
2024-05-24 05:54 Mariannfinson60 Note Added: 0028740