-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
ILC fails with System.OverflowException: Arithmetic operation resulted in an overflow. #99409
Comments
Doesn't seem like a codegen issue... reclassifying. |
Known generic recursion in the library: #92329. Apparently this time the compiler is running into it in a way that it doesn't generate runtime-throwing code. |
This is because the compiler was asked to root System.Linq.Parallel ( <ItemGroup>
<TrimmerRootAssembly Include="System.Linq.Parallel" />
</ItemGroup> to a hello world project file. Not clear why this is showing up as a recent regression. Rooting @rolfbjarne is there something in the version bump that newly makes us pass |
OK, the actual issue I ran into on CI is different, and then I didn't notice that my attempted repro was wrong, ending up filing up this. Filed new issue: #99611 |
Description
ILC fails with System.OverflowException: Arithmetic operation resulted in an overflow.
A lot of memory is also used (at one time over 30gb on my machine).
Reproduction Steps
Repro created by passing --make-repro-path to ilc:
274257939_monotouchtest.zip
Expected behavior
Successful ILC compilation.
Actual behavior
There's a lot of output, zipped: ilcoutput.zip
Here's an extract:
Regression?
Yes, this started happening in a maestro bump (dotnet/macios#20249).
So looks like somewhere in this range: 5e603d5...8510651
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: