Skip to content

Assertion in BigIntegerCalculator #103247

Closed
@MichalStrehovsky

Description

@MichalStrehovsky

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

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Numericsblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'in-prThere is an active PR which will close this issue when it is mergedruntime-monospecific to the Mono runtime

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions