FS#37697 - [linux/bluez] Bluetooth connection causes kernel stacktrace dumps

Attached to Project: Arch Linux
Opened by Stanislaw Pitucha (viraptor) - Friday, 08 November 2013, 20:04 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 23 December 2013, 20:13 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Andreas Radke (AndyRTR)
Tom Gundersen (tomegun)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
While playing audio via pulseaudio to a connected bluetooth device, I see kernel stacktraces being dumped into dmesg. The music stream gets choppy until the connection is broken in the end.


Additional info:
* package version(s)
bluez 5.9-1
pulseaudio 4.0-6
linux 3.11.6-1

* config and/or log files etc.

The stacktraces are similar, but not exactly the same:

[ 2433.612645] ------------[ cut here ]------------
[ 2433.612653] WARNING: CPU: 0 PID: 824 at fs/sysfs/dir.c:530 sysfs_add_one+0xa5/0xd0()
[ 2433.612655] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:11'
[ 2433.612656] Modules linked in: fuse bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core btusb bluetooth videodev media snd_hda_codec_hdmi snd_hda_codec_realtek arc4 joydev x86_pk
g_temp_thermal iwldvm mac80211 intel_powerclamp coretemp kvm_intel kvm crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul iTCO_wdt glue_helper ablk_helper iTCO_ve
ndor_support cryptd iwlwifi cfg80211 evdev rtsx_pci_ms snd_hda_intel snd_hda_codec memstick snd_hwdep i915 thinkpad_acpi nvram intel_agp intel_gtt drm_kms_helper drm r8169 mii microcode psmouse
rfkill serio_raw pcspkr snd_pcm tpm_tis tpm wmi tpm_bios i2c_algo_bit thermal i2c_i801 i2c_core ac mperf battery video processor button shpchp mei_me mei lpc_ich snd_page_alloc snd_timer snd s
oundcore ext4 crc16 mbcache jbd2 dm_mod
[ 2433.612705] hid_logitech_dj usbhid hid sr_mod cdrom sd_mod rtsx_pci_sdmmc mmc_core ahci libahci libata scsi_mod xhci_hcd ehci_pci ehci_hcd rtsx_pci usbcore usb_common
[ 2433.612718] CPU: 0 PID: 824 Comm: kworker/u17:0 Tainted: G W 3.11.6-1-ARCH #1
[ 2433.612719] Hardware name: LENOVO 2481CTO/2481CTO, BIOS G3ET36WW(1.10) 06/20/2012
[ 2433.612725] Workqueue: hci0 hci_rx_work [bluetooth]
[ 2433.612726] 0000000000000009 ffff880209d63a70 ffffffff814dba02 ffff880209d63ab8
[ 2433.612730] ffff880209d63aa8 ffffffff8106193d 00000000ffffffef ffff8801e283dc40
[ 2433.612732] ffff880209d63b50 ffff8801ae88b000 0000000000000000 ffff880209d63b08
[ 2433.612735] Call Trace:
[ 2433.612741] [<ffffffff814dba02>] dump_stack+0x54/0x8d
[ 2433.612745] [<ffffffff8106193d>] warn_slowpath_common+0x7d/0xa0
[ 2433.612748] [<ffffffff810619ac>] warn_slowpath_fmt+0x4c/0x50
[ 2433.612750] [<ffffffff81213485>] sysfs_add_one+0xa5/0xd0
[ 2433.612753] [<ffffffff81213651>] create_dir+0x71/0xe0
[ 2433.612756] [<ffffffff812139c6>] sysfs_create_dir+0x86/0xe0
[ 2433.612759] [<ffffffff81288907>] kobject_add_internal+0xa7/0x260
[ 2433.612762] [<ffffffff81288e85>] kobject_add+0x65/0xb0
[ 2433.612766] [<ffffffff813756f3>] ? device_private_init+0x23/0x80
[ 2433.612768] [<ffffffff81375878>] device_add+0x128/0x7a0
[ 2433.612771] [<ffffffff81373fc7>] ? dev_set_name+0x47/0x50
[ 2433.612777] [<ffffffffa0a5ba7e>] hci_conn_add_sysfs+0x4e/0xc0 [bluetooth]
[ 2433.612782] [<ffffffffa0a4f111>] hci_event_packet+0x1c51/0x3190 [bluetooth]
[ 2433.612785] [<ffffffff8108f0e9>] ? finish_task_switch+0x49/0xe0
[ 2433.612788] [<ffffffff814e0aa6>] ? __schedule+0x3f6/0x950
[ 2433.612792] [<ffffffffa0a3f1a8>] hci_rx_work+0x1c8/0x3f0 [bluetooth]
[ 2433.612796] [<ffffffff8107c6e7>] process_one_work+0x167/0x450
[ 2433.612798] [<ffffffff8107d0f1>] worker_thread+0x121/0x3a0
[ 2433.612800] [<ffffffff8107cfd0>] ? manage_workers.isra.23+0x2b0/0x2b0
[ 2433.612804] [<ffffffff81083960>] kthread+0xc0/0xd0
[ 2433.612807] [<ffffffff810838a0>] ? kthread_create_on_node+0x120/0x120
[ 2433.612810] [<ffffffff814ea52c>] ret_from_fork+0x7c/0xb0
[ 2433.612813] [<ffffffff810838a0>] ? kthread_create_on_node+0x120/0x120
[ 2433.612814] ---[ end trace 5cca12dbfcfc6d5d ]---

