swconfig by design acquires mutex after acquiring lock |
||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36 Steps to reproduce the problem: build boot on gale with following CLs: https://chromium-review.googlesource.com/#/c/364852/ What is the expected behavior? What went wrong? 58604.165208] BUG: sleeping function called from invalid context at /mnt/host/source/src/third_party/kernel/v3.18/kernel/locking/mutex.c:97 [58604.165338] in_atomic(): 1, irqs_disabled(): 0, pid: 31591, name: swconfig [58604.176691] CPU: 3 PID: 31591 Comm: swconfig Not tainted 3.18.0 #6 [58604.183430] [<c030f82c>] (unwind_backtrace) from [<c030adb0>] (show_stack+0x20/0x24) [58604.189577] [<c030adb0>] (show_stack) from [<c08e8aec>] (dump_stack+0x84/0xc8) [58604.197468] [<c08e8aec>] (dump_stack) from [<c033f9b8>] (__might_sleep+0x128/0x148) [58604.204466] [<c033f9b8>] (__might_sleep) from [<c08ec2d4>] (mutex_lock+0x28/0x74) [58604.212080] [<c08ec2d4>] (mutex_lock) from [<c06b0ae8>] (swconfig_get_dev.isra.9+0x64/0x84) [58604.219707] [<c06b0ae8>] (swconfig_get_dev.isra.9) from [<c06b0d54>] (swconfig_list_attrs+0x34/0x20c) [58604.227863] [<c06b0d54>] (swconfig_list_attrs) from [<c080d948>] (genl_rcv_msg+0x2ac/0x348) [58604.237229] [<c080d948>] (genl_rcv_msg) from [<c080cbc8>] (netlink_rcv_skb+0x68/0xc4) [58604.245347] [<c080cbc8>] (netlink_rcv_skb) from [<c080d688>] (genl_rcv+0x30/0x44) [58604.253361] [<c080d688>] (genl_rcv) from [<c080c4d8>] (netlink_unicast+0x160/0x230) [58604.260832] [<c080c4d8>] (netlink_unicast) from [<c080c9dc>] (netlink_sendmsg+0x368/0x3e4) [58604.268332] [<c080c9dc>] (netlink_sendmsg) from [<c07c8b80>] (sock_sendmsg+0xa4/0xd0) [58604.276612] [<c07c8b80>] (sock_sendmsg) from [<c07ca008>] (___sys_sendmsg.part.15+0x1a4/0x248) [58604.284549] [<c07ca008>] (___sys_sendmsg.part.15) from [<c07cb154>] (__sys_sendmsg+0x68/0xa4) [58604.293132] [<c07cb154>] (__sys_sendmsg) from [<c07cb1a8>] (SyS_sendmsg+0x18/0x1c) [58604.301688] [<c07cb1a8>] (SyS_sendmsg) from [<c0306920>] (ret_fast_syscall+0x0/0x30) Did this work before? No Chrome version: n/a Channel: canary OS Version: n/a Flash Version: n/a
,
Aug 6 2016
,
Aug 20 2016
Pri-0 bugs are critical regressions or serious emergencies, and this bug has not been updated in three days. Could you please provide an update, or adjust the priority to a more appropriate level if applicable? If a fix is in active development, please set the status to Started. Thanks for your time! To disable nags, add the Disable-Nags label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 4 2016
Pri-0 bugs are critical regressions or serious emergencies, and this bug has not been updated in three days. Could you please provide an update, or adjust the priority to a more appropriate level if applicable? If a fix is in active development, please set the status to Started. Thanks for your time! To disable nags, add the Disable-Nags label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 6 2016
We have a workaround in place. Moving to P1.
,
Dec 27 2017
|
||||
►
Sign in to add a comment |
||||
Comment 1 by grundler@chromium.org
, Aug 5 2016Labels: -OS-Linux -Pri-2 Kernel-3.14 Kernel-3.18 OS-Chrome Pri-0
Owner: hyehia@chromium.org
Status: Assigned (was: Unconfirmed)