I just upgraded my system to just released Kubuntu 24.10. Everything is working just fine… except Ardour. It crashes on start with segmentation fault.
Ardour starts, lets me create new session or open existing one, and when the app wants to open its main window it crashes with segmentation fault.
I tried different window managers and display servers:
X11, Wayland, Gnome, KDE 6.1
And several Ardour versions:
8.6 from system repos, 8.9-3 and 8.9 builded from sources (compilation went fine),
Different audio engines:
JACK/Pipewire, ALSA, Pulse audio
and the safe mode with plugins disabled.
Download a free demo copy from Download Ardour | Ardour Community and see if that crashes too. It can be installed (and de-installed) independently of your distro version or the one you built.
If that reveals nothing, read https://ardour.org/debugging_ardour and follow the instructions to run inside a debugger and get a stack trace.
OK. Demo allows me to open new session, but if I try to load existing one, Ardour starts to consume all system resources. When it takes all RAM, system kills the process.
Screenshot: Ardour takes 100% CPU and 90.2% RAM (just before system kills it).
Observation no 1: This memory devouring can be probably caused by Yabridge or Wine. I have only one plugin wrapped by Yabridge: MTPower Drumkit II. If I add this pugin to an empty session, the memory leaking problem is observed and Ardour eventually crashes.
Observation no 2: the only version that can be run is the official demo. Other versions (from repos and compiled myself) crashes even in safe mode and new empty session.
Next, I want to run Ardour in debug mode and get the traces.
Edit 1:
The memory leaking problem with Yabridge / Wine is system wide.
Bitwig Studio behaves exactly the same as Ardour - takes whole RAM then crashes (sandboxing doesn’t help).
Studio One hangs and becomes unresponsive,
The only two DAWs that open the plugin and work OK are Tracktion Waveform and Reaper.
I created bug report 0009822 with traces attached (but I couldn’t choose Ardour version in the “report issue” form, Mixbus 10 appears on the drop-down list only). Maybe this issue is related to the libpango. I don’t know that…
Edit 3:
If I copy pango and cairo libraries from demo version “libs” directory to the compiled one - Ardour runs OK, as long as the opened session doesn’t have Yabridge plugins. In my system these libs are in version 1.54.
Yabridge plugins issue and Ardour+(K)ubuntu 24.10 issue look like two separate issues with no interaction between each other. For testing purpose I installed few other Windows plugins + Yabridge wrapper, all of them make Ardour hang.
In my case, i was able to launch a new ardour session (with 8.6 and 8.10 community version) but i Cant open my old projects… Perhaps the problems are my plugins loaded? the old format file project? i dont know
What version of Wine? Are you sure Ubuntu isn’t just shipping a bad Wine version (in the context of Audio Plugins) for 24.10…? I don’t know why you wouldn’t just use a Ubuntu ‘.04’ version for production anyway… The ‘.10’s’ have short support cycles and are where they try out stuff between LTS versions. Fun place to visit new features, probably not a great production base.
If you get Wine from winehq you can go back and forth with Wine versions with apt commands. If I have a working Wine I always pin it and don’t change it unless I can guarantee it will support the Plugins I use.
I am running UbuntuStudio 24.10 (Wayland) with Ardour 8.10 (previously 8.8) and it is working for me with existing sessions I have created. Setup is Steinberg UR22 Mk2 Interface with ALSA (256 buffer size).
If you want to add additional notes or reports to above bugs, please do it there. @vud1 - thanks for your comment!
The pango issue can be “fixed” by copying 8 files containing “pango” in their names from /lib directory of Ardour demo downloaded from official website to Ardour /lib/ardour8 directory (for source builders):
In my case, when i delete (rename better) the .wine folder I can launch my ardour project (but without vst win plugins). If I try to scan or to load a win plugin (thought yabridge) ardour freeze…
I have installed carla with carla-bridge-win32 and carla-bridge-win64 packages
I have scan vst plugins from carla and i can launch ezdrummer3 inside carla standalone app. It seems to work.
Then, i have launch ardour and add carla-rackfz plugin to a ardour track. I tried to load ezdrummer 3 inside carla-rackfz plugin… ardour Freeze.
The i try to use experimental carla option “export as lv2”. I launch carla in standalone, load ezdrummer on it and right click “export as lv2”. Open ardour and try to load ezdrummer3.lv2 in a track… ardour freeze.
As you can see for Ubuntu 24.10 (Oracular Oriole) the only version available is 9.20.
Older versions are available for previous ubuntu release (noble numbat):
If I try to install older version, I get error like this:
$ apt-get install winehq-staging=9.16~noble-1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
winehq-staging : Depends: wine-staging (= 9.16~noble-1)
E: Unable to correct problems, you have held broken packages.
$ apt-get install wine-staging=9.16~noble-1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
wine-staging : Depends: wine-staging-i386 (= 9.16~noble-1)
Depends: wine-staging-amd64 (= 9.16~noble-1) but 9.20~oracular-1 is to be installed
E: Unable to correct problems, you have held broken packages.