pulseaudio crash in bluez5-util.c
Summary
pulseaudio crashes in bluez5-util.c The crash occurs at line 1172 (a->application_registered = false;) I get a DBUS_MESSAGE_TYPE_ERROR error from line 1139 and jump to finish (maybe I have an old dbus version). This means the variable "a" is not initialized (line 1146) so the use of "a" in line 1172 causes a crash. I made a quick fix by initializing "a" to NULL (pa_bluetooth_adapter *a = NULL;) and modifying line 1172 (if (a) a->application_registered = false;). That seems to fix the problem!
environment
pa-info output attachedpa-info.txt
Steps to reproduce
switch on bluetooth adapter. No device paired. Restart pulseaudio
What is the current bug behavior?
SIGSEGV core dump
What is the expected correct behavior?
pulseaudio should continue to run