Ardour quits without warning, plus other error messages

I’ve been using Ardour since March this year and recently it’s been quitting without warning, see (1) below. I’d also be interested to know the appropriate way to stop the error messages reported in the Ardour log, see (3). Thanks in advance.

Ardour 5.10.0
“Atmospheres and Soundtracks”
(rev 5.10)
Intel 64-bit

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION=“Ubuntu 16.04.2 LTS”

Linux xphon 4.4.0-81-lowlatency #104-Ubuntu SMP PREEMPT Wed Jun 14 09:42:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

x86_64

(1) Ardour quits without warning, terminal reports (last few lines):

Cannot write socket fd = 24 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ardour notification = 10 val1 = 91 val2 = 0
Cannot write socket fd = 24 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ardour notification = 10 val1 = 92 val2 = 0
Unknown error…
terminate called after throwing an instance of ‘Jack::JackTemporaryException’
what():

(2) Typical terminal start up messages (last few lines):

JackGraphManager::Connect already connected port_src = 90 port_dst = 3
JackGraphManager::Connect already connected port_src = 91 port_dst = 4
Alist 324813 not found
(ardour-5.10.0:2101): GLib-CRITICAL **: Source ID 149 was not found when attempting to remove it
(ardour-5.10.0:2101): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 6 char 1: ‘colin.m.fletcher@googlemail.com’ is not a valid name: ‘@’
(ardour-5.10.0:2101): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 6 char 1: ‘colin.m.fletcher@googlemail.com’ is not a valid name: ‘@’
(ardour-5.10.0:2101): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 6 char 1: ‘colin.m.fletcher@googlemail.com’ is not a valid name: ‘@’
(ardour-5.10.0:2101): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 6 char 1: ‘colin.m.fletcher@googlemail.com’ is not a valid name: ‘@’

(3) Ardour log:

[ERROR]: LADSPA: cannot load module “/usr/lib/ladspa/ladspa_guitarix.so” (/usr/lib/ladspa/ladspa_guitarix.so: undefined symbol: ZN4sigc9slot_baseC1EOS0)
[ERROR]: LADSPA: cannot load module “/usr/lib/ladspa/sifter_1210.so” (/usr/lib/ladspa/sifter_1210.so: undefined symbol: q_sort)
[WARNING]: Ignoring LV2 plugin “LV2 Convolution Mono” because its buffer-size requirements cannot be satisfied.
[WARNING]: Ignoring LV2 plugin “LV2 Convolution Mono=>Stereo” because its buffer-size requirements cannot be satisfied.
[WARNING]: Ignoring LV2 plugin “LV2 Convolution Stereo” because its buffer-size requirements cannot be satisfied.
[WARNING]: Ignoring invalid LV2 plugin http://gareus.org/oss/lv2/onsettrigger#bassdrum_stereo
[INFO]: Loading bindings from /opt/Ardour-5.10.0/etc/ardour.keys
harvid version: 802
[INFO]: Loading menus from /opt/Ardour-5.10.0/etc/ardour.menus
[INFO]: Loading 88 MIDI patches from /opt/Ardour-5.10.0/share/patchfiles

Sometimes Ardour just freezes, here are the logs when that happens:

(4) Ardour locks up (last few lines of terminal - repeats):

JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = ardour was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = ardour was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackAudioDriver::ProcessGraphAsyncMaster: Process error

Ctrl-C


Could not write notification
ClientNotify fails name = ardour notification = 10 val1 = 92 val2 = 0
Unknown error…
terminate called after throwing an instance of ‘Jack::JackTemporaryException’
what():

(5) syslog:

Jun 25 20:41:26 xphon kernel: [ 9090.568969] show_signal_msg: 33 callbacks suppressed
Jun 25 20:41:26 xphon kernel: [ 9090.568972] ardour-5.10.0[2361]: segfault at 20 ip 00007fbf8cf6823c sp 00007ffc699da980 error 4 in libcairo.so.2[7fbf8cf1d000+151000]

Almost all of those messages are from JACK, not Ardour.

I would suggest you start by reading http://ardour.org/debugging_ardour

That will provide us with the information needed to diagnose what is happening.

Thank you Paul. Please excuse my naivety but I am keen to learn. Ardour starts Jack for me so I’m unsure how to modify the parameters it uses to reflect the without ‘realtime’ and also ‘timeout 5000’ settings.

The approach I’m using is the following but Ardour appears to want to start Jack even though it should be running in the background so I’m unsure if this is correct:

  • /usr/bin/jackd -t 5000 -p 2048 -T -d alsa -n 2 -r 48000 -p 256 -I 140 -O 140 -d hw:USB,0 -X raw &
  • /opt/Ardour-5.10.0/bin/ardour5 --gdb
  • run

Don’t run JACK with the -T option in this instance. That means run as a temporary server, so as soon as the first (and only client) quits, JACK will quit too. Ardour tries to become a client to see if JACK is running, and then stops being a client. The -T option is intended for cases where another program (for example, Ardour) starts JACK, not for regular users.