-
Notifications
You must be signed in to change notification settings - Fork 833
Description
On macOS, calling ParseAndCheckFileInProject can produce a stack overflow. The issue is most likely related to computation expression builders, it can be reproduced by using a list builder with a certain number of yields (around 200). We have a minimal example repo reproducing this issue, and it also happens on the CI as shown in this build: https://github.com/krauthaufen/FSCtest/runs/688775775?check_suite_focus=true#step:3:23
The issue specifically only occurs on macOS. It works fine on Ubuntu 19.10 and Win10.
The issue likely happens in the "check" portion of the call, since the separate "parse" call worked in our test.
Repro steps
- On macOS, clone our test repo https://github.com/krauthaufen/FSCtest
- cd checker
- dotnet run
Expected behavior
Call terminates.
Actual behavior
Stack Overflow.
Related information
- Operating system: macOS Catalina 10.15.4 (on real macbook, and on github CI)
.NET Core SDK (reflecting any global.json):
Version: 3.1.202
Commit: 6ea70c8dca
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.15
OS Platform: Darwin
RID: osx.10.15-x64
Base Path: /usr/local/share/dotnet/sdk/3.1.202/
Host (useful for support):
Version: 3.1.4
Commit: 0c2e69caa6
Thanks in advance, any help would be greatly appreciated. Cheers!