Ardour 分段错误

Ardour 分段错误

我无法运行 Ardour。这是终端输出。我正在运行 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)

如果有任何线索的话,这是以 root 身份运行时的输出:

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

答案1

sudo或许是个线索。可能你对 Ardour 配置文件夹的权限错误。

要修复权限,请使用以下命令:

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

然后重新启动Ardour。

另外,请确保你已经遵循了《Ardour 手册》,尤其是Ubuntu Linux 设置页面

sudo usermod -a -G audio $USER

答案2

通过 Ardour IRC 得到了答案。原来,Ardour 与 Latte dock 中的全局菜单小程序冲突。

解决方案是 export UBUNTU_MENUPROXY=""在/usr/bin中添加ardour脚本。

这迫使 Ardour 忽略全局菜单并正常运行。

相关内容