You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. In alignement with my explorations today, it appears that ifaddrs.h is not fully implemented, or there is some other bug. Whenever one attempts to call getifaddrs(), errno is set to EINVAL.
This is causing issues in #134 and is probably just as related to #69 as anything else is. Furthermore, this is the reason why almost all of the LibZMQ tests seem to be failing. I've attached the test suite output after building libzmq and running make check. Finally this is causing errors with Anaconda, in particular the iPython or Jupyter notebook projects cannot use sockets to communicate between the browser and the iPython kernel, this is seen in this issue #1331.
William Guss (@MadcowD) getifaddrs requires NETLINK\RAW socket support, which unfortunately we don't have at the moment. Meanwhile, help us prioritize this by up voting network interface query support in our user voice page. Thanks for trying out WSL and providing us valuable feedback.
Hi hostert -- these improvements are scheduled to be released as part of the next major Windows version, which we've been told is scheduled for release sometime in maybe the first quarter or half of 2017?
Marco Behler (@marcobehler) - I am not able to repro the above issue on build 14971 using the sample program posted by William Guss (@MadcowD). Do you have the teredo interface installed by any means on your Windows box? If so, you might be running into #1414 or #468. See the workaround posted by Sascha Quartz (@saschagehlich) in #468 to disable the teredo interface. A fix for that is coming soon.
Glad to know Matt Rothenberg (@mattrothenberg) and Marco Behler (@marcobehler) that it resolves both of your issues. Jason Lin (@JasonLinMS) can provide the exact details. But as I understand, the "Teredo Tunneling Pseudo-Interface" has a HW address of 32 bytes. In string format, each byte requires 3-byte for representation i.e 32*3 = 96bytes. While the 'ip' tool is hard coded to only expect 64 bytes overall. So, there is buffer overflow and the tool crashes.
Activity
sunilmut commentedon May 3, 2016
William Guss (@MadcowD) getifaddrs requires NETLINK\RAW socket support, which unfortunately we don't have at the moment. Meanwhile, help us prioritize this by up voting network interface query support in our user voice page. Thanks for trying out WSL and providing us valuable feedback.
sunilmut commentedon May 3, 2016
Also see #118
bobsummerwill commentedon Jun 10, 2016
Hello! I'm seeing exactly the same issue for cpp-ethereum.
I've worked through build errors in #147 and am now onto runtime errors, the first of which is a showstopper on
getifaddrs().See https://twitter.com/BobSummerwill/status/740820732737904640.
The failure is occurring very early on, at https://github.com/bobsummerwill/cpp-ethereum/blob/merge_repos/libp2p/Network.cpp#L82, in code which is likely very similar to networking code which many other Linux apps have.
misenesi commentedon Nov 10, 2016
Works on my latest internal builds, the fix should make its way to the insider builds eventually (if it already hasn't).
sunilmut commentedon Nov 19, 2016
This is fixed in the latest insider build 14971. Thanks.
alehostert commentedon Nov 29, 2016
Hi, just a question.
How many days would take to launch the fix on regular version? I'm not into Insider Program.
aseering commentedon Nov 29, 2016
Hi hostert -- these improvements are scheduled to be released as part of the next major Windows version, which we've been told is scheduled for release sometime in maybe the first quarter or half of 2017?
marcobehler commentedon Nov 29, 2016
Is this one really closed? I am on 14971 but am still experiencing the problem.
alehostert commentedon Nov 29, 2016
Thank you Adam Seering (@aseering).
sunilmut commentedon Dec 1, 2016
Marco Behler (@marcobehler) - I am not able to repro the above issue on build 14971 using the sample program posted by William Guss (@MadcowD). Do you have the teredo interface installed by any means on your Windows box? If so, you might be running into #1414 or #468. See the workaround posted by Sascha Quartz (@saschagehlich) in #468 to disable the teredo interface. A fix for that is coming soon.
mattrothenberg commentedon Dec 1, 2016
Sunil Muthuswamy (@sunilmut) I can confirm that Sascha Quartz (@saschagehlich)'s workaround posted in in #468 resolved my problem in trying to run Middleman (middleman/middleman#1960). Thank you so much! Care to explain (to a Windows & Ubuntu newbie like myself) what this change actually does?
marcobehler commentedon Dec 1, 2016
Sunil Muthuswamy (@sunilmut) can also make it work with Sascha Quartz (@saschagehlich)'s workaround. (then the error goes away)...
sunilmut commentedon Dec 2, 2016
Glad to know Matt Rothenberg (@mattrothenberg) and Marco Behler (@marcobehler) that it resolves both of your issues. Jason Lin (@JasonLinMS) can provide the exact details. But as I understand, the "Teredo Tunneling Pseudo-Interface" has a HW address of 32 bytes. In string format, each byte requires 3-byte for representation i.e 32*3 = 96bytes. While the 'ip' tool is hard coded to only expect 64 bytes overall. So, there is buffer overflow and the tool crashes.
JasonLinMS commentedon Dec 2, 2016
Sunil Muthuswamy (@sunilmut) Thanks for the great explanation.
sunilmut commentedon Jan 13, 2017
The teredo issue should be fixed in 15007
sunilmut commentedon Jan 19, 2017
Closing this out. If anyone is still (on builds 15007+) having problems, please let us know and we can reopen.
Re-enable additional tests on WSL (#25807)
Re-enable additional tests on WSL (dotnet/corefx#25807)