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

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bluez depends on:
ii  dbus          1.12.6-2
ii  kmod          25-1
ii  libasound2    1.1.3-5
ii  libc6         2.27-3
ii  libdbus-1-3   1.12.6-2
ii  libdw1        0.170-0.4
ii  libglib2.0-0  2.56.1-2
ii  libreadline7  7.0-3
ii  libudev1      238-4
ii  lsb-base      9.20170808
ii  udev          238-4

bluez recommends no packages.

Versions of packages bluez suggests:
ii  pulseaudio-module-bluetooth  11.1-5

-- no debconf information

Reply via email to