Re: [pulseaudio-discuss] [PATCH] bluetooth: Fix crash when disabling Bluetooth adapter

2019-07-02 Thread Tanu Kaskinen
On Wed, 2019-06-19 at 11:09 +0200, Frédéric Danis wrote: > This crash occurs when PA is connected to a phone through the oFono > backend. > When disabling the Bluetooth adapter, pa_bluetooth_device is removed before > hf_audio_card. Both keep refs on pa_bluetooth_transport. Those removal will >

[pulseaudio-discuss] [PATCH] bluetooth: Fix crash when disabling Bluetooth adapter

2019-06-19 Thread Frédéric Danis
This crash occurs when PA is connected to a phone through the oFono backend. When disabling the Bluetooth adapter, pa_bluetooth_device is removed before hf_audio_card. Both keep refs on pa_bluetooth_transport. Those removal will call pa_bluetooth_transport_free() from device_free() (bluez5-util.c)