View Issue Details

IDProjectCategoryView StatusLast Update
0007236ardourbugspublic2017-02-13 10:38
Reporterjwilliams Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status feedbackResolutionopen 
PlatformGNU/LinuxOSFedoraOS Version25
Product Version5.5 
Summary0007236: Ardour was working fine, now can't load sessions
DescriptionI had Ardour5 working fine, and spent several happy hours creating a song. Then one day I went to start Ardour, and it crashed on opening the session. What's more, it can't open any other sessions, or create new ones.

Maybe something happened during a system update? I have no idea. I've tried starting Ardour with plugins disabled, but the problem remains. I've spent several hours searching online for a solution, to no avail :-(
Steps To Reproduce1. Start jackd, either from terminal or qjackctl
2. Attempt to start Ardour
3. Weep with frustration as it fails
Additional InformationThe attached file shows the Ardour output from running from a terminal.

The following are

1. the output from ulimit
2. /etc/security/limits.d/95-jack.conf
3. the id command, showing my group membership.

The directives in the limit configuration file do not appear to be working! But, as I said above, Ardour was working fine (presumably under these conditions?), until one day it doesn't!

ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 63593
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 63593
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

> cat /etc/security/limits.d/95-jack.conf
# Default limits for users of jack-audio-connection-kit

@jackuser hard rtprio 90
@jackuser hard memlock unlimited

@pulse-rt - rtprio 20
@pulse-rt - nice -20


> id
uid=1001(john) gid=1001(john) groups=1001(john),10(wheel),63(audio),970(wireshark),975(vboxusers),978(jackuser),984(pulse-rt),1002(ipfs),1003(developers),1004(plugdev),1005(realtime) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
TagsNo tags attached.

Activities

jwilliams

2017-02-13 09:11

reporter  

ardour-session.txt (11,975 bytes)   

jwilliams

2017-02-13 09:13

reporter   ~0019371

Update: when starting jackd in non-realtime mode, ardour crashes with this:


/usr/lib64/ardour5/ardour-5.5.0: symbol lookup error: /usr/lib64/ardour5/vamp/libardourvampplugins.so: undefined symbol: kiss_fftr_alloc

jwilliams

2017-02-13 09:28

reporter   ~0019372

The ulimit problem appears to be a known bug in Fedora 25. However running >su - $USER means that the limits are applied correctly in the resulting shell, and jackd can start with realtime privileges. Also, Ardour no longer complains about being unable to lock memory, but has the following result (still unable to load or create sessions):

 ardour5
bind txt domain [gtk2_ardour5] to /usr/share/ardour5/locale
Ardour5.5.0 (built using 5.5 and GCC version 6.2.1 20160916 (Red Hat 6.2.1-2))
ardour: [INFO]: Your system is configured to limit Ardour to only 4,096 open files
ardour: [INFO]: Loading system configuration file /etc/ardour5/system_config
ardour: [INFO]: Loading user configuration file /home/john/.config/ardour5/config
ardour: [INFO]: CPU vendor: GenuineIntel
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
ardour: [INFO]: Using SSE optimized routines
Cannot xinstall SIGPIPE error handler
ardour: [INFO]: Loading default ui configuration file /etc/ardour5/default_ui_config
ardour: [INFO]: Loading user ui configuration file /home/john/.config/ardour5/ui_config
ardour: [INFO]: Loading color file /usr/share/ardour5/themes/dark-ardour.colors
ardour: [INFO]: Loading ui configuration file /etc/ardour5/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /etc/ardour5/clearlooks.rc
Found nothing along /home/john/.config/ardour5/templates:/usr/share/ardour5/templates
run dialog
protocol Wiimote active ? 0
protocol PreSonus FaderPort active ? 0
protocol Generic MIDI active ? 0
protocol Open Sound Control (OSC) active ? 0
protocol Mackie active ? 0
Scanning folders for bundled LV2s: /usr/lib64/ardour5/LV2
KP is ardour.keys
Set cursor set to default
Set buffering params to 262144|131072|10|10
/usr/lib64/ardour5/ardour-5.5.0: symbol lookup error: /usr/lib64/ardour5/vamp/libardourvampplugins.so: undefined symbol: kiss_fftr_alloc
Cannot read socket fd = 11 err = Connection reset by peer
Could not read notification result
ClientNotify fails name = ardour notification = 18 val1 = 0 val2 = 0
Cannot write socket fd = 11 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ardour notification = 18 val1 = 1 val2 = 0
Cannot write socket fd = 11 err = Broken pipe
CheckRes error
Could not write notification
ClientNotify fails name = ardour notification = 4 val1 = 0 val2 = 0
Cannot write socket fd = 11 err = Broken pipe

timbyr

2017-02-13 09:44

developer   ~0019373

To verify that this is not just an issue with the Fedora build of Ardour, can you please download the latest version (There is a demo) from ardour.org and let us know if you experience the same issue. Thanks.

x42

2017-02-13 10:38

administrator   ~0019376

When used with JACK, Ardour requires realtime permissions. However on recent Fedora there's:

https://bugzilla.redhat.com/show_bug.cgi?id=1364332
http://forums.fedoraforum.org/showthread.php?t=288601


As for the missing symbol, that sounds like a build/packaging mistake of your distro (Fedora does not use Ardour's internal libs)

I suggest to use a https://nightly.ardour.org/ build with Ardour's ALSA backend (no JACK) and file a bug report with Fedora.

Issue History

Date Modified Username Field Change
2017-02-13 09:11 jwilliams New Issue
2017-02-13 09:11 jwilliams File Added: ardour-session.txt
2017-02-13 09:13 jwilliams Note Added: 0019371
2017-02-13 09:28 jwilliams Note Added: 0019372
2017-02-13 09:44 timbyr Note Added: 0019373
2017-02-13 09:44 timbyr Status new => feedback
2017-02-13 10:38 x42 Note Added: 0019376