Skip to content

Conversation

@auduchinok
Copy link
Member

@auduchinok auduchinok commented Dec 27, 2023

Fixes #16272.

Applies the same fix as in dotnet/msbuild#8738 to prevent crashing when DOTNET_SYSTEM_GLOBALIZATION_INVARIANT is set.

@auduchinok auduchinok requested a review from a team as a code owner December 27, 2023 17:16
@vzarytovskii
Copy link
Member

Can this be auto-tested somehow?

@auduchinok
Copy link
Member Author

Can this be auto-tested somehow?

Calling the fsc on Windows with DOTNET_SYSTEM_GLOBALIZATION_INVARIANT and non-ASCI locale should throw the exception from dotnet/msbuild#8738. I'm not sure what is the easiest way to add a test for it in the compiler repo. Could help me with that, please?

@vzarytovskii
Copy link
Member

Can this be auto-tested somehow?

Calling the fsc on Windows with DOTNET_SYSTEM_GLOBALIZATION_INVARIANT and non-ASCI locale should throw the exception from dotnet/msbuild#8738. I'm not sure what is the easiest way to add a test for it in the compiler repo. Could help me with that, please?

Not entirely sure tbh. The only tests we invoke with FSC are F#QA. And we don't really want to add anything to the suite.

@T-Gro
Copy link
Member

T-Gro commented Jan 2, 2024

Can we get a standalone proof please?
Automatic test not needed in my opinion, just a proof of manual testing .

@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2024

❗ Release notes required


✅ Found changes and release notes in following paths:

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/8.0.300.md

@auduchinok
Copy link
Member Author

Can we get a standalone proof please?

Hm, I wasn't able to reproduce it myself. I'll ask @mfilippov (i.e. the author of the original MSBuild fix) later if there's a simple repro when he's back from vacation.

@mfilippov
Copy link

mfilippov commented Jan 15, 2024

Yes, it is easy to reproduce. Just set locale for Unicode program different from US.
image

@0101
Copy link
Contributor

0101 commented Jan 29, 2024

@auduchinok were you able to confirm the fix works using the repro steps?

@auduchinok
Copy link
Member Author

AFAIK it helps, yes.

@psfinaki
Copy link
Contributor

@auduchinok please move the release notes to the next version 👀

@psfinaki psfinaki merged commit a734882 into dotnet:main Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

ERROR: First Error Message: Error MSB6006. "dotnet.exe" exited with code -532462766.

6 participants