Ardour8 still chasing "find a trout" in Debian12 - logging? stereo channels? unattended install?

Shmitty – yep, Ardour runs if i manually start Jack. the reason i’m burrowing into this is because it’s a nice repeatable error which, when solved, may help identify other less-visible problems.

Robin – thanks for the invite to IRC. i’ll save that for a day when i need fast turnaround, however this isn’t that urgent. also thanks for the refinement of gdb. i ran with those this morning and here’s the change. meaningful, or just an artifact of how Ardour bails out when the Trout has been invoked?

Find a trout and repeatedly slap the nearest C++ who throws exceptions without catching them.
Ardour will likely crash now, giving you time to get the trout.

Thread 1 “ArdourGUI” hit Catchpoint 2 (exception thrown), 0x00007ffff54a90a1 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6

(gdb) continue

Continuing.
audio-midi engine setup failed.

i noticed that i can return Ardour to normal startup by deleting the config file. all the 1st runs i could figure out to try after doing this result in Ardour not starting Jack on the 2nd run. but at least i don’t have to stand up a new server each time to test. maybe that’s a clue? here are examples of the things i tried:

  • substitute the AudioMIDISetup section from the Ardour6 config file
  • try various templates
  • try closing without saving
  • try adding an audio track and changing Audio/Midi Setup

here’s a link to a typical config after a 1st run where i’ve set Audio to Jack, Dummy, Default, 48k, 512 and Midi to none.

Instead of “continue”, type: thread apply all bt

hi Paul,

ah! thanks! here’s the new stuff. the weird purple blobs are the forum software treating the double-colons around : : Thread: : as formatting…

Thread 1 “ArdourGUI” hit Catchpoint 2 (exception thrown), 0x00007ffff54a90a1 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) thread apply all bt

Thread 10 (Thread 0x7fffcffff6c0 (LWP 24342) “MIDNAMLoader”):
#0 0x00007ffff5ab6330 in xmlNewNsPropEatName () from /lib/x86_64-linux-gnu/libxml2.so.2
#1 0x00007ffff5b855d0 in ?? () from /lib/x86_64-linux-gnu/libxml2.so.2
#2 0x00007ffff5b88576 in xmlSAX2StartElementNs () from /lib/x86_64-linux-gnu/libxml2.so.2
#3 0x00007ffff5aa2049 in ?? () from /lib/x86_64-linux-gnu/libxml2.so.2
#4 0x00007ffff5aa35a1 in ?? () from /lib/x86_64-linux-gnu/libxml2.so.2
#5 0x00007ffff5aab5d0 in ?? () from /lib/x86_64-linux-gnu/libxml2.so.2
#6 0x00007ffff5aac5a8 in xmlParseElement () from /lib/x86_64-linux-gnu/libxml2.so.2
#7 0x00007ffff5aac9ea in xmlParseDocument () from /lib/x86_64-linux-gnu/libxml2.so.2
#8 0x00007ffff5ab234e in xmlCtxtReadFile () from /lib/x86_64-linux-gnu/libxml2.so.2
#9 0x00007ffff6ca39a4 in XMLTree::read_internal(bool) () from /usr/lib/ardour7/libpbd.so.4
#10 0x00007ffff7f533b7 in MIDI::Name::MIDINameDocument::MIDINameDocument(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) () from /usr/lib/ardour7/libmidipp.so.4
#11 0x00007ffff787ad02 in MIDI::Name::MidiPatchManager::load_midi_name_document(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) () from /usr/lib/ardour7/libardour.so.3
#12 0x00007ffff787b08b in MIDI::Name::MidiPatchManager::add_midnam_files_from_directory(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) () from /usr/lib/ardour7/libardour.so.3
#13 0x00007ffff787b393 in MIDI::Name::MidiPatchManager::load_midnams() () from /usr/lib/ardour7/libardour.so.3
#14 0x00007ffff6c851a6 in PBD::thread::_run(void*) () from /usr/lib/ardour7/libpbd.so.4
#15 0x00007ffff50d0044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#16 0x00007ffff515061c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

