[pulseaudio-discuss] Assertion failed while switching card profiles

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Sun Jan 26 11:18:29 PST 2014

On Sat, 2014-01-25 at 00:43 +0200, Iskren Hadzhinedev wrote:
> I have a Marmitek BoomBoom 540 bluetooth headset.
> I connected it with the hsp profile and setup the microphone to be the 
> preferred recording device in KDE sound settings. Then I switched the profile 
> to a2dp for high-quality audio. When the Bluetooth microphone is unavailable 
> KDE falls back to the integrated one in the laptop.
> When I fire a recording application it's playing through the Bluetooth headset 
> while using the integrated laptop microphone. When I switch the profile from 
> a2dp to hsp the bluetooth microphone gets re-registered and KDE switches 
> automatically to the preferred device and that's where the assertion failed 
> message pops and pulseaudio stops. I can switch to hsp before running a 
> recording application and after launching it, it's using the headset 
> microphone without issues. I can switch from hsp to a2dp in that case and it 
> switches to the laptop mic as expected, but reverting from a2dp back to hsp 
> aborts the daemon again.
> I'm attaching a backtrace as per instructions from
> http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Community/
> If there's something I'm missing please tell me so I can provide more 
> information.
> Thank you for your time!

Thanks, the backtrace was very useful, as was the detailed description
of how to reproduce the crash. I sent a patch ("device-manager: Don't
try to use unlinked devices"), and I verified that it fixes the crash.


More information about the pulseaudio-discuss mailing list