[regression] Kernel crash in bluetooth with Bose QC35
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Konrad Zapałowicz |
Bug Description
Bose QC35 with latest firmware
Ubuntu 17.10
This is a regression from 17.04 Ubuntu Gnome. In 17.04, you had to temporarily disable `le` mode to pair but after pairing, everything worked flawlessly. In 17.10, pairing works out of the box, but the following issue appears:
After a few hours of being connected, the connection between bose qc35 and Ubuntu seemingly breaks: the headphones don't play any sound anymore. re-pairing fails and restarting the headphones doesn't fix the issue. It seems bluetoothd crashed conmpletely since `bluetoothctl` doesn't work anymore.. Restarting Ubuntu fixes the issue.
syslog contains a bunch of kernel stacktraces including a nullpointer dereference..
Oct 31 16:41:06 travers dbus-daemon[3888]: Activating via systemd: service name='org.
Oct 31 16:41:06 travers systemd[3874]: Starting Bluetooth OBEX service...
Oct 31 16:41:06 travers bluetoothd[1128]: Failed to set mode: Busy (0x0a)
Oct 31 16:41:06 travers obexd[29587]: OBEX daemon 5.46
Oct 31 16:41:06 travers dbus-daemon[3888]: Successfully activated service 'org.bluez.obex'
Oct 31 16:41:06 travers systemd[3874]: Started Bluetooth OBEX service.
Oct 31 16:41:06 travers bluetoothd[1128]: Failed to set mode: Busy (0x0a)
Oct 31 16:41:06 travers bluetoothd[1128]: Failed to set mode: Busy (0x0a)
Oct 31 16:41:12 travers kernel: Bluetooth: hci0 link tx timeout
Oct 31 16:41:12 travers kernel: Bluetooth: hci0 killing stalled connection 04:52:c7:60:d6:2c
Oct 31 16:41:12 travers acpid[1126]: input device has been disconnected, fd 24
Oct 31 16:41:12 travers kernel: Bluetooth: hci0 link tx timeout
Oct 31 16:41:12 travers kernel: Bluetooth: hci0 killing stalled connection 04:52:c7:60:d6:2c
Oct 31 16:41:14 travers bluetoothd[1128]: Disconnecting failed: already disconnected
Oct 31 16:41:18 travers bluetoothd[1128]: Close: Connection timed out (110)
Oct 31 16:41:18 travers kernel: Bluetooth: hci0 link tx timeout
Oct 31 16:41:18 travers kernel: Bluetooth: hci0 killing stalled connection 04:52:c7:60:d6:2c
Oct 31 16:41:20 travers bluetoothd[1128]: Abort: Connection timed out (110)
Oct 31 16:41:20 travers kernel: Bluetooth: hci0 link tx timeout
Oct 31 16:41:20 travers kernel: Bluetooth: hci0 killing stalled connection 04:52:c7:60:d6:2c
Oct 31 16:41:20 travers kernel: Bluetooth: hci0 link tx timeout
Oct 31 16:41:20 travers kernel: Bluetooth: hci0 killing stalled connection 04:52:c7:60:d6:2c
Oct 31 16:41:20 travers dbus[1074]: [system] Rejected send message, 3 matched rules; type="method_
Oct 31 16:41:20 travers gsd-media-
Oct 31 16:41:32 travers kernel: sysfs: cannot create duplicate filename '/devices/
Oct 31 16:41:32 travers kernel: ------------[ cut here ]------------
Oct 31 16:41:32 travers kernel: WARNING: CPU: 2 PID: 19117 at /build/
Oct 31 16:41:32 travers kernel: Modules linked in: rfcomm ip6t_MASQUERADE nf_nat_
Oct 31 16:41:32 travers kernel: ghash_clmulni_intel pcbc iwlwifi rtsx_pci_ms uvcvideo cfg80211 memstick videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd_hda_intel snd_hda_codec joydev snd_hda_core snd_hwdep snd_pcm btusb btrtl snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device input_leds snd_timer serio_raw snd dell_wmi dell_smbios dcdbas wmi_bmof soundcore mei_me shpchp idma64 hci_uart mei virt_dma processor_
Oct 31 16:41:32 travers kernel: acpi_pad industrialio parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid i915 i2c_algo_bit rtsx_pci_sdmmc drm_kms_helper e1000e syscopyarea sysfillrect sysimgblt ptp fb_sys_fops pps_core rtsx_pci drm ahci libahci wmi i2c_hid hid video pinctrl_
Oct 31 16:41:32 travers kernel: CPU: 2 PID: 19117 Comm: kworker/u9:1 Tainted: P OE 4.13.0-16-generic #19-Ubuntu
Oct 31 16:41:32 travers kernel: Hardware name: Dell Inc. Latitude 5580/0DTP1F, BIOS 1.6.4 09/12/2017
Oct 31 16:41:32 travers kernel: Workqueue: hci0 hci_rx_work [bluetooth]
Oct 31 16:41:32 travers kernel: task: ffff93b3ef8017c0 task.stack: ffffb77091e8c000
Oct 31 16:41:32 travers kernel: RIP: 0010:sysfs_
Oct 31 16:41:32 travers kernel: RSP: 0018:ffffb77091
Oct 31 16:41:32 travers kernel: RAX: 0000000000000073 RBX: ffff93b46769a000 RCX: 0000000000000000
Oct 31 16:41:32 travers kernel: RDX: 0000000000000000 RSI: ffff93b5ee50dc78 RDI: ffff93b5ee50dc78
Oct 31 16:41:32 travers kernel: RBP: ffffb77091e8fb98 R08: 0000000000000001 R09: 0000000000000436
Oct 31 16:41:32 travers kernel: R10: 0000000000000001 R11: 0000000000000000 R12: ffff93b54df84e50
Oct 31 16:41:32 travers kernel: R13: ffff93b5d0581690 R14: ffff93b5d4d1c288 R15: ffff93b5d7bb4c50
Oct 31 16:41:32 travers kernel: FS: 000000000000000
Oct 31 16:41:32 travers kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 31 16:41:32 travers kernel: CR2: 000020563636d008 CR3: 00000003bed2c000 CR4: 00000000003406e0
Oct 31 16:41:32 travers kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 31 16:41:32 travers kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Oct 31 16:41:32 travers kernel: Call Trace:
Oct 31 16:41:32 travers kernel: sysfs_create_
Oct 31 16:41:32 travers kernel: kobject_
Oct 31 16:41:32 travers kernel: kobject_
Oct 31 16:41:32 travers kernel: ? kfree_const+
Oct 31 16:41:32 travers kernel: device_
Oct 31 16:41:32 travers kernel: hci_conn_
Oct 31 16:41:32 travers kernel: hci_conn_
Oct 31 16:41:32 travers kernel: hci_event_
Oct 31 16:41:32 travers kernel: ? pick_next_
Oct 31 16:41:32 travers kernel: hci_rx_
Oct 31 16:41:32 travers kernel: ? hci_rx_
Oct 31 16:41:32 travers kernel: ? __schedule+
Oct 31 16:41:32 travers kernel: process_
Oct 31 16:41:32 travers kernel: worker_
Oct 31 16:41:32 travers kernel: kthread+0x125/0x140
Oct 31 16:41:32 travers kernel: ? process_
Oct 31 16:41:32 travers kernel: ? kthread_
Oct 31 16:41:32 travers kernel: ret_from_
Oct 31 16:41:32 travers kernel: Code: 85 c0 48 89 c3 74 12 b9 00 10 00 00 48 89 c2 31 f6 4c 89 ef e8 0c c8 ff ff 4c 89 e2 48 89 de 48 c7 c7 d0 9f 4c b4 e8 cb 78 e0 ff <0f> ff 48 89 df e8 60 bd f4 ff 5b 41 5c 41 5d 5d c3 66 0f 1f 84
Oct 31 16:41:32 travers kernel: ---[ end trace d6a6ced6c41fcfc5 ]---
Oct 31 16:41:32 travers kernel: kobject_
Oct 31 16:41:32 travers kernel: ------------[ cut here ]------------
Oct 31 16:41:32 travers kernel: WARNING: CPU: 2 PID: 19117 at /build/
Oct 31 16:41:32 travers kernel: Modules linked in: rfcomm ip6t_MASQUERADE nf_nat_
Oct 31 16:41:32 travers kernel: ghash_clmulni_intel pcbc iwlwifi rtsx_pci_ms uvcvideo cfg80211 memstick videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd_hda_intel snd_hda_codec joydev snd_hda_core snd_hwdep snd_pcm btusb btrtl snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device input_leds snd_timer serio_raw snd dell_wmi dell_smbios dcdbas wmi_bmof soundcore mei_me shpchp idma64 hci_uart mei virt_dma processor_
Oct 31 16:41:32 travers kernel: acpi_pad industrialio parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid i915 i2c_algo_bit rtsx_pci_sdmmc drm_kms_helper e1000e syscopyarea sysfillrect sysimgblt ptp fb_sys_fops pps_core rtsx_pci drm ahci libahci wmi i2c_hid hid video pinctrl_
Oct 31 16:41:32 travers kernel: CPU: 2 PID: 19117 Comm: kworker/u9:1 Tainted: P W OE 4.13.0-16-generic #19-Ubuntu
Oct 31 16:41:32 travers kernel: Hardware name: Dell Inc. Latitude 5580/0DTP1F, BIOS 1.6.4 09/12/2017
Oct 31 16:41:32 travers kernel: Workqueue: hci0 hci_rx_work [bluetooth]
Oct 31 16:41:32 travers kernel: task: ffff93b3ef8017c0 task.stack: ffffb77091e8c000
Oct 31 16:41:32 travers kernel: RIP: 0010:kobject_
Oct 31 16:41:32 travers kernel: RSP: 0018:ffffb77091
Oct 31 16:41:32 travers kernel: RAX: 000000000000007d RBX: ffff93b5d4d1c298 RCX: 0000000000000006
Oct 31 16:41:32 travers kernel: RDX: 0000000000000000 RSI: 0000000000000086 RDI: ffff93b5ee50dc70
Oct 31 16:41:32 travers kernel: RBP: ffffb77091e8fc00 R08: 0000000000000001 R09: 0000000000000461
Oct 31 16:41:32 travers kernel: R10: ffffe5630a9da600 R11: 0000000000000000 R12: ffff93b5d7bb4c50
Oct 31 16:41:32 travers kernel: R13: 00000000ffffffef R14: ffff93b5d4d1c288 R15: ffff93b5d7bb4c50
Oct 31 16:41:32 travers kernel: FS: 000000000000000
Oct 31 16:41:32 travers kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 31 16:41:32 travers kernel: CR2: 000020563636d008 CR3: 00000003bed2c000 CR4: 00000000003406e0
Oct 31 16:41:32 travers kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 31 16:41:32 travers kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Oct 31 16:41:32 travers kernel: Call Trace:
Oct 31 16:41:32 travers kernel: kobject_
Oct 31 16:41:32 travers kernel: ? kfree_const+
Oct 31 16:41:32 travers kernel: device_
Oct 31 16:41:32 travers kernel: hci_conn_
Oct 31 16:41:32 travers kernel: hci_conn_
Oct 31 16:41:32 travers kernel: hci_event_
Oct 31 16:41:32 travers kernel: ? pick_next_
Oct 31 16:41:32 travers kernel: hci_rx_
Oct 31 16:41:32 travers kernel: ? hci_rx_
Oct 31 16:41:32 travers kernel: ? __schedule+
Oct 31 16:41:32 travers kernel: process_
Oct 31 16:41:32 travers kernel: worker_
Oct 31 16:41:32 travers kernel: kthread+0x125/0x140
Oct 31 16:41:32 travers kernel: ? process_
Oct 31 16:41:32 travers kernel: ? kthread_
Oct 31 16:41:32 travers kernel: ret_from_
Oct 31 16:41:32 travers kernel: Code: 49 89 c4 48 85 ff 0f 84 44 fe ff ff 48 83 c7 18 e9 ff fd ff ff 48 8b 13 48 c7 c6 d0 57 30 b4 48 c7 c7 b8 65 56 b4 e8 66 5f 7f ff <0f> ff e9 92 fe ff ff 0f ff eb a5 0f ff eb 98 41 bd fe ff ff ff
Oct 31 16:41:32 travers kernel: ---[ end trace d6a6ced6c41fcfc6 ]---
Oct 31 16:41:32 travers kernel: Bluetooth: Failed to register connection device
Oct 31 16:41:32 travers kernel: Bluetooth: hci0 link tx timeout
Oct 31 16:41:32 travers kernel: Bluetooth: hci0 killing stalled connection 04:52:c7:60:d6:2c
Oct 31 16:41:32 travers bluetoothd[1128]: No matching connection for device
Oct 31 16:41:32 travers kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
Oct 31 16:41:32 travers kernel: IP: klist_next+
Oct 31 16:41:32 travers kernel: PGD 0
Oct 31 16:41:32 travers kernel: P4D 0
Oct 31 16:41:32 travers kernel:
Oct 31 16:41:32 travers kernel: Oops: 0000 [#1] SMP
Oct 31 16:41:32 travers kernel: Modules linked in: rfcomm ip6t_MASQUERADE nf_nat_
Oct 31 16:41:32 travers kernel: ghash_clmulni_intel pcbc iwlwifi rtsx_pci_ms uvcvideo cfg80211 memstick videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd_hda_intel snd_hda_codec joydev snd_hda_core snd_hwdep snd_pcm btusb btrtl snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device input_leds snd_timer serio_raw snd dell_wmi dell_smbios dcdbas wmi_bmof soundcore mei_me shpchp idma64 hci_uart mei virt_dma processor_
Oct 31 16:41:32 travers kernel: acpi_pad industrialio parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid i915 i2c_algo_bit rtsx_pci_sdmmc drm_kms_helper e1000e syscopyarea sysfillrect sysimgblt ptp fb_sys_fops pps_core rtsx_pci drm ahci libahci wmi i2c_hid hid video pinctrl_
# HCICONFIG OUTPUT
hci0: Type: Primary Bus: USB
BD Address: CC:2F:71:7D:95:00 ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING PSCAN ISCAN
RX bytes:5571230 acl:176 sco:0 events:648741 errors:0
TX bytes:385789321 acl:625464 sco:0 commands:2503 errors:0
Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Can't read local name on hci0: Connection timed out (110)
# BLUETOOTHCTL OUTPUT
bluetoothctl
[bluetooth]# nnect to bluetoothd...
[bluetooth]#
[bluetooth]# show
No default controller available
[bluetooth]# devices
No default controller available
[bluetooth]# info
Missing device address argument
[bluetooth]#
sudo wireless-
Can't open RFKILL control device: Permission denied
---
ApportVersion: 2.20.7-0ubuntu3.5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 17.10
HibernationDevice: RESUME=
InstallationDate: Installed on 2017-09-22 (65 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170922)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0a2b Intel Corp.
Bus 001 Device 002: ID 24ae:2003
Bus 001 Device 004: ID 0bda:5650 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Latitude 5580
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.169
Tags: artful wayland-session
Uname: Linux 4.13.0-17-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 11/12/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.7.5
dmi.board.name: 0DTP1F
dmi.board.vendor: Dell Inc.
dmi.board.version: X02
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: Latitude
dmi.product.name: Latitude 5580
dmi.sys.vendor: Dell Inc.
Changed in snappy-hwe-snaps: | |
importance: | Undecided → Medium |
assignee: | nobody → Konrad Zapałowicz (kzapalowicz) |
affects: | snappy-hwe-snaps → bluez (Ubuntu) |
@Merlijn
Hey, a few follow-up questions:
1. Are you using bluez as a snap on desktop?
2. What s the kernel version being used, you can check this with $ uname -a
Thanks,
KZ