[pulseaudio-tickets] [Bug 105768] Unable redirect audio to bluetooth headset SONY MDR-XB950B1
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Apr 8 08:59:50 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105768
--- Comment #11 from mikhail.v.gavrilov at gmail.com ---
Also when I paring headset I see strange kernel message in dmesg:
[ 4937.080151] ============================================
[ 4937.080152] WARNING: possible recursive locking detected
[ 4937.080154] 4.16.0-300.fc28.x86_64+debug #1 Not tainted
[ 4937.080155] --------------------------------------------
[ 4937.080156] kworker/u17:1/22495 is trying to acquire lock:
[ 4937.080157] (sk_lock-AF_BLUETOOTH-BTPROTO_L2CAP){+.+.}, at:
[<000000008ee36dc3>] bt_accept_enqueue+0x3c/0xb0 [bluetooth]
[ 4937.080174]
but task is already holding lock:
[ 4937.080175] (sk_lock-AF_BLUETOOTH-BTPROTO_L2CAP){+.+.}, at:
[<00000000a4db3b8a>] l2cap_sock_new_connection_cb+0x18/0xa0 [bluetooth]
[ 4937.080187]
other info that might help us debug this:
[ 4937.080188] Possible unsafe locking scenario:
[ 4937.080190] CPU0
[ 4937.080191] ----
[ 4937.080192] lock(sk_lock-AF_BLUETOOTH-BTPROTO_L2CAP);
[ 4937.080194] lock(sk_lock-AF_BLUETOOTH-BTPROTO_L2CAP);
[ 4937.080196]
*** DEADLOCK ***
[ 4937.080198] May be due to missing lock nesting notation
[ 4937.080201] 5 locks held by kworker/u17:1/22495:
[ 4937.080202] #0: ((wq_completion)"%s"hdev->name#2){+.+.}, at:
[<000000003a34e89c>] process_one_work+0x1d7/0x630
[ 4937.080208] #1: ((work_completion)(&hdev->rx_work)){+.+.}, at:
[<000000003a34e89c>] process_one_work+0x1d7/0x630
[ 4937.080213] #2: (&conn->chan_lock){+.+.}, at: [<00000000f70958c0>]
l2cap_connect+0x8f/0x5a0 [bluetooth]
[ 4937.080229] #3: (&chan->lock/2){+.+.}, at: [<00000000d99bd205>]
l2cap_connect+0xa9/0x5a0 [bluetooth]
[ 4937.080241] #4: (sk_lock-AF_BLUETOOTH-BTPROTO_L2CAP){+.+.}, at:
[<00000000a4db3b8a>] l2cap_sock_new_connection_cb+0x18/0xa0 [bluetooth]
[ 4937.080251]
stack backtrace:
[ 4937.080253] CPU: 7 PID: 22495 Comm: kworker/u17:1 Not tainted
4.16.0-300.fc28.x86_64+debug #1
[ 4937.080254] Hardware name: Gigabyte Technology Co., Ltd. Z87M-D3H/Z87M-D3H,
BIOS F11 08/12/2014
[ 4937.080261] Workqueue: hci0 hci_rx_work [bluetooth]
[ 4937.080263] Call Trace:
[ 4937.080267] dump_stack+0x85/0xbf
[ 4937.080270] __lock_acquire.cold.62+0x158/0x227
[ 4937.080273] ? mark_held_locks+0x57/0x80
[ 4937.080276] ? lock_acquire+0x9e/0x1b0
[ 4937.080282] ? bt_accept_enqueue+0x3c/0xb0 [bluetooth]
[ 4937.080286] ? lock_sock_nested+0x72/0xa0
[ 4937.080292] ? bt_accept_enqueue+0x3c/0xb0 [bluetooth]
[ 4937.080298] ? bt_accept_enqueue+0x3c/0xb0 [bluetooth]
[ 4937.080306] ? l2cap_sock_new_connection_cb+0x5d/0xa0 [bluetooth]
[ 4937.080313] ? l2cap_connect+0x110/0x5a0 [bluetooth]
[ 4937.080321] ? l2cap_recv_frame+0x6d0/0x2cb0 [bluetooth]
[ 4937.080324] ? __mutex_unlock_slowpath+0x4b/0x2b0
[ 4937.080332] ? l2cap_recv_frame+0x6e8/0x2cb0 [bluetooth]
[ 4937.080334] ? __mutex_unlock_slowpath+0x4b/0x2b0
[ 4937.080341] ? hci_rx_work+0x1c6/0x5d0 [bluetooth]
[ 4937.080343] ? process_one_work+0x261/0x630
[ 4937.080346] ? worker_thread+0x3a/0x390
[ 4937.080347] ? process_one_work+0x630/0x630
[ 4937.080349] ? kthread+0x120/0x140
[ 4937.080351] ? kthread_create_worker_on_cpu+0x70/0x70
[ 4937.080353] ? ret_from_fork+0x3a/0x50
[ 4937.139502] BUG: sleeping function called from invalid context at
net/core/sock.c:2768
[ 4937.139507] in_atomic(): 1, irqs_disabled(): 0, pid: 1646, name: krfcommd
[ 4937.139510] INFO: lockdep is turned off.
[ 4937.139514] CPU: 0 PID: 1646 Comm: krfcommd Not tainted
4.16.0-300.fc28.x86_64+debug #1
[ 4937.139516] Hardware name: Gigabyte Technology Co., Ltd. Z87M-D3H/Z87M-D3H,
BIOS F11 08/12/2014
[ 4937.139519] Call Trace:
[ 4937.139527] dump_stack+0x85/0xbf
[ 4937.139533] ___might_sleep.cold.72+0xac/0xbc
[ 4937.139540] ? lock_sock_nested+0x29/0xa0
[ 4937.139559] ? bt_accept_enqueue+0x3c/0xb0 [bluetooth]
[ 4937.139566] ? rfcomm_connect_ind+0x21b/0x260 [rfcomm]
[ 4937.139573] ? rfcomm_run+0x1620/0x1830 [rfcomm]
[ 4937.139578] ? do_wait_intr_irq+0xb0/0xb0
[ 4937.139585] ? rfcomm_check_accept+0x90/0x90 [rfcomm]
[ 4937.139590] ? kthread+0x120/0x140
[ 4937.139594] ? kthread_create_worker_on_cpu+0x70/0x70
[ 4937.139599] ? ret_from_fork+0x3a/0x50
[ 5343.668149] perf: interrupt took too long (3194 > 3188), lowering
kernel.perf_event_max_sample_rate to 62000
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180408/c291e96e/attachment.html>
More information about the pulseaudio-bugs
mailing list