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)".
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.
(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?
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.
(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.
(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...
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!
(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.
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).
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.
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
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.