Opened 11 years ago

Last modified 9 years ago

#9377 closed bug

Network Stack Deadlock — at Version 2

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 (last modified by jackburton)

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 was a deadlock between ifconfig and wpa_supplicant. 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 ifconfig. So I guess we have a lock inversion somewhere. It's reproducible here 100% of the times by doing: ifconfig /dev/net/<wireless_card> down while wpa_supplicant is scanning the available networks. I have an ipro3945 wireless card.

Change History (6)

comment:1 by jackburton, 11 years ago

Version: R1/alpha4.1R1/Development

by jackburton, 11 years ago

Attachment: IMG_20130119_202005.jpg added

by jackburton, 11 years ago

Attachment: IMG_20130119_202045.jpg added

by jackburton, 11 years ago

Attachment: IMG_20130119_202455.jpg added

by jackburton, 11 years ago

Attachment: IMG_20130119_202531.jpg added

comment:2 by jackburton, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.