Score:0

Ardour segmentation fault

ug flag

I can't get Ardour to run. This is the terminal output. I'm running Kubuntu 20.04.

~$ ardour
Ardour6.5.0~ds0 (built using 6.5.0~ds0-1~ubuntu20.04.1~ppa1 and GCC version 9.3.0)
Ardour: [INFO]: Your system is configured to limit Ardour to 1048576 open files
Ardour: [INFO]: Loading system configuration file /etc/ardour6/system_config
Ardour: [INFO]: CPU vendor: GenuineIntel
Ardour: [INFO]: AVX-capable processor
Ardour: [INFO]: CPU brand: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Ardour: [INFO]: Using AVX optimized routines
Ardour: [INFO]: Loading plugin meta data file /usr/share/ardour6/plugin_metadata/plugin_tags
Ardour: [INFO]: Loading default ui configuration file /etc/ardour6/default_ui_config
Ardour: [INFO]: Loading 449 MIDI patches from /usr/share/ardour6/patchfiles
Ardour: [INFO]: Loading color file /usr/share/ardour6/themes/dark-ardour.colors
Ardour: [INFO]: Loading ui configuration file /etc/ardour6/clearlooks.rc
Ardour: [INFO]: Loading bindings from /etc/ardour6/ardour.keys
Loading ui configuration file /etc/ardour6/clearlooks.rc
set default folder to /home/caleb
Segmentation fault (core dumped)

This is the output when ran as root if that has any clues:

sudo ardour
[sudo] password for caleb: 
Ardour6.5.0~ds0 (built using 6.5.0~ds0-1~ubuntu20.04.1~ppa1 and GCC version 9.3.0)
Ardour: [INFO]: Your system is configured to limit Ardour to 1048576 open files
Ardour: [INFO]: Loading system configuration file /etc/ardour6/system_config
Ardour: [INFO]: Loading user configuration file /root/.config/ardour6/config
Ardour: [INFO]: CPU vendor: GenuineIntel
Ardour: [INFO]: AVX-capable processor
Ardour: [INFO]: CPU brand: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Ardour: [INFO]: Using AVX optimized routines
Ardour: [INFO]: Loading plugin meta data file /usr/share/ardour6/plugin_metadata/plugin_tags
Ardour: [INFO]: Loading plugin statistics file /root/.config/ardour6/plugin_metadata/plugin_stats
Ardour: [INFO]: Loading default ui configuration file /etc/ardour6/default_ui_config
Ardour: [INFO]: Loading user ui configuration file /root/.config/ardour6/ui_config
Ardour: [INFO]: Loading 449 MIDI patches from /usr/share/ardour6/patchfiles
Ardour: [INFO]: Loading color file /usr/share/ardour6/themes/dark-ardour.colors
Ardour: [INFO]: Loading ui configuration file /etc/ardour6/clearlooks.rc
Ardour: [INFO]: Loading bindings from /etc/ardour6/ardour.keys
Loading ui configuration file /etc/ardour6/clearlooks.rc
Found nothing along /root/.config/ardour6/templates:/usr/share/ardour6/templates


$ apt-cache policy ardour
ardour:   
Installed: 1:6.5.0+ds0-1~ubuntu20.04.1~ppa1   
Candidate: 1:6.5.0+ds0-1~ubuntu20.04.1~ppa1   
Version table:
  *** 1:6.5.0+ds0-1~ubuntu20.04.1~ppa1 500         
500 http://ppa.launchpad.net/ubuntustudio-ppa/ardour-backports/ubuntu focal/main amd64 Packages         
100 /var/lib/dpkg/status      
1:5.12.0-3ubuntu4 500         
500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
calebp avatar
ug flag
An additional finding: Ardour will run if I use sudo.
N0rbert avatar
zw flag
What is the output of `apt-cache policy ardour` ?
calebp avatar
ug flag
`ardour: Installed: 1:6.5.0+ds0-1~ubuntu20.04.1~ppa1 Candidate: 1:6.5.0+ds0-1~ubuntu20.04.1~ppa1 Version table: *** 1:6.5.0+ds0-1~ubuntu20.04.1~ppa1 500 500 http://ppa.launchpad.net/ubuntustudio-ppa/ardour-backports/ubuntu focal/main amd64 Packages 100 /var/lib/dpkg/status 1:5.12.0-3ubuntu4 500 500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages`
vn flag
Did you try some options like `--disable-plugins` (safe mode) or `--no-hw-optimizations`?
Score:0
ug flag

Got the answer through the Ardour IRC. It turns out, Ardour conflicts with the global menu applet in Latte dock.

The solution is to add export UBUNTU_MENUPROXY="" to the ardour script in /usr/bin.

That forces Ardour to ignore the global menu and run properly.

Score:0
zw flag

The sudo maybe a clue. Possibly you have wrong permissions for Ardour configuration folders.

To fix the permissions use command below:

sudo chown -R $USER:$USER ~/.config/ardour6 ~/.config/ardour5

and then restart Ardour.

Also make sure that you have followed The Ardour Manual, especially Ubuntu Linux setup page:

sudo usermod -a -G audio $USER
calebp avatar
ug flag
I assume `$USER` I should replace with my username or type as-is?
N0rbert avatar
zw flag
Use it as written, it is variable. It will be substituted with your actual username by shell.
vn flag
[`$USER` will be replaced automatically](https://linuxconfig.org/how-to-set-and-list-environment-variables-on-linux#h1-list-environment-variables) (run `echo $USER`)
calebp avatar
ug flag
This did not fix it.
N0rbert avatar
zw flag
Please reboot and try again.Then try good idea which was recommended by @PabloBianchi - "Did you try some options like `--disable-plugins` (safe mode) or `--no-hw-optimizations`? "
calebp avatar
ug flag
Rebooted and tried the options. Still no luck.
N0rbert avatar
zw flag
I'm not Ardour expert, but did you tried to use JACK or PulseAudio at launch dialog?
calebp avatar
ug flag
When it runs as root, I used PulseAudio. I don't have JACK installed. When I run as normal user, I never get to the launch dialog.
calebp avatar
ug flag
Scratch that. I used ALSA. It wouldn't connect to Pulse.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.