–Type for more, q to quit, c to continue without paging–c
Thread 9 (Thread 0x7fffecb8d6c0 (LWP 24341) “DeviceList”):
#0 syscall () at …/sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff6a573cf in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff74c450b in ARDOUR::AudioEngine::do_devicelist_update() () from /usr/lib/ardour7/libardour.so.3
#3 0x00007ffff6c851a6 in PBD::thread::_run(void*) () from /usr/lib/ardour7/libpbd.so.4
#4 0x00007ffff50d0044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#5 0x00007ffff515061c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7fffed8b36c0 (LWP 24340) “EngineWatchdog”):
#0 syscall () at …/sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff6a573cf in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff74c6460 in ARDOUR::AudioEngine::do_reset_backend() () from /usr/lib/ardour7/libardour.so.3
#3 0x00007ffff6c851a6 in PBD::thread::_run(void*) () from /usr/lib/ardour7/libpbd.so.4
#4 0x00007ffff50d0044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#5 0x00007ffff515061c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7fffee4f36c0 (LWP 24338) “Analyzer”):
#0 syscall () at …/sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff6a573cf in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff747dd87 in ARDOUR::Analyser::work() () from /usr/lib/ardour7/libardour.so.3
#3 0x00007ffff6c851a6 in PBD::thread::_run(void*) () from /usr/lib/ardour7/libpbd.so.4
#4 0x00007ffff50d0044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#5 0x00007ffff515061c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7fffeecf46c0 (LWP 24337) “PeakFileBuilder”):
#0 syscall () at …/sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff6a573cf in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff7b744e9 in ?? () from /usr/lib/ardour7/libardour.so.3
#3 0x00007ffff6c851a6 in PBD::thread::_run(void*) () from /usr/lib/ardour7/libpbd.so.4
#4 0x00007ffff50d0044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#5 0x00007ffff515061c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7fffef4f56c0 (LWP 24336) “PeakFileBuilder”):
#0 syscall () at …/sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff6a573cf in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff7b744e9 in ?? () from /usr/lib/ardour7/libardour.so.3
#3 0x00007ffff6c851a6 in PBD::thread::_run(void*) () from /usr/lib/ardour7/libpbd.so.4
#4 0x00007ffff50d0044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#5 0x00007ffff515061c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7fffefdff6c0 (LWP 24335) “LXVSTEventLoop”):
#0 0x00007ffff5116385 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffefdfe6e0, rem=0x7fffefdfe6f0) at …/sysdeps/unix/sysv/linux/clock_nanosleep.c:48
#1 0x00007ffff511ac93 in __GI___nanosleep (req=, rem=) at …/sysdeps/unix/sysv/linux/nanosleep.c:25
#2 0x00007ffff6a2e77f in g_usleep () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x0000555556622854 in ?? ()
#4 0x00007ffff50d0044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#5 0x00007ffff515061c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7ffff02136c0 (LWP 24334) “Trigger Worker”):
#0 0x00007ffff514305f in __GI___poll (fds=0x7ffff02127c0, nfds=1, timeout=-1) at …/sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff6c5cef8 in CrossThreadChannel::poll_for_request() () from /usr/lib/ardour7/libpbd.so.4
#2 0x00007ffff6c5cf7a in CrossThreadChannel::receive(char&, bool) () from /usr/lib/ardour7/libpbd.so.4
#3 0x00007ffff7bc61c1 in ARDOUR::TriggerBoxThread::thread_work() () from /usr/lib/ardour7/libardour.so.3
#4 0x00007ffff6c84903 in ?? () from /usr/lib/ardour7/libpbd.so.4
#5 0x00007ffff50d0044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#6 0x00007ffff515061c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7ffff0267d40 (LWP 24333) “ArdourGUI”):
#0 0x00007ffff54a90a1 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x0000555555a31a36 in ?? ()
#2 0x0000555555e27be3 in ?? ()
#3 0x0000555555e2d3d9 in ?? ()
#4 0x0000555555e35255 in ?? ()
#5 0x0000555555bd9a45 in ?? ()
#6 0x00007ffff6d26736 in Gtkmm2ext::UI::run(Receiver&) () from /usr/lib/ardour7/libgtkmm2ext.so.0
#7 0x0000555555b1b4aa in main ()

OK, next up please get a debug build from https://nightly.ardour.org/ (there are free/demo copies; you can install them in parallel with whatever you already have), and repeat those steps.

will do. but it’ll be tomorrow before i can get back to this. thanks!

ah! made it under the wire - now i’m off the air until tomorrow.

version 8 debug 8.0.15 - nightly

root@localhost:~# /opt/Ardour-8.0.15-demo-dbg/bin/ardour8 --gdb
GNU gdb (Debian 13.1-3) 13.1
Copyright (C) 2023 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:
https://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-8.0.15-demo-dbg/bin/ardour-8.0.15…
(gdb) handle SIG32 nopint nostop
Unrecognized or ambiguous flag word: “nopint”.
(gdb) handle SIG32 noprint nostop
Signal Stop Print Pass to program Description
SIG32 No No Yes Real-time event 32
(gdb) start
Temporary breakpoint 1 at 0xdff369: file …/gtk2_ardour/main.cc, line 251.
Starting program: /opt/Ardour-8.0.15-demo-dbg/bin/ardour-8.0.15
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.
BFD: error: /usr/lib/debug/.build-id/b5/94dc721d75112eb9f2aa7a2c0ae957f373d962.debug(.debug_info) is too large (0x15ef54 bytes)
warning: Can’t read data for section ‘.debug_info’ in file ‘/usr/lib/debug/.build-id/b5/94dc721d75112eb9f2aa7a2c0ae957f373d962.debug’
warning: Section .debug_aranges in /usr/lib/debug/.build-id/b5/94dc721d75112eb9f2aa7a2c0ae957f373d962.debug entry at offset 0 debug_info_offset 0 does not exists, ignoring .debug_aranges.

