Ardour crashes under new Kubuntu 24.10

Hi All!

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.

I also removed config directory.
Nothing helps.

What else can I check?

Thanks!
Skygge.

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).
obraz

This is not behavior I have seen reported before.

Lets wait a moment for other user reports.

Does „safe mode: disable plugins“ (option in recent session dialog) help?

Not really. Still investigating.

  • 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.

Edit 2:

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.

I don’t know what else can I do. Regards!

Same issue here.

I have just upgrade ubuntu 24,04 to 24.10. Ardour has uptade from ardour8.4 to 8.6… now does not run.

I have installed ardour 8.10 from community free package… same result at the moment

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.

2 Likes

In ubuntu 24.10 winehq repositories the winehq staging version is 9.20

in my case, its the yabridge.

Ardour freezie when It tries to load Melodyne (or another vst win plugin):

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).

I can also create and record a new session.

I don’t have/use any Windows plugins though!

Phil

Hi!
I reported a bug in Yabridge (memory leaking issue) here:

and in Ardour (pango v1.54 crash) here:
https://tracker.ardour.org/view.php?id=9822

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):

  • libpango-1.0.so
  • libpango-1.0.so.0
  • libpangocairo-1.0.so
  • libpangocairo-1.0.so.0
  • libpangoft2-1.0.so
  • libpangoft2-1.0.so.0
  • libpangomm-1.4.so
  • libpangomm-1.4.so.1

Skygge

I replied u in the yabridge git :slight_smile:

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 tried alternatives…

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.

:frowning_face:

I dont have more ideas to try…

Did you try to downgrade wine-staging to another version, reregister wineasio, and run yabridgectl?

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):

$ apt list -a winehq-staging
winehq-staging/oracular,now 9.20~oracular-1 amd64 [installed]
winehq-staging/noble 9.19~noble-1 amd64
winehq-staging/noble 9.18~noble-1 amd64
winehq-staging/noble 9.17~noble-1 amd64
winehq-staging/noble 9.16~noble-1 amd64
winehq-staging/noble 9.15~noble-1 amd64
winehq-staging/noble 9.14~noble-1 amd64
winehq-staging/noble 9.13~noble-1 amd64
winehq-staging/noble 9.12~noble-1 amd64
winehq-staging/noble 9.11~noble-1 amd64
winehq-staging/noble 9.10~noble-1 amd64
winehq-staging/noble 9.9~noble-1 amd64
winehq-staging/noble 9.8~noble-1 amd64

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.

Can i ask you, how did you get to run wineasio? I tried a couple of times to compile it, but without success. I can’t register…

hmmm… I don’t know what it is. I always just install wine-staging and that’s it.