Opened 12 years ago
Last modified 9 years ago
#9377 closed bug
Network Stack Deadlock — at Initial Version
Reported by: | jackburton | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Network & Internet/Stack | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Yesterday I was doing some tests with the network stack, and after a while, I experienced a deadlock. ifconfig was locked and couldn't be killed (even with kill -9). net_server was locked, too. I then entered KDL, and had a look at the threads involved. There were four threads waiting on the "net_interfaces" mutexes: ifconfig, net_server, and a couple I can't remember (but it's reproducible, so I'll try to reproduce it and save more info). the net_interfaces mutex was held by wpa_supplicant, which was waiting on the mutex of the wireless interface, which in turn was held by net_server. So I guess we have a lock inversion somewhere. Will add stack traces and the rest as soon as I reproduce it again.