Control: severity -1 grave
Control: merge 898201 896845

Hi,

Thanks for your report.
This problem is same as 898201.
This fixed by commit:37a30b5435a45c3f8e233309fc70fc7de92b2e76 in upstream.

I will fix this problem by next upload.

Best regards,
  Nobuhiro

> Package: bluez
> Version: 5.49-1
> Severity: important
> Tags: upstream
>
> Hello,
>
> bluetoothd crashes when turning on discoverable with some Bluetooth
> adapters. 5.47-1 works fine.
>
> # bluetoothctl discoverable on
>
> causes:
>
> Program received signal SIGSEGV, Segmentation fault.
> btd_adv_manager_refresh (manager=0x0) at src/advertising.c:1176
> 1176    src/advertising.c: Toks failas ar aplankas neegzistuoja.
> (gdb) bt
> #0  btd_adv_manager_refresh (manager=0x0) at src/advertising.c:1176
> #1  0x000055bc1d76f702 in settings_changed (settings=<optimized out>, 
> adapter=0x55bc1f0a5120) at src/adapter.c:543
> #2  new_settings_callback (index=<optimized out>, length=<optimized out>, 
> param=<optimized out>, user_data=0x55bc1f0a5120) at src/adapter.c:573
> #3  0x000055bc1d79efc8 in request_complete (mgmt=mgmt@entry=0x55bc1f09d3e0, 
> status=<optimized out>, opcode=opcode@entry=6, index=index@entry=0, 
> length=length@entry=4, param=0x55bc1f09d469)
>     at src/shared/mgmt.c:261
> #4  0x000055bc1d79faed in can_read_data (io=<optimized out>, 
> user_data=0x55bc1f09d3e0) at src/shared/mgmt.c:353
> #5  0x000055bc1d7ac203 in watch_callback (channel=<optimized out>, 
> cond=<optimized out>, user_data=<optimized out>) at src/shared/io-glib.c:170
> #6  0x00007f9950d1e0f5 in g_main_context_dispatch () from 
> target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #7  0x00007f9950d1e4c0 in ?? () from 
> target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #8  0x00007f9950d1e7d2 in g_main_loop_run () from 
> target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #9  0x000055bc1d70f93b in main (argc=<optimized out>, argv=<optimized out>) 
> at src/main.c:770
> (gdb)
>
> Upstream seems to have fixes for that though but I have not tested them.
> It would nice to have them backported since this is a pretty significant
> regression.
>
> https://git.kernel.org/pub/scm/bluetooth/bluez.git/log/?qt=grep&q=btd_adv_manager_refresh
>

Reply via email to