-
Notifications
You must be signed in to change notification settings - Fork 4k
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
System.InsufficientExecutionStackException
on linux-musl-s390x
#64423
Comments
linux-musl-s390x
System.InsufficientExecutionStackException
on linux-musl-s390x
Of note, crossbuilt |
The following piece of code manages the error:
|
Output of |
According to Newtonsoft, this is indeed most likely a roslyn issue: |
What is the nature of this environment? I only see 20 levels of recursion in this tree. Does this system only have very small stack sizes or something? |
Looking into it further, it looks like musl libc has a very small (128k) default thread stack size, contrary to glibc's usual 8MB. I suppose then its a matter of setting a larger thread stack size via linker flag |
Thinking this to be a stack issue, I set the default stack to bootstrap cli via
Unfortunately, build of newtonsoft-json still fails when building dotnet with source-build muslstack is a utility that allows one to set the stack size of prebuilt binary. |
Seems more and more like a runtime issue. The following code exists or coreclr but not mono:
Looks a lot like the issue here... |
Unless something comes up suggesting that this is more of a roslyn issue, closing in favor of dotnet/runtime#76523 |
Looking for guidance on how to debug this.
Version Used:
4.4.0-2.22426.8
Steps to Reproduce:
Expected Behavior:
Build should work
Actual Behavior:
Also reproducible when building roslyn 4.3.0-3.22415.1 with dotnet sdk 6.0.401 (roslyn 4.3.0-3.22415.1)
Full log here
The text was updated successfully, but these errors were encountered: