Bug 1954542 - PipeWire 0.3.26 crashes after restarting the session very fast
Summary: PipeWire 0.3.26 crashes after restarting the session very fast
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: 34
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-28 11:10 UTC by Eduardo Medina
Modified: 2021-06-11 01:14 UTC (History)
7 users (show)

Fixed In Version: pipewire-0.3.27-1.fc34 pipewire-0.3.30-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-11 01:14:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fedora PipeWire bug (6.85 MB, video/mp4)
2021-04-28 11:10 UTC, Eduardo Medina
no flags Details

Description Eduardo Medina 2021-04-28 11:10:38 UTC
Created attachment 1776546 [details]
Fedora PipeWire bug

Description of problem:
Hi, I detected a bug with PipeWire in Fedora 34 Workstation that is a little hard to reproduce. If you restart the session very fast, you can see that PipeWire crashes and you can't restore it until reboot the whole computer.

Version-Release number of selected component (if applicable): PipeWire 0.3.26 on Fedora 34 Workstation


How reproducible:
If you use PipeWire 0.3.26 on Fedora 34 Workstation, you can start to use the session as usual, but if you close the session and restart it very fast, you can see that PipeWire crashes.

And I insist, you must restart the session very fast, you have to type your password very fast. If you restart the session slowly (you can wait and don't type anything for 30 seconds) you can see that PipeWire works correctly.

I saw this bug on GNOME Boxes and my physical hardware, where I use a Xonar DSX sound card because the ALC1220 chip of my motherboard is defective. Restarting PipeWire with systemctl I was able to restore PipeWire partially on GNOME Boxes, but on my physical hardware doesn't take any effect. The strange thing is to see the sound server apparently working in GDM,

Steps to Reproduce:
1. Log into Fedora 34 Workstation with PipeWire 0.3.26 installed.
2. Close the session and restart it very fast.
3. You can see PipeWire crashed.

Actual results:
PipeWire 0.3.26 is crashed after restarting the session very fast in Fedora 34 Workstation.


Expected results:
Obviously, to see PipeWire more resilient after restart the session.

Additional info:

Comment 1 trevor 2021-04-29 07:20:58 UTC
I too have this problem. (I didn't test slow restart, but just restarted Gnome-Shell to try and get some extensions working.)

Comment 2 trevor 2021-04-29 07:27:06 UTC
Tested restarting session with a delay of 3 minutes and pipewire did not crash.  So confirming Eduardo's findings.

Comment 3 gyanny 2021-05-02 15:07:16 UTC
This bug also affects me. I have a fresh install of fedora 34
I have to restart pipewire with "systemctl --user restart pipewire pipewire-pulse"  or with "pkill pipewire"

Comment 4 Fedora Update System 2021-05-06 09:37:42 UTC
FEDORA-2021-41bc11dd99 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-41bc11dd99

Comment 5 Fedora Update System 2021-05-07 01:03:41 UTC
FEDORA-2021-41bc11dd99 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Eduardo Medina 2021-05-07 10:56:17 UTC
I just tried with pipewire-0.3.27-1.fc34.x86_64 obtained from a regular update and the bug is still there.

I tried the same environments, Xonar DSX and GNOME Boxes.

Comment 7 gyanny 2021-05-07 12:44:18 UTC
just updated, pipewire-0.3.27-1.fc34.x86_64,  the bug is still there.

Comment 8 Eduardo Medina 2021-05-13 10:33:49 UTC
Just updated to pipewire-0.3.27-2.fc34.x86_64 and the bug is still present.

Comment 9 gyanny 2021-05-13 12:51:30 UTC
updated to pipewire-0.3.27-2.fc34.x86_64 no benefit, the bug is still there

Comment 10 Eduardo Medina 2021-05-20 11:41:06 UTC
I updated to pipewire-0.3.28-1.fc34.x86_64 and the server resists the first try (the first closing and reopening session), but if you close and reopen the session a second time very fast you can reproduce the bug yet.

It seems that bluez-5.58-2.fc34.x86_64 could be implicated, so I sent this through ABRT. https://bugzilla.redhat.com/show_bug.cgi?id=1962614

Comment 11 gyanny 2021-05-21 14:07:20 UTC
same as the Comment 10

Comment 12 waywardpooch 2021-05-21 15:28:42 UTC
I am facing the same issue described in comment 10 as well; when I boot my PC, pipewire works. When I log out then log back in once, pipewire survives. If I immediately log out then log back in a second time, pipewire fails (pipewire-0.3.28-1.fc34.x86_64).

Comment 13 Fedora Update System 2021-06-03 10:35:16 UTC
FEDORA-2021-4bd6fdd9d3 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4bd6fdd9d3

Comment 14 Fedora Update System 2021-06-04 01:18:18 UTC
FEDORA-2021-4bd6fdd9d3 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4bd6fdd9d3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4bd6fdd9d3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Eduardo Medina 2021-06-04 11:31:43 UTC
I closed and reopened the session ten times very fast and pipewire-0.3.29-1.fc34.x86_64 resisted on GNOME Boxes and on the Xonar DSX I use in my physical machine.

Comment 16 Fedora Update System 2021-06-09 07:41:43 UTC
FEDORA-2021-29223a7ff9 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-29223a7ff9

Comment 17 Fedora Update System 2021-06-10 01:19:43 UTC
FEDORA-2021-29223a7ff9 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-29223a7ff9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-29223a7ff9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2021-06-11 01:14:55 UTC
FEDORA-2021-29223a7ff9 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


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