Created attachment 764093 [details] gdb-debug The segmentation fault happens only when stopping the very first recording of a new session in ardour ran through pipewire's pw-jack command. Steps to reproduce the bug: - Turn on computer - Login on KDE via .xinitrc - Start ardour: $ pw-jack ardour6 - Create a New session - Add a mono audio track - Start recording - Stop recording - Segfault Next time the session is opened, it's possible to record without problems. Starting the computer, opening an existing session and starting recording works fine.
Created attachment 764094 [details] emerge-info
Please test, if it is fixed in -9999 already. If not you should report it upstream and link the ticket here. https://tracker.ardour.org/my_view_page.php We can not fix this in the ebuild without a patch.
Version 9999 doesn't crash when following the steps to reproduce the bug. I'd say it's fixed
Since the bug is about 0.3.44-r1 and it's fixed in git master, it might already be fix in 0.3.45_p20220205, too. If not, it's probably worth just adding another snapshot, because there's definitely interesting fixes since February 5.
(In reply to Niklāvs Koļesņikovs from comment #4) > Since the bug is about 0.3.44-r1 and it's fixed in git master, it might > already be fix in 0.3.45_p20220205, too. If not, it's probably worth just > adding another snapshot, because there's definitely interesting fixes since > February 5. I emerged ardour-9999 and tested the steps to reproduce the bug starting ardour with $ pw-jack ardour6 (pipewire-0.3.44-r1) It seems to work fine. Since you mentioned I upgraded pipewire and wireplumber (media-video/pipewire-0.3.45_p20220205 media-video/wireplumber-0.4.8-r1), reboot, and tested the steps to reproduce the bug starting ardour with $ pw-jack ardour6 It seems to work fine as well. Note: with pipewire-0.3.45_p20220205 and old version of wireplumber (can't remember which), ardour crashed when trying to reproduce the bug.
(In reply to paulverone91 from comment #5) > (In reply to Niklāvs Koļesņikovs from comment #4) > > Since the bug is about 0.3.44-r1 and it's fixed in git master, it might > > already be fix in 0.3.45_p20220205, too. If not, it's probably worth just > > adding another snapshot, because there's definitely interesting fixes since > > February 5. > > I emerged ardour-9999 and tested the steps to reproduce the bug starting > ardour with $ pw-jack ardour6 (pipewire-0.3.44-r1) > > It seems to work fine. > > Since you mentioned I upgraded pipewire and wireplumber > (media-video/pipewire-0.3.45_p20220205 media-video/wireplumber-0.4.8-r1), > reboot, and tested the steps to reproduce the bug starting ardour with $ > pw-jack ardour6 > > It seems to work fine as well. > > Note: with pipewire-0.3.45_p20220205 and old version of wireplumber (can't > remember which), ardour crashed when trying to reproduce the bug. Sorry, didn't test enough probably. It's crashing again with pipewire-0.3.45_p20220205 and wireplumber-0.4.8-r1
I see. I was wrong in assuming that the bug was in PipeWire. ;) WirePlumber has relatively tight coupling to PipeWire. For now the assumption is that it's only WirePlumber needing new enough PipeWire but, if updating PW while keeping the old WP is failing, then perhaps it's even stricter and we need to make PipeWire also require certain minimum version of WirePlumber (or maybe just bump the subslot on each PipeWire update).
(In reply to Niklāvs Koļesņikovs from comment #7) > I see. I was wrong in assuming that the bug was in PipeWire. ;) > > > WirePlumber has relatively tight coupling to PipeWire. For now the > assumption is that it's only WirePlumber needing new enough PipeWire but, if > updating PW while keeping the old WP is failing, then perhaps it's even > stricter and we need to make PipeWire also require certain minimum version > of WirePlumber (or maybe just bump the subslot on each PipeWire update). Found some clues. Here the steps: - Downgraded to wireplumber-0.4.7-r2 and pipewire-0.3.44-r1 - Reboot - Follow steps to reproduce bug - Ardour doesn't crash when stop recording. - Reboot - Follow steps to reproduce bug - Ardour crashes when stop recording Then I upgraded again to wireplumber-0.4.8-r1 and pipewire-0.3.45_p20220205 -Reboot - Follow steps to reproduce bug - Ardour doesn't crash when stop recording. - Reboot - Follow steps to reproduce bug - Ardour crashes when stop recording
Created attachment 764935 [details] dmesg
Is this still happening with PipeWire 0.3.51? Ardour seemed to be working fine when I tested it with the git master shortly before 0.3.51 was released.
(In reply to Niklāvs Koļesņikovs from comment #10) > Is this still happening with PipeWire 0.3.51? Ardour seemed to be working > fine when I tested it with the git master shortly before 0.3.51 was released. Still happening on my system, following the described steps, with same error posted in last dmesg: RT-main-(nil)[3057]: segfault at 17ffca00 ip 00007fc4b1ce407b sp 00007fc49a7fb670 error 6 in libardour.so.3.0.0[7fc4b1b98000+701000] After the first crash, next sessions record properly.
(In reply to Niklāvs Koļesņikovs from comment #10) > Is this still happening with PipeWire 0.3.51? Ardour seemed to be working > fine when I tested it with the git master shortly before 0.3.51 was released. Tested today with Ardour-7 and pipewire-0.3.59 and it works! The segfault still happens if using Ardour-6.9-r2 and pipewire-0.3.59
ardour-6.9 is gone