<div dir="ltr"><div><div dir="auto">Package: gnome-shell<br>Version: 50.2-3<br>Severity: important<br>X-Debbugs-Cc: <a href="mailto:heyleng@gmail.com" target="_blank">heyleng@gmail.com</a><br><br>Dear Maintainer,<br><br>gnome-shell (Wayland session) aborts when a Bluetooth headset's card<br>profile changes rapidly, killing the whole session:<br><br>Jun 10 16:36:36 gnix gnome-shell[4249]: Gvc:ERROR:../subprojects/gvc/gvc-mixer-card.c:211:_pa_context_set_card_profile_by_index_cb: assertion failed: (card->priv->target_profile)<br>Jun 10 16:36:36 gnix gnome-shell[4249]: Bail out! Gvc:ERROR:../subprojects/gvc/gvc-mixer-card.c:211:_pa_context_set_card_profile_by_index_cb: assertion failed: (card->priv->target_profile)<br><br>This looks related to, but distinct from, #1126514: that bug covered the<br>"code should not be reached" assertion in gvc-mixer-stream.c:535 and was<br>fixed in 49.3-2 by updating the bundled libgvc. The target_profile<br>assertion in gvc-mixer-card.c:211 is still present in the libgvc snapshot<br>shipped with 50.2-3, and is reachable when the set-card-profile callback<br>fires after target_profile has already been cleared by a subsequent<br>profile change (same class of race; previously seen in Ubuntu as<br>LP: #1990952 in gnome-control-center's copy).<br><br>Trigger in my case: the headset (EPOS H3PRO) had failing Bluetooth audio<br>transports, causing WirePlumber to flip the card profile repeatedly:<br><br>Jun 10 16:35:58 gnix wireplumber[2360]: spa.bluez5: Acquire /org/bluez/hci0/dev_00_16_94_7F_1E_A5/sep1/fd0 returned error: org.bluez.Error.Failed<br>Jun 10 16:35:58 gnix wireplumber[2360]: spa.bluez5: Failure in Bluetooth audio transport /org/bluez/hci0/dev_00_16_94_7F_1E_A5/sep1/fd0<br>Jun 10 16:36:03 gnix wireplumber[2360]: spa.bluez5: Failure in Bluetooth audio transport /org/bluez/hci0/dev_00_16_94_7F_1E_A5/fd52<br>Jun 10 16:36:10 gnix wireplumber[2360]: spa.bluez5: Failure in Bluetooth audio transport /org/bluez/hci0/dev_00_16_94_7F_1E_A5/fd52<br>Jun 10 16:36:36 gnix gnome-shell[4249]: Gvc:ERROR:../subprojects/gvc/gvc-mixer-card.c:211:_pa_context_set_card_profile_by_index_cb: assertion failed: (card->priv->target_profile)<br><br>A core dump was captured (coredumpctl, SIGABRT, PID 4249, 2026-06-10<br>16:36:37 CEST); I can provide a backtrace on request.<br><br>Workaround that avoids the trigger:<br>  wpctl settings --save bluetooth.autoswitch-to-headset-profile false<br><br>Relevant versions:<br>  gnome-shell        50.2-3<br>  wireplumber        0.5.14-1<br>  pipewire           1.6.6-1<br>  libspa-0.2-bluetooth 1.6.6-1<br>  Kernel             7.0.12+deb14-amd64<br>  Bluetooth          Intel BE201 (btintel_pcie, PCI 8086:A876)<br>  Session            GNOME on Wayland<br><br></div></div><div>Thanks</div><div>Glenn</div></div>