Skip to content
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

Assertion in BigIntegerCalculator #103247

Closed
MichalStrehovsky opened this issue Jun 10, 2024 · 2 comments · Fixed by #103423
Closed

Assertion in BigIntegerCalculator #103247

MichalStrehovsky opened this issue Jun 10, 2024 · 2 comments · Fixed by #103423
Assignees
Labels
area-System.Numerics blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' in-pr There is an active PR which will close this issue when it is merged Known Build Error Use this to report build issues in the .NET Helix tab runtime-mono specific to the Mono runtime
Milestone

Comments

@MichalStrehovsky
Copy link
Member

MichalStrehovsky commented Jun 10, 2024

Sounds related to #103052, cc @lambdageek

Process terminated. Assertion failed.
   at System.Diagnostics.DebugProvider.Fail(String message, String detailMessage) in /_/src/libraries/System.Private.CoreLib/src/System/Diagnostics/DebugProvider.cs:line 22
   at System.Diagnostics.Debug.Fail(String message, String detailMessage) in /_/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Debug.cs:line 133
   at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage) in /_/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Debug.cs:line 97
   at System.Diagnostics.Debug.Assert(Boolean condition) in /_/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Debug.cs:line 82
   at System.Numerics.BigIntegerCalculator.<Multiply>g__MultiplyKaratsuba|57_0(ReadOnlySpan`1 left, ReadOnlySpan`1 right, Span`1 bits, Int32 n) in /_/src/libraries/System.Runtime.Numerics/src/System/Numerics/BigIntegerCalculator.SquMul.cs:line 256
   at System.Numerics.BigIntegerCalculator.<Multiply>g__MultiplyKaratsuba|57_0(ReadOnlySpan`1 left, ReadOnlySpan`1 right, Span`1 bits, Int32 n) in /_/src/libraries/System.Runtime.Numerics/src/System/Numerics/BigIntegerCalculator.SquMul.cs:line 309
   at System.Numerics.BigIntegerCalculator.<Multiply>g__MultiplyKaratsuba|57_0(ReadOnlySpan`1 left, ReadOnlySpan`1 right, Span`1 bits, Int32 n) in /_/src/libraries/System.Runtime.Numerics/src/System/Numerics/BigIntegerCalculator.SquMul.cs:line 309
   at System.Numerics.BigIntegerCalculator.Multiply(ReadOnlySpan`1 left, ReadOnlySpan`1 right, Span`1 bits) in /_/src/libraries/System.Runtime.Numerics/src/System/Numerics/BigIntegerCalculator.SquMul.cs:line 245
   at System.Numerics.BigInteger.Multiply(ReadOnlySpan`1 left, Int32 leftSign, ReadOnlySpan`1 right, Int32 rightSign) in /_/src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs:line 2762
   at System.Numerics.BigInteger.op_Multiply(BigInteger left, BigInteger right) in /_/src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs:line 2692
   at System.Numerics.Tests.modpowTest.FastReducer_AssertFailure_RegressionTest(BigInteger value, Int32 exponent, BigInteger modulus) in /_/src/libraries/System.Runtime.Numerics/tests/BigInteger/modpow.cs:line 404
   at System.Object.InvokeStub_modpowTest.FastReducer_AssertFailure_RegressionTest(Object , Span`1 )
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 136
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs:line 133
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBase.cs:line 56
   at Xunit.Sdk.TestInvoker`1[[Xunit.Sdk.IXunitTestCase, xunit.core, Version=2.6.7.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]].CallTestMethod(Object testClassInstance) in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 151
   at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_0.<<InvokeTestMethodAsync>b__1>d[[Xunit.Sdk.IXunitTestCase, xunit.core, Version=2.6.7.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]].MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 278

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=701999
Build error leg or test failing: System.Runtime.Numerics.Tests.WorkItemExecution
Pull request: #103151

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "modpowTest.FastReducer_AssertFailure_RegressionTest",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=701999
Error message validated: [modpowTest.FastReducer_AssertFailure_RegressionTest]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/10/2024 9:21:49 PM UTC

Report

Build Definition Test Pull Request
771585 dotnet/runtime System.Runtime.Numerics.Tests.WorkItemExecution #100294

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 1
@MichalStrehovsky MichalStrehovsky added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' runtime-mono specific to the Mono runtime Known Build Error Use this to report build issues in the .NET Helix tab labels Jun 10, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-numerics
See info in area-owners.md if you want to be subscribed.

@kzrnm
Copy link
Contributor

kzrnm commented Jun 13, 2024

I suspect that this error may be due to parallel execution. See #103423 for details.

@stephentoub stephentoub added this to the 9.0.0 milestone Jul 22, 2024
@dotnet-policy-service dotnet-policy-service bot added the in-pr There is an active PR which will close this issue when it is merged label Aug 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Numerics blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' in-pr There is an active PR which will close this issue when it is merged Known Build Error Use this to report build issues in the .NET Helix tab runtime-mono specific to the Mono runtime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants