Closed stephentoub closed 4 years ago
What version of Windows is this happening on?
@geoffkizer, can you comment on your OS details for @davidsh? (I just pulled this from the log Geoffrey sent to me.)
@davidsh, I'm hitting this, too. Version 1607 (OS Build 14393.321)
cc: @CIPop
If it doesn't happen to everybody, this has could be triggered by something within your network adapter configuration. Can you repro it consistently after the code has been changed to Debug.Assert
?
Please attach the output of ipconfig /all
.
What are the values for the locals, especially addressBytes
and prefixLength
?
I'm running Windows 10, version 1607, build 14393.321 also.
Windows IP Configuration
Host Name . . . . . . . . . . . . : MININT-DFS3MTO
Primary Dns Suffix . . . . . . . : redmond.corp.microsoft.com
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : corp.microsoft.com
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Ethernet Connection I217-LM
Physical Address. . . . . . . . . : 54-EE-75-49-B2-D2
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
PPP adapter MSIT AutoVPN:
Connection-specific DNS Suffix . : corp.microsoft.com
Description . . . . . . . . . . . : MSIT AutoVPN
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 172.19.31.196(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 157.54.10.28
157.54.14.162
NetBIOS over Tcpip. . . . . . . . : Disabled
Wireless LAN adapter Local Area Connection* 3:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : CC-3D-82-73-74-AA
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7260
Physical Address. . . . . . . . . : CC-3D-82-73-74-A9
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::6cc0:ca26:7b15:bfc3%2(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.4(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, October 20, 2016 3:33:08 PM
Lease Expires . . . . . . . . . . : Saturday, October 22, 2016 10:23:23 AM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 63716738
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-39-CB-E2-54-EE-75-49-B2-D2
DNS Servers . . . . . . . . . . . : 199.27.176.25
199.27.176.26
192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth PAN HelpText
Physical Address. . . . . . . . . : CC-3D-82-73-74-AD
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{00E6321A-A5A1-420A-B953-B75075CBC39C}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 4:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.corp.microsoft.com:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : corp.microsoft.com
Description . . . . . . . . . . . : Microsoft ISATAP Adapter dotnet/corefx#2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
The assert is incorrect:
Debug.Assert(prefixLength < (addressBytes.Length * 8));
This will fail for the /32 (HOST) CIDR:
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Should be <= instead of <.
@geoffkizer is hitting the following assert in a bunch of tests when building/running corefx tests locally on Windows:
cc: @cipop, @davidsh, @mellinoe