-
Notifications
You must be signed in to change notification settings - Fork 597
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
Windows 10: Invalid parameter passed to C runtime function. #402
Comments
What parameter are you saying is wrong? |
That's the message from Windows / VS Code. Ha! - I should have googled more: |
That's what, a stack trace from a crash? Can you get any more information? We do have appveyor running automated tests on windows, we don't get any crashes, and this seems to be in initialization code which is the first thing called. What build system are you using to compile with windows (cmake, nmake makefiles, etc)? |
Also, was ares_library_init() called before this? |
I was testing on a Win10 1809 VM. |
Clean load on win10 20H2. |
The error/warning message gets logged to the VS Code debug log.
Would be nice to have a clean log before it gets to whatever I've broken in my code. :-)
ares_init.c: static int get_DNS_AdaptersAddresses(char **outptr)
/* Usually this call suceeds with initial buffer size */
res = (*ares_fpGetAdaptersAddresses) (AF_UNSPEC, AddrFlags, NULL,
ipaa, &ReqBufsz);
Invalid parameter passed to C runtime function.
The text was updated successfully, but these errors were encountered: