Bug 2431525 - gnome-settings-daemon crash (assertion failed) in gvc_mixer_stream_get_port when switching Bluetooth headset to HFP
Summary: gnome-settings-daemon crash (assertion failed) in gvc_mixer_stream_get_port w...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-settings-daemon
Version: 42
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: GNOME SIG Unassigned
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-21 08:32 UTC by nbrown72504
Modified: 2026-01-29 18:25 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description nbrown72504 2026-01-21 08:32:37 UTC
I’m running Fedora 43 with a Sony WH-1000XM6 headset. When switching the audio profile from A2DP (High Fidelity) to HFP (Handsfree/Headset) to use the microphone, the session immediately crashes and kicks me to the login screen.

Reproducible: Always

Steps to Reproduce:
1. Connect bluetooth headset (Sony XM6)
2. Ensure profile is set to A2DP (Default)
3. In GNOME settings, switch sound output to handsfree OR trigger microphone usage in an app
Actual Results:
GNOME Shell session crashes and user is logged out


Additional Information:
coredumpctl shows gsd-media-keys aborting.
Journal logs show an assertion failure in libgnome-volume-control (Gvc).

Jan 21 03:12:12 niks-thinkpad gsd-media-keys[550160]: Unable to get default source
Jan 21 03:12:13 niks-thinkpad audit[550160]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=29 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=550160 comm="gsd-medi>
Jan 21 03:12:13 niks-thinkpad gsd-media-keys[550160]: **
Jan 21 03:12:13 niks-thinkpad gsd-media-keys[550160]: Gvc:ERROR:../subprojects/gvc/gvc-mixer-stream.c:535:gvc_mixer_stream_get_port: code should not be reached
Jan 21 03:12:13 niks-thinkpad gsd-media-keys[550160]: Bail out! Gvc:ERROR:../subprojects/gvc/gvc-mixer-stream.c:535:gvc_mixer_stream_get_port: code should not be reached
Jan 21 03:12:15 niks-thinkpad gsd-media-keys[556268]: Failed to grab accelerators: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Jan 21 03:12:15 niks-thinkpad gsd-media-keys[556268]: Failed to grab accelerators: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Jan 21 03:12:15 niks-thinkpad gsd-media-keys[556268]: g_hash_table_size: assertion 'hash_table != NULL' failed
Jan 21 03:12:17 niks-thinkpad gsd-media-keys[556763]: Failed to grab accelerator for keybinding settings:hibernate
Jan 21 03:12:17 niks-thinkpad gsd-media-keys[556763]: Failed to grab accelerator for keybinding settings:playback-repeat
Jan 21 03:12:24 niks-thinkpad gsd-media-keys[556763]: Unable to get default sink
Jan 21 03:12:24 niks-thinkpad gsd-media-keys[556763]: Unable to get default source
Jan 21 03:12:26 niks-thinkpad gsd-media-keys[558218]: Failed to grab accelerator for keybinding settings:hibernate
Jan 21 03:12:26 niks-thinkpad gsd-media-keys[558218]: Failed to grab accelerator for keybinding settings:playback-repeat

Comment 1 Fedora Admin user for bugzilla script actions 2026-01-21 08:32:44 UTC
Bug reports for this component on Red Hat Bugzilla are not actively monitored. Please consider reporting your issue directly to GNOME at https://gitlab.gnome.org/GNOME/ to improve the chances that your issue will be resolved. This issue should only be kept open if it:

1. Relates to Fedora packaging or integration with other Fedora components
2. Is required for Fedora release processes, such as blocker bugs and freeze exceptions

If this issue isn't needed for either of these two reasons, please:

 * create an issue with GNOME
 * add a link to the GNOME issue here
 * close this issue as CLOSED/UPSTREAM

Thank you!

Comment 2 julien.ravaiau+redhat 2026-01-21 11:39:35 UTC
Product: Fedora
Component: gnome-shell
Version: 43
Severity: high

Summary: GNOME Shell crashes when connecting Bluetooth headset (wireplumber 0.5.13 + gvc assertion failure)
Description of problem: GNOME Shell crashes immediately when connecting a Bluetooth headset. The crash occurs during the automatic profile switch to HSP/HFP (Handsfree) mode.

Version-Release number of selected component:
gnome-shell-49.2-2.fc43.x86_64
wireplumber-0.5.13-1.fc43.x86_64

How reproducible: 100%
Steps to Reproduce:
- Connect a Bluetooth headset
- Wait for automatic profile switch to Handsfree mode

Actual results:
GNOME Shell crashes and user is logged out to GDM.
Journal output:
janv. 21 12:14:30 lapt-009 gsd-media-keys[11409]: Gvc:ERROR:../subprojects/gvc/gvc-mixer-stream.c:535:gvc_mixer_stream_get_port: code should not be reached
janv. 21 12:14:30 lapt-009 gsd-media-keys[11409]: Bail out! Gvc:ERROR:../subprojects/gvc/gvc-mixer-stream.c:535:gvc_mixer_stream_get_port: code should not be reached

Expected results:
Bluetooth headset connects without crashing GNOME Shell.

Workaround:
wpctl settings bluetooth.autoswitch-to-headset-profile false

Upstream references:
This is a known issue affecting multiple distributions (Arch, Debian, Ubuntu, NixOS) with wireplumber 0.5.13.

libgnome-volume-control issue: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/issues/34
Fix available: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/31
GNOME Shell issue: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8948
PipeWire issue: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/5053

Ubuntu has confirmed that the fix in libgnome-volume-control MR #31 is required to resolve the crash (Pipewire/Wireplumber fixes alone are not sufficient).

Request: Please backport the fix from libgnome-volume-control MR #31 to gnome-shell in Fedora 43.

regards,
Julien

Comment 3 julien.ravaiau+redhat 2026-01-29 18:25:42 UTC
problem solved on f43

thank you


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