This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1729030 and then change the status of the bug to 'Confirmed'. If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'. This change has been made by an automated script, maintained by the Ubuntu Kernel Team. ** Changed in: linux (Ubuntu) Status: New => Incomplete ** Tags added: artful -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1729030 Title: [regression] Kernel crash in bluetooth with Bose QC35 Status in linux package in Ubuntu: Incomplete 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.bluez.obex' unit='dbus-org.bluez.obex.service' 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_return", sender=":1.86" (uid=1000 pid=3997 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.7" (uid=0 pid=1128 comm="/usr/lib/bluetooth/bluetoothd ") Oct 31 16:41:20 travers gsd-media-keys[4157]: Unable to get default sink Oct 31 16:41:32 travers kernel: sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/bluetooth/hci0/hci0:256' Oct 31 16:41:32 travers kernel: ------------[ cut here ]------------ Oct 31 16:41:32 travers kernel: WARNING: CPU: 2 PID: 19117 at /build/linux-XO_uEE/linux-4.13.0/fs/sysfs/dir.c:31 sysfs_warn_dup+0x56/0x70 Oct 31 16:41:32 travers kernel: Modules linked in: rfcomm ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 xt_comment zfs(PO) zunicode(PO) zavl(PO) zcommon(PO) znvpair(PO) spl(O) pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) ccm cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter bnep nls_iso8859_1 arc4 hid_alps snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm dell_rbtn dell_laptop iwlmvm irqbypass dell_smm_hwmon mac80211 crct10dif_pclmul crc32_pclmul snd_hda_codec_realtek snd_hda_codec_generic 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_thermal_device intel_pch_thermal intel_soc_dts_iosf intel_lpss_pci btbcm serdev btqca btintel bluetooth ecdh_generic dell_smo8800 int3403_thermal tpm_crb intel_hid intel_lpss_acpi int340x_thermal_zone int3400_thermal acpi_als acpi_thermal_rel intel_lpss kfifo_buf sparse_keymap mac_hid 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_sunrisepoint pinctrl_intel 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_warn_dup+0x56/0x70 Oct 31 16:41:32 travers kernel: RSP: 0018:ffffb77091e8fb80 EFLAGS: 00010282 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: 0000000000000000(0000) GS:ffff93b5ee500000(0000) knlGS:0000000000000000 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_dir_ns+0x77/0x90 Oct 31 16:41:32 travers kernel: kobject_add_internal+0xac/0x2b0 Oct 31 16:41:32 travers kernel: kobject_add+0x71/0xd0 Oct 31 16:41:32 travers kernel: ? kfree_const+0x20/0x30 Oct 31 16:41:32 travers kernel: device_add+0x12c/0x680 Oct 31 16:41:32 travers kernel: hci_conn_add_sysfs+0x49/0xc0 [bluetooth] Oct 31 16:41:32 travers kernel: hci_conn_complete_evt.isra.46+0xc6/0x3f0 [bluetooth] Oct 31 16:41:32 travers kernel: hci_event_packet+0x1ac5/0x2a80 [bluetooth] Oct 31 16:41:32 travers kernel: ? pick_next_task_fair+0x131/0x560 Oct 31 16:41:32 travers kernel: hci_rx_work+0x18d/0x380 [bluetooth] Oct 31 16:41:32 travers kernel: ? hci_rx_work+0x18d/0x380 [bluetooth] Oct 31 16:41:32 travers kernel: ? __schedule+0x293/0x890 Oct 31 16:41:32 travers kernel: process_one_work+0x1e7/0x410 Oct 31 16:41:32 travers kernel: worker_thread+0x4a/0x410 Oct 31 16:41:32 travers kernel: kthread+0x125/0x140 Oct 31 16:41:32 travers kernel: ? process_one_work+0x410/0x410 Oct 31 16:41:32 travers kernel: ? kthread_create_on_node+0x70/0x70 Oct 31 16:41:32 travers kernel: ret_from_fork+0x25/0x30 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_add_internal failed for hci0:256 with -EEXIST, don't try to register things with the same name in the same directory. Oct 31 16:41:32 travers kernel: ------------[ cut here ]------------ Oct 31 16:41:32 travers kernel: WARNING: CPU: 2 PID: 19117 at /build/linux-XO_uEE/linux-4.13.0/lib/kobject.c:240 kobject_add_internal+0x26b/0x2b0 Oct 31 16:41:32 travers kernel: Modules linked in: rfcomm ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 xt_comment zfs(PO) zunicode(PO) zavl(PO) zcommon(PO) znvpair(PO) spl(O) pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) ccm cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter bnep nls_iso8859_1 arc4 hid_alps snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm dell_rbtn dell_laptop iwlmvm irqbypass dell_smm_hwmon mac80211 crct10dif_pclmul crc32_pclmul snd_hda_codec_realtek snd_hda_codec_generic 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_thermal_device intel_pch_thermal intel_soc_dts_iosf intel_lpss_pci btbcm serdev btqca btintel bluetooth ecdh_generic dell_smo8800 int3403_thermal tpm_crb intel_hid intel_lpss_acpi int340x_thermal_zone int3400_thermal acpi_als acpi_thermal_rel intel_lpss kfifo_buf sparse_keymap mac_hid 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_sunrisepoint pinctrl_intel 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_add_internal+0x26b/0x2b0 Oct 31 16:41:32 travers kernel: RSP: 0018:ffffb77091e8fbd0 EFLAGS: 00010286 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: 0000000000000000(0000) GS:ffff93b5ee500000(0000) knlGS:0000000000000000 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_add+0x71/0xd0 Oct 31 16:41:32 travers kernel: ? kfree_const+0x20/0x30 Oct 31 16:41:32 travers kernel: device_add+0x12c/0x680 Oct 31 16:41:32 travers kernel: hci_conn_add_sysfs+0x49/0xc0 [bluetooth] Oct 31 16:41:32 travers kernel: hci_conn_complete_evt.isra.46+0xc6/0x3f0 [bluetooth] Oct 31 16:41:32 travers kernel: hci_event_packet+0x1ac5/0x2a80 [bluetooth] Oct 31 16:41:32 travers kernel: ? pick_next_task_fair+0x131/0x560 Oct 31 16:41:32 travers kernel: hci_rx_work+0x18d/0x380 [bluetooth] Oct 31 16:41:32 travers kernel: ? hci_rx_work+0x18d/0x380 [bluetooth] Oct 31 16:41:32 travers kernel: ? __schedule+0x293/0x890 Oct 31 16:41:32 travers kernel: process_one_work+0x1e7/0x410 Oct 31 16:41:32 travers kernel: worker_thread+0x4a/0x410 Oct 31 16:41:32 travers kernel: kthread+0x125/0x140 Oct 31 16:41:32 travers kernel: ? process_one_work+0x410/0x410 Oct 31 16:41:32 travers kernel: ? kthread_create_on_node+0x70/0x70 Oct 31 16:41:32 travers kernel: ret_from_fork+0x25/0x30 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+0x16/0xb0 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_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 xt_comment zfs(PO) zunicode(PO) zavl(PO) zcommon(PO) znvpair(PO) spl(O) pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) ccm cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter bnep nls_iso8859_1 arc4 hid_alps snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm dell_rbtn dell_laptop iwlmvm irqbypass dell_smm_hwmon mac80211 crct10dif_pclmul crc32_pclmul snd_hda_codec_realtek snd_hda_codec_generic 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_thermal_device intel_pch_thermal intel_soc_dts_iosf intel_lpss_pci btbcm serdev btqca btintel bluetooth ecdh_generic dell_smo8800 int3403_thermal tpm_crb intel_hid intel_lpss_acpi int340x_thermal_zone int3400_thermal acpi_als acpi_thermal_rel intel_lpss kfifo_buf sparse_keymap mac_hid 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_sunrisepoint pinctrl_intel # 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-tools.rfkill list Can't open RFKILL control device: Permission denied To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1729030/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp