Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm] Calling Interop.Sys.* results in EntryPointNotFoundException #38987

Closed
MaximLipnin opened this issue Jul 9, 2020 · 3 comments
Closed
Assignees
Labels
arch-wasm WebAssembly architecture area-System.Net
Milestone

Comments

@MaximLipnin
Copy link
Contributor

Trying to run the assembly tests on WASM, I faced some failures related to Interop.Sys.* methods invocation. In particular, I'm observing it for System.Net.NetworkInformation:

<failure exception-type="System.EntryPointNotFoundException">
    <message><![CDATA[System.EntryPointNotFoundException : SystemNative_EnumerateInterfaceAddresses assembly:<unknown assembly> type:<unknown type> member:(null)]]></message>
    <stack-trace><![CDATA[   at System.Net.NetworkInformation.UnixIPGlobalProperties.GetUnicastAddresses()
     at System.Net.NetworkInformation.Tests.IPGlobalPropertiesTest.GetUnicastAddresses_NotEmpty()
--- End of stack trace from previous location ---]]></stack-trace>
</failure>

Even though, this particular case doesn't make much sense on browser (the entire System.Net.NetworkInformation will be PNSE),
Interop.Sys.* can be used in some other places.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.Net untriaged New issue has not been triaged by the area owner labels Jul 9, 2020
@ghost
Copy link

ghost commented Jul 9, 2020

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@karelz karelz added the arch-wasm WebAssembly architecture label Jul 17, 2020
@lewing lewing added this to the 5.0.0 milestone Jul 30, 2020
@lewing
Copy link
Member

lewing commented Jul 30, 2020

@MaximLipnin I think this should all be throwing PNSE now, is the reproduction just running the the System.Net tests?

@kjpou1 please follow and verify they are throwing

@lewing lewing removed the untriaged New issue has not been triaged by the area owner label Jul 30, 2020
@MaximLipnin
Copy link
Contributor Author

The entire System.Net.NetworkInformation is PNSE. You can find the related APIs in the PNSE scanner resulting file attached to #41087.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.Net
Projects
None yet
Development

No branches or pull requests

6 participants