Closed Martin521 closed 2 months ago
In a certain, reproducible situation, while debugging a .net program (the F# compiler in this case) in VS Code, a segmentation fault happens.
dotnet build ./FSharp.Compiler.Service.sln -c Debug
test.fs
module A printfn "hello world"
Launch FSC (Debug)
src/Compiler/Driver/FxResolver.fs:471
no segmentation fault
see above
It used to work on preview 5
preview 5
Downgrade to preview 5.
9.0.100-preview.6.24328.19 Windows 11 x64 host, dev container using mcr.microsoft.com/dotnet/sdk:9.0.100-preview.6
No response
Tagging subscribers to this area: @tommcdon See info in area-owners.md if you want to be subscribed.
@thaystg Thanks for the fix. Did it land in preview 7?
No, landed in RC1.
Description
In a certain, reproducible situation, while debugging a .net program (the F# compiler in this case) in VS Code, a segmentation fault happens.
Reproduction Steps
dotnet build ./FSharp.Compiler.Service.sln -c Debug
.test.fs
, containing the following:Launch FSC (Debug)
, entertest.fs
at the popped up prompt. FSC compilestest.fs
and exits normallysrc/Compiler/Driver/FxResolver.fs:471
).Expected behavior
no segmentation fault
Actual behavior
see above
Regression?
It used to work on
preview 5
Known Workarounds
Downgrade to preview 5.
Configuration
9.0.100-preview.6.24328.19 Windows 11 x64 host, dev container using mcr.microsoft.com/dotnet/sdk:9.0.100-preview.6
Other information
No response