-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
std::chrono::current_zone crashes on MSVC builds #3500
Comments
Thanks! We've had reports but couldn't work out what the error message was. We're trying to work out what in our sandboxing code might be causing this. |
I'm not sure why it fails with that error.
|
So, using https://godbolt.org/z/7j38r36sT:
I get output:
Does your sandboxed env offer icu.dll? |
Thanks @rogerorr - we've asked the MS team to look in and see if there's something missing. Super helpful, thanks :) |
https://github.com/microsoft/STL/wiki/VS-2019-Changelog#vs-2019-1610
If the VMs are using Windows Server 2019, that would explain this - it's too old for time zones. Windows Server 2022 will work (that's what the STL's own test VMs use). |
Thanks all! We'll see about the OS! |
We are currently blocked by the version of Windows that Kubernetes supports. As soon as we can upgrade to Server 2022 we will. Until then there is nothing we can do here sadly. :( |
I had the same problems on certain Windows machines that just crashed when any timezone is set. |
The simple program in https://godbolt.org/z/Gs35jzodK that compiles:
crashes on MSVC builds with error :
Program returned: 3221226505
(this is STATUS_STACK_BUFFER_OVERRUN)
The text was updated successfully, but these errors were encountered: