Bug 1946006 - Ardour keeps crashing in Fedora 34
Summary: Ardour keeps crashing in Fedora 34
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ardour6
Version: 34
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-03 14:11 UTC by naredra81
Modified: 2021-07-28 17:01 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-07-28 17:01:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description naredra81 2021-04-03 14:11:52 UTC
Description of problem:
Ardour keeps crashing in Fedora 34 after a certain points in time with no warning. Also crashes when renaming track or configuring plugins.

Version-Release number of selected component (if applicable):
Ardour 6.6.0

How reproducible:
Very reproducible

Steps to Reproduce:
1. Open or create a session of Ardour.
2. Play audio/MIDI track.
3. Wait some time or fiddle around with track name or plugins setting.

Actual results:
Ardour crashes without warning.

Expected results:
Ardour running normally.

Additional info:
I'm using pipewire that came with Fedora 34 beta, I don't have jack installed, only pipewire jack. Jack and alsa backend for Ardour crashes all the same, while pulseaudio backend doesn't even run. When running ardour6 from terminal the last output I can see is "Segmentation fault (core dumped)".

Comment 1 Guido Aulisi 2021-04-05 16:19:51 UTC
Can you try with jack-audio-connection-kit, temporarily uninstalling pipewire jack?
Can you get a stack frame from the crash? abrt should provide one.

Comment 2 naredra81 2021-04-05 19:22:58 UTC
(In reply to Guido Aulisi from comment #1)
> Can you try with jack-audio-connection-kit, temporarily uninstalling
> pipewire jack?
> Can you get a stack frame from the crash? abrt should provide one.

Installing jack-audio-connection-kit and uninstalling pipewire jack seems to fix the issue.
How do I get the stack frame from abrt?

Comment 3 Guido Aulisi 2021-04-05 20:04:24 UTC
Maybe you should file a bug against pipewire, too.
Abrt should kick in automatically, if not you should find a coredump in /var/spool/abrt.

Comment 4 naredra81 2021-04-05 20:17:56 UTC
(In reply to Guido Aulisi from comment #3)
> Maybe you should file a bug against pipewire, too.

Okay, will do.

> Abrt should kick in automatically, if not you should find a coredump in
> /var/spool/abrt.

Ahh I see, which file do I need to get now? Sorry I'm new to bug reporting.

Comment 5 Guido Aulisi 2021-04-05 20:34:45 UTC
(In reply to naredra81 from comment #4)
> > Abrt should kick in automatically, if not you should find a coredump in
> > /var/spool/abrt.
> 
> Ahh I see, which file do I need to get now? Sorry I'm new to bug reporting.
It's not a simple job, and we are not sure a coredump exists at all.
Don't worry about that for now...

Comment 6 Nils Philippsen 2021-05-24 19:22:38 UTC
NB: pipewire was updated to version 0.3.28 in the meantime, and I've just built version 6.7.0 of Ardour and submitted it as an update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-32a6bb95b9

The latter might take a day or so to reach the mirrors, but can you please try if these new versions help with your issue? Thanks!

Comment 7 naredra81 2021-05-28 05:21:31 UTC
(In reply to Nils Philippsen from comment #6)
> NB: pipewire was updated to version 0.3.28 in the meantime, and I've just
> built version 6.7.0 of Ardour and submitted it as an update here:
> https://bodhi.fedoraproject.org/updates/FEDORA-2021-32a6bb95b9
> 
> The latter might take a day or so to reach the mirrors, but can you please
> try if these new versions help with your issue? Thanks!

Thanks for the info, I will try it when I get the update.

Comment 8 naredra81 2021-05-31 09:09:18 UTC
While waiting for version 6.7.0, I tested version 6.6.0 again and here's what I found.

It doesn't crash arbitrarily as before. I could run it just fine without crashing randomly or within an interval of time.
It seems to crash when the load is heavy, such as opening another session after opening one. My machine should've handled it just fine, because it doesn't crash in my Ubuntu setup.

Pipewire seems to have fixed other problems I've had, such as crashing when fiddling around with track name or plugins, crashing after 30 second or so of playback, or having the wrong output (not crash related). So now I'm left with these minor crashes (Which looks like a memory management issue? I'm not sure).

Comment 9 Jonathan Bennett 2021-06-05 20:41:50 UTC
Nils, I ran a test with up-to-date Pipewire and Ardour 6.7. I recorded from 3 sources for over 2 hours without a crash. As far as I can tell, this particular bug is gone.

Comment 10 Bruno Vernay 2021-06-09 15:46:56 UTC
I was about to add that it crashes a lot, but it seems that Pipewire 0.3.29 is (was) responsible for most of the crashes:
https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.30

Comment 11 naredra81 2021-07-28 17:01:49 UTC
I can attest to PipeWire being the source of this problem. I'm going to close this now that it is no longer an issue and there's many other who agrees.


Note You need to log in before you can comment on or make changes to this bug.