Dear Maintainer,
Connecting the Sony headset WH-1000M4 crashed Gnome. journalctl reports
systemd[42405]: Reached target bluetooth.target - Bluetooth.
Jan 14 16:25:43 poincare wireplumber[42435]: spa.bluez5.native: RFCOMM receive command but modem not available: AT+NREC=0
Jan 14 16:25:58 poincare gsd-media-keys[42753]: Unable to get default source
Jan 14 16:26:07 poincare wireplumber[42435]: spa.bluez5.native: RFCOMM receive command but modem not available: AT+NREC=0
Jan 14 16:26:10 poincare gsd-media-keys[42753]: Unable to get default sink
Jan 14 16:26:10 poincare gsd-media-keys[42753]: **
Jan 14 16:26:10 poincare gsd-media-keys[42753]: Gvc:ERROR:../subprojects/gvc/gvc-mixer-stream.c:535:gvc_mixer_stream_get_port: code should not be reached
Jan 14 16:26:10 poincare gsd-media-keys[42753]: Bail out! Gvc:ERROR:../subprojects/gvc/gvc-mixer-stream.c:535:gvc_mixer_stream_get_port: code should not be reached
Jan 14 16:26:10 poincare gnome-shell[42580]: **
Jan 14 16:26:10 poincare gnome-shell[42580]: Gvc:ERROR:../subprojects/gvc/gvc-mixer-stream.c:535:gvc_mixer_stream_get_port: code should not be reached
Jan 14 16:26:10 poincare gnome-shell[42580]: Bail out! Gvc:ERROR:../subprojects/gvc/gvc-mixer-stream.c:535:gvc_mixer_stream_get_port: code should not be reached
Jan 14 16:26:10 poincare gnome-shell[42580]: == Stack trace for context 0x56093325bd70 ==
Jan 14 16:26:10 poincare gnome-shell[42580]: #0 560933328658 i resource:///org/gnome/shell/ui/init.js:21 (2b332f58d8d0 @ 48)
Jan 14 16:26:10 poincare systemd[42405]: org.gnome.SettingsDaemon.MediaKeys.service: Main process exited, code=killed, status=6/ABRT
The problem look a bit like
https://github.com/nixos/nixpkgs/issues/475202
and this comment presents a fix:
https://github.com/NixOS/nixpkgs/issues/475202#issuecomment-3700044293
Downgrading wireplumber (apt install wireplumber/stable) fixes the problem.
Best,
Christophe