Temporary breakpoint 1, main (argc=1, argv=0x7fffffffe3d8)
at …/gtk2_ardour/main.cc:251
251 …/gtk2_ardour/main.cc: No such file or directory.
(gdb) catch throw
Catchpoint 2 (throw)
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /opt/Ardour-8.0.15-demo-dbg/bin/ardour-8.0.15
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.
BFD: error: /usr/lib/debug/.build-id/b5/94dc721d75112eb9f2aa7a2c0ae957f373d962.debug(.debug_info) is too large (0x15ef54 bytes)
warning: Can’t read data for section ‘.debug_info’ in file ‘/usr/lib/debug/.build-id/b5/94dc721d75112eb9f2aa7a2c0ae957f373d962.debug’
warning: Section .debug_aranges in /usr/lib/debug/.build-id/b5/94dc721d75112eb9f2aa7a2c0ae957f373d962.debug entry at offset 0 debug_info_offset 0 does not exists, ignoring .debug_aranges.
bind txt domain [gtk2_ardour8] to /opt/Ardour-8.0.15-demo-dbg/share/locale
Ardour8.0.15 (built using 8.0-15-gca1e466f26 and GCC version 6.3.0 20170516)
[New Thread 0x7ffff4bff6c0 (LWP 26741)]
Ardour: [INFO]: Your system is configured to limit Ardour to 1048576 open files
Ardour: [INFO]: Loading system configuration file /opt/Ardour-8.0.15-demo-dbg/etc/system_config
Ardour: [INFO]: Loading user configuration file /root/.config/ardour8/config
[New Thread 0x7fffdfdff6c0 (LWP 26742)]
Ardour: [INFO]: CPU vendor: AuthenticAMD
Ardour: [INFO]: AVX capable processor
Ardour: [INFO]: AVX with FMA capable processor
Ardour: [INFO]: CPU brand: AMD EPYC 7713 64-Core Processor
Ardour: [INFO]: Using AVX and FMA optimized routines
[New Thread 0x7fffdf5fe6c0 (LWP 26743)]
[New Thread 0x7fffdedfd6c0 (LWP 26744)]
[New Thread 0x7fffde5fc6c0 (LWP 26745)]
Ardour: [INFO]: Loading plugin meta data file /opt/Ardour-8.0.15-demo-dbg/share/plugin_metadata/plugin_tags
Ardour: [INFO]: add_lrdf_data ‘/root/.config/ardour8/rdf:/opt/Ardour-8.0.15-demo-dbg/share/rdf:/usr/local/share/ladspa/rdf:/usr/share/ladspa/rdf’
Ardour: [INFO]: read rdf_file ‘file:///usr/share/ladspa/rdf/ladspa.rdfs’
Ardour: [WARNING]: Control protocol Ableton Push 2 not usable
Ardour: [WARNING]: Control protocol ContourDesign not usable
[New Thread 0x7fffc3bff6c0 (LWP 26764)]
[New Thread 0x7fffc33fe6c0 (LWP 26765)]
*** WEAK-JACK: initializing
*** WEAK-JACK: OK. (0)
[New Thread 0x7fffc17ff6c0 (LWP 26766)]
Cannot xinstall SIGPIPE error handler
Ardour: [INFO]: Loading default ui configuration file /opt/Ardour-8.0.15-demo-dbg/etc/default_ui_config
Ardour: [INFO]: Loading user ui configuration file /root/.config/ardour8/ui_config
Ardour: [INFO]: Loading 457 MIDI patches from /opt/Ardour-8.0.15-demo-dbg/share/patchfiles
Ardour: [INFO]: Loading color file /opt/Ardour-8.0.15-demo-dbg/share/themes/dark-ardour.colors
Ardour: [INFO]: Loading ui configuration file /opt/Ardour-8.0.15-demo-dbg/etc/clearlooks.rc
Ardour: [INFO]: Loading bindings from /opt/Ardour-8.0.15-demo-dbg/etc/ardour.keys
Loading ui configuration file /opt/Ardour-8.0.15-demo-dbg/etc/clearlooks.rc
[New Thread 0x7ffff21436c0 (LWP 26768)]
[New Thread 0x7fffc0bff6c0 (LWP 26769)]
[New Thread 0x7ffff1d456c0 (LWP 26770)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[Thread 0x7ffff1d456c0 (LWP 26770) exited]
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[New Thread 0x7ffff1d456c0 (LWP 26771)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
[Thread 0x7ffff1d456c0 (LWP 26771) exited]
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[New Thread 0x7ffff1d456c0 (LWP 26772)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
[Thread 0x7ffff1d456c0 (LWP 26772) exited]
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[New Thread 0x7ffff1d456c0 (LWP 26773)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
[Thread 0x7ffff1d456c0 (LWP 26773) exited]
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Find a trout and repeatedly slap the nearest C++ developer who throws exceptions without catching them.
Ardour will likely crash now, giving you time to get the trout.

Thread 1 “ArdourGUI” hit Catchpoint 2 (exception thrown), 0x00007fffe76a90a1 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) thread apply all bt

Thread 11 (Thread 0x7fffc0bff6c0 (LWP 26769) “Pingback”):
#0 0x00007ffff371b05f in __GI___poll (fds=fds@entry=0x7fffc0bfd1e8, nfds=nfds@entry=1, timeout=5000) at …/sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff374d45d in send_dg (statp=statp@entry=0x7fffc0bffd78, buf=buf@entry=0x7fffc0bfd440 “EI\001”, buflen=buflen@entry=38, buf2=buf2@entry=0x7fffc0bfd468 “\242J\001”, buflen2=buflen2@entry=38, ansp=ansp@entry=0x7fffc0bfd398, anssizp=, terrno=, ns=, v_circuit=, gotsomewhere=, anscp=, ansp2=, anssizp2=, resplen2=, ansp2_malloced=) at ./resolv/res_send.c:994
#2 0x00007ffff374e11b in __GI___res_context_send (ctx=ctx@entry=0x7fffb4024320, buf=buf@entry=0x7fffc0bfd440 “EI\001”, buflen=buflen@entry=38, buf2=buf2@entry=0x7fffc0bfd468 “\242J\001”, buflen2=buflen2@entry=38, ans=, ans@entry=0x7fffc0bfdca0 “”, anssiz=, ansp=, ansp2=, nansp2=, resplen2=, ansp2_malloced=) at ./resolv/res_send.c:373
#3 0x00007ffff374b56c in __GI___res_context_query (ctx=ctx@entry=0x7fffb4024320, name=name@entry=0x555557d4c740 “community.ardour.org”, class=class@entry=1, type=type@entry=439963904, answer=answer@entry=0x7fffc0bfdca0 “”, anslen=anslen@entry=2048, answerp=, answerp2=, nanswerp2=, resplen2=, answerp2_malloced=) at ./resolv/res_query.c:221
–Type for more, q to quit, c to continue without paging–c
#4 0x00007ffff374c1aa in __res_context_querydomain (answerp2_malloced=0x7fffc0bfdc74, resplen2=0x7fffc0bfdc70, nanswerp2=0x7fffc0bfdc6c, answerp2=0x7fffc0bfdc80, answerp=0x7fffc0bfdc78, anslen=2048, answer=0x7fffc0bfdca0 “”, type=439963904, class=1, domain=0x0, name=0x555557d4c740 “community.ardour.org”, ctx=0x7fffb4024320) at ./resolv/res_query.c:633
#5 __GI___res_context_search (ctx=ctx@entry=0x7fffb4024320, name=name@entry=0x555557d4c740 “community.ardour.org”, class=class@entry=1, type=type@entry=439963904, answer=answer@entry=0x7fffc0bfdca0 “”, anslen=anslen@entry=2048, answerp=, answerp2=, nanswerp2=, resplen2=, answerp2_malloced=) at ./resolv/res_query.c:389
#6 0x00007ffff3745741 in __GI__nss_dns_gethostbyname4_r (name=name@entry=0x555557d4c740 “community.ardour.org”, pat=pat@entry=0x7fffc0bfe5c0, buffer=0x7fffc0bfe720 “\377\002”, buflen=, errnop=0x7fffc0bff608, herrnop=herrnop@entry=0x7fffc0bff66c, ttlp=) at nss_dns/dns-host.c:418
#7 0x00007ffff3710696 in get_nss_addresses (res=0x7fffc0bfe5c0, tmpbuf=0x7fffc0bfe710, req=, name=) at …/sysdeps/posix/getaddrinfo.c:646
#8 gaih_inet (tmpbuf=0x7fffc0bfe710, naddrs=, pai=0x7fffc0bfe590, req=, service=, name=) at …/sysdeps/posix/getaddrinfo.c:1179
#9 __GI_getaddrinfo (name=, service=, hints=, pai=) at …/sysdeps/posix/getaddrinfo.c:2398
#10 0x00007fffeda3eaa4 in ?? () from /opt/Ardour-8.0.15-demo-dbg/lib/libcurl.so.4
#11 0x00007fffeda483f1 in ?? () from /opt/Ardour-8.0.15-demo-dbg/lib/libcurl.so.4
#12 0x00007fffeda46a9b in ?? () from /opt/Ardour-8.0.15-demo-dbg/lib/libcurl.so.4
#13 0x00007ffff36a8044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#14 0x00007ffff372861c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7ffff21436c0 (LWP 26768) “Pingback”):
#0 0x00007ffff371b05f in __GI___poll (fds=0x7ffff2142810, nfds=1, timeout=31) at …/sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fffeda3af58 in ?? () from /opt/Ardour-8.0.15-demo-dbg/lib/libcurl.so.4
#2 0x00007fffeda32f2f in ?? () from /opt/Ardour-8.0.15-demo-dbg/lib/libcurl.so.4
#3 0x00007fffeda2c848 in curl_easy_perform () from /opt/Ardour-8.0.15-demo-dbg/lib/libcurl.so.4
#4 0x0000555555b80851 in ArdourCurl::HttpGet::get (this=0x7ffff2142a90, url=0x555557c7e450 “http://community.ardour.org/pingback/ignored/8.0.15?s=Linux”, with_error_logging=false) at …/gtk2_ardour/ardour_http.cc:226
#5 0x0000555555b80f0a in ArdourCurl::HttpGet::get (this=0x7ffff2142a90, url=“http://community.ardour.org/pingback/ignored/8.0.15?s=Linux”, with_error_logging=false) at …/gtk2_ardour/ardour_http.h:46
#6 0x00005555563f5ef6 in _pingback (arg=0x555557c78fa0) at …/gtk2_ardour/pingback.cc:138
#7 0x00007ffff2b31f97 in fake_thread_start (arg=0x555557c588f0) at …/libs/pbd/pthread_utils.cc:101
#8 0x00007ffff36a8044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#9 0x00007ffff372861c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7fffc17ff6c0 (LWP 26766) “MIDNAMLoader”):
#0 0x00007ffff62b23f0 in __gnu_cxx::__normal_iterator<XMLProperty* const*, std::vector<XMLProperty*, std::allocator<XMLProperty*> > >::__normal_iterator (this=0x7fffc17fe1c0, __i=@0x7fffc17fe1c8: 0x7fffb807ab28) at /usr/include/c++/6/bits/stl_iterator.h:777
#1 0x00007ffff62b1797 in std::vector<XMLProperty*, std::allocator<XMLProperty*> >::end (this=0x7fffb80ac2a0) at /usr/include/c++/6/bits/stl_vector.h:576
#2 0x00007ffff2b59d8a in XMLNode::property (this=0x7fffb80ac240, name=0x7ffff4d8f4c3 “Name”) at …/libs/pbd/xml++.cc:527
#3 0x00007ffff4d5e24a in MIDI::Name::CustomDeviceMode::set_state (this=0x7fffb87bda90, tree=…, a_node=…) at …/libs/midi++2/midnam_patch.cc:614
#4 0x00007ffff4d5f4e0 in MIDI::Name::MasterDeviceNames::set_state (this=0x7fffb89b2b90, tree=…) at …/libs/midi++2/midnam_patch.cc:794
#5 0x00007ffff4d60ba7 in MIDI::Name::MIDINameDocument::set_state (this=0x7fffb879a8f0, tree=…) at …/libs/midi++2/midnam_patch.cc:935
#6 0x00007ffff4d6084f in MIDI::Name::MIDINameDocument::MIDINameDocument (this=0x7fffb879a8f0, file_path=“/opt/Ardour-8.0.15-demo-dbg/share/patchfiles/EW_Hollywood_Orchestral_Woodwinds_11_OB_KS_Runs_FX_C0_G0.midnam”) at …/libs/midi++2/midnam_patch.cc:908
#7 0x00007ffff65a8a8d in MIDI::Name::MidiPatchManager::load_midi_name_document (this=0x5555574ad3f0, file_path=“/opt/Ardour-8.0.15-demo-dbg/share/patchfiles/EW_Hollywood_Orchestral_Woodwinds_11_OB_KS_Runs_FX_C0_G0.midnam”) at …/libs/ardour/midi_patch_manager.cc:172
#8 0x00007ffff65a85f5 in MIDI::Name::MidiPatchManager::add_midnam_files_from_directory (this=0x5555574ad3f0, directory_path=“/opt/Ardour-8.0.15-demo-dbg/share/patchfiles”) at …/libs/ardour/midi_patch_manager.cc:132
#9 0x00007ffff65a96e0 in MIDI::Name::MidiPatchManager::load_midnams (this=0x5555574ad3f0) at …/libs/ardour/midi_patch_manager.cc:284
#10 0x00007ffff65af495 in boost::_mfi::mf0<void, MIDI::Name::MidiPatchManager>::operator() (this=0x555557e25e90, p=0x5555574ad3f0) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/mem_fn_template.hpp:49
#11 0x00007ffff65af16c in boost::_bi::list1<boost::_bi::valueMIDI::Name::MidiPatchManager* >::operator()<boost::_mfi::mf0<void, MIDI::Name::MidiPatchManager>, boost::_bi::list0> (this=0x555557e25ea0, f=…, a=…) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/bind.hpp:259
#12 0x00007ffff65aeb25 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, MIDI::Name::MidiPatchManager>, boost::_bi::list1<boost::_bi::valueMIDI::Name::MidiPatchManager* > >::operator() (this=0x555557e25e90) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/bind.hpp:1294
#13 0x00007ffff65ae679 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, MIDI::Name::MidiPatchManager>, boost::_bi::list1<boost::_bi::valueMIDI::Name::MidiPatchManager* > >, void>::invoke (function_obj_ptr=…) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:159
#14 0x0000555555b7e48e in boost::function0::operator() (this=0x555557e25e88) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:769
#15 0x00007ffff2b32a43 in PBD::thread::_run (arg=0x555557e25e60) at …/libs/pbd/pthread_utils.cc:488
#16 0x00007ffff36a8044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#17 0x00007ffff372861c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7fffc33fe6c0 (LWP 26765) “DeviceList”):
#0 syscall () at …/sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff12aa47f in g_cond_wait () from /opt/Ardour-8.0.15-demo-dbg/lib/libglib-2.0.so.0
#2 0x00007ffff62d257b in ARDOUR::AudioEngine::do_devicelist_update (this=0x55555753efb0) at …/libs/ardour/audioengine.cc:760
#3 0x00007ffff62e0cff in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x555557571c10, p=0x55555753efb0) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/mem_fn_template.hpp:49
#4 0x00007ffff62e023a in boost::_bi::list1<boost::_bi::valueARDOUR::AudioEngine* >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x555557571c20, f=…, a=…) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/bind.hpp:259
#5 0x00007ffff62df8a3 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::valueARDOUR::AudioEngine* > >::operator() (this=0x555557571c10) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/bind.hpp:1294
#6 0x00007ffff62dea2b in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::valueARDOUR::AudioEngine* > >, void>::invoke (function_obj_ptr=…) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:159
#7 0x0000555555b7e48e in boost::function0::operator() (this=0x555557571c08) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:769
#8 0x00007ffff2b32a43 in PBD::thread::_run (arg=0x555557571be0) at …/libs/pbd/pthread_utils.cc:488
#9 0x00007ffff36a8044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#10 0x00007ffff372861c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7fffc3bff6c0 (LWP 26764) “EngineWatchdog”):
#0 syscall () at …/sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff12aa47f in g_cond_wait () from /opt/Ardour-8.0.15-demo-dbg/lib/libglib-2.0.so.0
#2 0x00007ffff62d22fd in ARDOUR::AudioEngine::do_reset_backend (this=0x55555753efb0) at …/libs/ardour/audioengine.cc:724
#3 0x00007ffff62e0cff in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x55555753cd90, p=0x55555753efb0) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/mem_fn_template.hpp:49
#4 0x00007ffff62e023a in boost::_bi::list1<boost::_bi::valueARDOUR::AudioEngine* >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x55555753cda0, f=…, a=…) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/bind.hpp:259
#5 0x00007ffff62df8a3 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::valueARDOUR::AudioEngine* > >::operator() (this=0x55555753cd90) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/bind/bind.hpp:1294
#6 0x00007ffff62dea2b in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::valueARDOUR::AudioEngine* > >, void>::invoke (function_obj_ptr=…) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:159
#7 0x0000555555b7e48e in boost::function0::operator() (this=0x55555753cd88) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:769
#8 0x00007ffff2b32a43 in PBD::thread::_run (arg=0x55555753cd60) at …/libs/pbd/pthread_utils.cc:488
#9 0x00007ffff36a8044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#10 0x00007ffff372861c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7fffde5fc6c0 (LWP 26745) “Analyzer”):
#0 syscall () at …/sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff12aa47f in g_cond_wait () from /opt/Ardour-8.0.15-demo-dbg/lib/libglib-2.0.so.0
#2 0x00007ffff62805ea in ARDOUR::Analyser::work () at …/libs/ardour/analyser.cc:95
#3 0x0000555556525459 in sigc::pointer_functor0::operator() (this=0x555557529980) at /home/ardour/linux-x86_64-v5/gtk/inst/include/sigc+±2.0/sigc++/functors/ptr_fun.h:77
#4 0x00007ffff6283948 in boost::detail::function::void_function_obj_invoker0<sigc::pointer_functor0, void>::invoke (function_obj_ptr=…) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:159
#5 0x0000555555b7e48e in boost::function0::operator() (this=0x555557529978) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:769
#6 0x00007ffff2b32a43 in PBD::thread::_run (arg=0x555557529950) at …/libs/pbd/pthread_utils.cc:488
#7 0x00007ffff36a8044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#8 0x00007ffff372861c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7fffdedfd6c0 (LWP 26744) “PeakFileBuilder”):
#0 syscall () at …/sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff12aa47f in g_cond_wait () from /opt/Ardour-8.0.15-demo-dbg/lib/libglib-2.0.so.0
#2 0x00007ffff6941003 in peak_thread_work () at …/libs/ardour/source_factory.cc:75
#3 0x00007ffff7848925 in boost::detail::function::void_function_invoker0<void (*)(), void>::invoke (function_ptr=…) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:118
#4 0x0000555555b7e48e in boost::function0::operator() (this=0x55555752a288) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:769
#5 0x00007ffff2b32a43 in PBD::thread::_run (arg=0x55555752a260) at …/libs/pbd/pthread_utils.cc:488
#6 0x00007ffff36a8044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#7 0x00007ffff372861c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7fffdf5fe6c0 (LWP 26743) “PeakFileBuilder”):
#0 syscall () at …/sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff12aa47f in g_cond_wait () from /opt/Ardour-8.0.15-demo-dbg/lib/libglib-2.0.so.0
#2 0x00007ffff6941003 in peak_thread_work () at …/libs/ardour/source_factory.cc:75
#3 0x00007ffff7848925 in boost::detail::function::void_function_invoker0<void (*)(), void>::invoke (function_ptr=…) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:118
#4 0x0000555555b7e48e in boost::function0::operator() (this=0x55555752a028) at /home/ardour/linux-x86_64-v5/gtk/inst/include/boost/function/function_template.hpp:769
#5 0x00007ffff2b32a43 in PBD::thread::_run (arg=0x55555752a000) at …/libs/pbd/pthread_utils.cc:488
#6 0x00007ffff36a8044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#7 0x00007ffff372861c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7fffdfdff6c0 (LWP 26742) “LXVSTEventLoop”):
#0 0x00007ffff36ee385 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffdfdfebd0, rem=0x7fffdfdfebe0) at …/sysdeps/unix/sysv/linux/clock_nanosleep.c:48
#1 0x00007ffff36f2c93 in __GI___nanosleep (req=, rem=) at …/sysdeps/unix/sysv/linux/nanosleep.c:25
#2 0x00007ffff1288d48 in g_usleep () from /opt/Ardour-8.0.15-demo-dbg/lib/libglib-2.0.so.0
#3 0x0000555556a17a7d in gui_event_loop (ptr=0x0) at …/gtk2_ardour/linux_vst_gui_support.cc:468
#4 0x00007ffff36a8044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#5 0x00007ffff372861c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7ffff4bff6c0 (LWP 26741) “Trigger Worker”):
#0 0x00007ffff371b05f in __GI___poll (fds=0x7ffff4bfeba4, nfds=1, timeout=-1) at …/sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffff2b0c4a0 in CrossThreadChannel::poll_for_request (this=0x5555574a8170) at …/libs/pbd/crossthread.posix.cc:108
#2 0x00007ffff2b0c511 in CrossThreadChannel::receive (this=0x5555574a8170, msg=@0x7ffff4bfec0f: -1 ‘\377’, wait=true) at …/libs/pbd/crossthread.posix.cc:133
#3 0x00007ffff69a1af5 in ARDOUR::TriggerBoxThread::thread_work (this=0x5555574a8140) at …/libs/ardour/triggerbox.cc:4880
#4 0x00007ffff69a1a8b in ARDOUR::TriggerBoxThread::_thread_work (arg=0x5555574a8140) at …/libs/ardour/triggerbox.cc:4868
#5 0x00007ffff2b31f97 in fake_thread_start (arg=0x5555574a0740) at …/libs/pbd/pthread_utils.cc:101
#6 0x00007ffff36a8044 in start_thread (arg=) at ./nptl/pthread_create.c:442
#7 0x00007ffff372861c in clone3 () at …/sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7ffff76c6900 (LWP 26738) “ArdourGUI”):
#0 0x00007fffe76a90a1 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x0000555555f76836 in EngineControl::get_buffer_size (this=0x555557c793f0) at …/gtk2_ardour/engine_dialog.cc:2608
#2 0x0000555555f7573f in EngineControl::push_state_to_backend (this=0x555557c793f0, start=false) at …/gtk2_ardour/engine_dialog.cc:2490
#3 0x0000555555f72f87 in EngineControl::set_state (this=0x555557c793f0, root=…) at …/gtk2_ardour/engine_dialog.cc:2199
#4 0x0000555555f6129a in EngineControl::EngineControl (this=0x555557c793f0, __in_chrg=, __vtt_parm=) at …/gtk2_ardour/engine_dialog.cc:339
#5 0x0000555555bd5bbb in WM::Proxy::get (this=0x555557b2f488, create=true) at …/gtk2_ardour/window_manager.h:185
#6 0x0000555555c3d1a2 in ARDOUR_UI::starting (this=0x555557b26700) at …/gtk2_ardour/ardour_ui_startup.cc:586
#7 0x00007ffff2f3d868 in Gtkmm2ext::UI::run (this=0x555557b26700, old_receiver=…) at …/libs/gtkmm2ext/gtk_ui.cc:300
#8 0x00005555561fff9b in main (argc=1, argv=0x7fffffffe3d8) at …/gtk2_ardour/main.cc:471
(gdb) exit
A debugging session is active.

Inferior 1 [process 26738] will be killed.

Quit anyway? (y or n) y

OK, so this doesn’t tell us a lot more than we already knew, but it does confirm a few things.

So:

  1. just before this happens, is it possible to see what the buffer size selector says?
  2. the nightly build tomorrow will have some more debugging info being shown to track down what is going on here, so give it at try at about 10:00 UTC or later.

here’s the terminal transcript from the run this morning. fingers crossed the that buffer-size into is included. if not, let me know how i can get it for you.

btw, i’ve broken the transcript with a line feeds just before each of my gdb commands. they’re a mix of the debugging web page, Robin’s suggestions and your suggestions. so i may well be Doing This Wrong.

Does moving ~/.config/ardour8/ away help?

Make a backup (e.g. mv ~/.config/ardour8 ~/.config/ardour8.bak) , so in case it does, we can investigate; or you can restore it in case it makes no differences.

ah! i was hunting around for the config file in /opt.

yes – moving it out of the way now has the program running. it’s on the Session Setup page now. is there anything useful i can do in gdb at this point?

No but please upload the old ~/.config/ardour8.bak/config file.
I suspect it contains some old invalid Engine state, which causes this.

here’s a link to a variety-pack. you will see two from my ardour7 testing yesterday and the one that was moved aside this morning

http://172.232.31.116/Recordings/

btw – i can give you credentials to this server if you’d like to tinker with it directly. it’s a throw-away, i can rebuild it in 10 minutes if you break it.

@OConnorStP said:

I have the feeling there’s more-detailed logging available – but I can’t figure out where it is.

I too use Debian 12, but on my local computer with XFCE4 desktop. I use the PipeWire from the Debian package and run the Ardour package with prefix ‘pw-jack’. The other suggestion in documentation under /usr/share/doc/pipewire about dynamic linking of shared object (so) code did not work for me.
zcat /usr/share/doc/pipewire/README.Debian.gz
It caused package-installed Ardour 7 to not be able to control connections, and I love the green dot matrices, better than a graph application. You can read about my failed PipeWire upgrade attempt without a system install at My Newbie Perspective on Ardour 7.3.0 on Debian 12 with PipeWire , which is probably not very useful.

What might be useful on Debian 12 only is to run:
cat /log/var/README

By default all logging in Debian 12 is by systemd and accessed with the command-line command ‘journalctl’. You could put everything into the less pager (journalctl | less) and use the forward slash search feature. It is not clear to me how some of the filtering options work. In particular, this option combination is not very useful for me:
journalctl --user _SYSTEMD_UNIT=pipewire.service
whereas this is more useful to me (and seems to get a superset of results):
journalctl --user --unit=pipewire.service

You could try this (last option is optional for this usage):
journalctl --user --priority=2 --grep=ardour --no-pager [--output=verbose]

Good luck. I’m not a real programmer.

—Abyss

Abyss – good tip! i hadn’t realized until now that a lot of the logging has moved over to journalctl. i just spent some time driving around in there. unfortunately i didn’t find any clues, but the searching was fun. thanks!

i’m in a hurry, have to jump in the car and head out Real Soon Now… making lots of mistakes, but here is a text file with a few config files and a term session of the Ardour8 overnight. don’t have time to look at the config files. back Sunday afternoon.

1st run – under --gdb

I ran 8.0.36 this morning and couldn’t complete the 1st run under --gdb. i’ve attached a screen-grab of a little bit of the endless (seemingly looping but perhaps just probing a whole lot of stuff?) session. i let it run for about 5 minutes before killing the window.

ctl-C didn’t shut it down, so i don’t have a term-session of that run. but i did grab a mid-flight config file while the program was waiting for me at the Session Setup screen.

reinstalled it and didn’t import the plugins

since this seemed to be failing during plugin-verification, but it behaved the same way.

2nd run – straight from launcher - without gdb

it opened and i could load an empty session – however it didn’t ask for Audio Setup. there was an error in the log – “Patch without patch name list - patchfile ignored”

checked Audio Midi Setup, settings were correct (Dummy) and Jack was running. captured a 2nd-run config file.

3rd run – crashed from launcher - reran under gdb

captured a term session for the 3rd run and a config file at the end of the 3rd run

here is supporting stuff:

hi folks,

this one seems to have gone quiet. am i the cause? my apologies if i’m Doing This Wrong.

All the config files that you have posted on dropbox and are identical and none contains an EngineState. Yet the backtrace shows that this can’t be true.

I still have no idea how this can happen and why it is only an issue on your system, otherwise I would have replied earlier.

The forum is not a great place to keep track of issues, would you mind filing a bug report at tracker.ardour.org and attach the only last config file ~/.config/ardour8/config that is currently present? Thanks in advance.

Hi Robin,

yeah, the lack of EngineState popped in with the 8.0.36 release – i thought that was odd as well.

these systems are just Debian12 virtual servers on Linode. i build a new one from scratch every time i run a test for you, so i think this is likely something that is happening to other Deb12 users too. the nice thing is that this is easy to replicate.

thanks for the pointer to the bug-tracker. i’ll summarize this thread over there. it’ll probably be a day or two…