FS#57939 - [bluez] bluez 5.49.1 segfault when trying to activate visibility
Attached to Project:
Arch Linux
Opened by Francisco Gonzalez (gzmorell) - Saturday, 24 March 2018, 18:09 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 31 January 2019, 21:12 GMT
Opened by Francisco Gonzalez (gzmorell) - Saturday, 24 March 2018, 18:09 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 31 January 2019, 21:12 GMT
|
Details
Description:
Unable to activate bluetooth device visibility in Lenovo T420 Additional info: * package version(s) bluez 5.49.1 The problem seems to be described here: https://www.spinics.net/lists/linux-bluetooth/msg74984.html It seems to affect to bluetooth adapters with no BLE which is the case of mine. Applying the patch recommended the issue is solved: * config and/or log files etc. --- a/src/advertising.c 2018-03-10 07:37:07.000000000 -0800 +++ b/src/advertising.c 2018-03-22 13:57:17.229968345 -0700 @@ -1171,8 +1171,10 @@ void btd_adv_manager_destroy(struct btd_ manager_destroy(manager); } void btd_adv_manager_refresh(struct btd_adv_manager *manager) { - queue_foreach(manager->clients, (queue_foreach_func_t)refresh_adv, - NULL); + if (manager != NULL) { + queue_foreach(manager->clients, (queue_foreach_func_t)refresh_adv, + NULL); + } } Steps to reproduce: |
This task depends upon
Let's wait for a proper fix that goes upstream.