[ 2433.612817] ------------[ cut here ]------------
[ 2433.612819] WARNING: CPU: 0 PID: 824 at lib/kobject.c:196 kobject_add_internal+0x1f4/0x260()
[ 2433.612821] kobject_add_internal failed for hci0:11 with -EEXIST, don't try to register things with the same name in the same directory.
[ 2433.612822] Modules linked in: fuse bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core btusb bluetooth videodev media snd_hda_codec_hdmi snd_hda_codec_realtek arc4 joydev x86_pkg_temp_thermal iwldvm mac80211 intel_powerclamp coretemp kvm_intel kvm crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul iTCO_wdt glue_helper ablk_helper iTCO_vendor_support cryptd iwlwifi cfg80211 evdev rtsx_pci_ms snd_hda_intel snd_hda_codec memstick snd_hwdep i915 thinkpad_acpi nvram intel_agp intel_gtt drm_kms_helper drm r8169 mii microcode psmouse rfkill serio_raw pcspkr snd_pcm tpm_tis tpm wmi tpm_bios i2c_algo_bit thermal i2c_i801 i2c_core ac mperf battery video processor button shpchp mei_me mei lpc_ich snd_page_alloc snd_timer snd soundcore ext4 crc16 mbcache jbd2 dm_mod
[ 2433.612857] hid_logitech_dj usbhid hid sr_mod cdrom sd_mod rtsx_pci_sdmmc mmc_core ahci libahci libata scsi_mod xhci_hcd ehci_pci ehci_hcd rtsx_pci usbcore usb_common
[ 2433.612865] CPU: 0 PID: 824 Comm: kworker/u17:0 Tainted: G W 3.11.6-1-ARCH #1
[ 2433.612867] Hardware name: LENOVO 2481CTO/2481CTO, BIOS G3ET36WW(1.10) 06/20/2012
[ 2433.612870] Workqueue: hci0 hci_rx_work [bluetooth]
[ 2433.612872] 0000000000000009 ffff880209d63b20 ffffffff814dba02 ffff880209d63b68
[ 2433.612874] ffff880209d63b58 ffffffff8106193d ffff8801c2d9b9c8 00000000ffffffef
[ 2433.612877] 0000000000000000 ffff880212294a48 ffff8801c2d9b800 ffff880209d63bb8
[ 2433.612879] Call Trace:
[ 2433.612882] [<ffffffff814dba02>] dump_stack+0x54/0x8d
[ 2433.612885] [<ffffffff8106193d>] warn_slowpath_common+0x7d/0xa0
[ 2433.612888] [<ffffffff810619ac>] warn_slowpath_fmt+0x4c/0x50
[ 2433.612890] [<ffffffff812139c6>] ? sysfs_create_dir+0x86/0xe0
[ 2433.612893] [<ffffffff81212d18>] ? release_sysfs_dirent+0x78/0x120
[ 2433.612895] [<ffffffff81288a54>] kobject_add_internal+0x1f4/0x260
[ 2433.612898] [<ffffffff81288e85>] kobject_add+0x65/0xb0
[ 2433.612900] [<ffffffff813756f3>] ? device_private_init+0x23/0x80
[ 2433.612911] [<ffffffff81375878>] device_add+0x128/0x7a0
[ 2433.612914] [<ffffffff81373fc7>] ? dev_set_name+0x47/0x50
[ 2433.612919] [<ffffffffa0a5ba7e>] hci_conn_add_sysfs+0x4e/0xc0 [bluetooth]
[ 2433.612924] [<ffffffffa0a4f111>] hci_event_packet+0x1c51/0x3190 [bluetooth]
[ 2433.612926] [<ffffffff8108f0e9>] ? finish_task_switch+0x49/0xe0
[ 2433.612929] [<ffffffff814e0aa6>] ? __schedule+0x3f6/0x950
[ 2433.612933] [<ffffffffa0a3f1a8>] hci_rx_work+0x1c8/0x3f0 [bluetooth]
[ 2433.612936] [<ffffffff8107c6e7>] process_one_work+0x167/0x450
[ 2433.612939] [<ffffffff8107d0f1>] worker_thread+0x121/0x3a0
[ 2433.612941] [<ffffffff8107cfd0>] ? manage_workers.isra.23+0x2b0/0x2b0
[ 2433.612944] [<ffffffff81083960>] kthread+0xc0/0xd0
[ 2433.612947] [<ffffffff810838a0>] ? kthread_create_on_node+0x120/0x120
[ 2433.612950] [<ffffffff814ea52c>] ret_from_fork+0x7c/0xb0
[ 2433.612953] [<ffffffff810838a0>] ? kthread_create_on_node+0x120/0x120
[ 2433.612954] ---[ end trace 5cca12dbfcfc6d5e ]---
[ 2433.612956] Bluetooth: Failed to register connection device
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 23 December 2013, 20:13 GMT
Reason for closing:  No response
Additional comments about closing:  upstream issue. maybe fixed meanwhile.
Comment by Andreas Radke (AndyRTR) - Sunday, 24 November 2013, 11:25 GMT
Can you confirm this with current kernel 3.12.x and bluez 5.11? Does it happen without pulseaudio in a different desktop environment?

Loading...