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

[release/8.0-rc1] Assertion failed in 'System.Numerics.BigIntegerCalculator:PowCore during 'Generate code' #90693

Closed
carlossanlop opened this issue Aug 16, 2023 · 7 comments
Assignees
Labels
arch-x64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-windows runtime-coreclr specific to the CoreCLR runtime
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Aug 16, 2023

Error Blob

{
  "ErrorMessage": "Assertion failed 'false' in 'System.Numerics.BigIntegerCalculator:PowCore(System.Span`1[uint],int,System.ReadOnlySpan`1[uint],System.ReadOnlySpan`1[uint],System.Span`1[uint],System.Span`1[uint])' during 'Generate code'",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

Mismatch in align instruction.
Containing IG: IG97
loopHeadPredIG: IG111
loopHeadIG: IG112
igInLoop: IG113
igInLoop->backEdge: IG95
igInLoop has align instruction for : IG114
Loop:
	IG112
	IG113
	IG114
	IG115
	IG116
	IG117
	IG118
	IG119
	IG120
	IG121
	IG122
	IG123
	IG124
	IG125
	IG126
	IG127
	IG128
	IG129
	IG130
	IG131
	IG132
	IG133
	IG134
	IG135
	IG136
	IG137
	IG138
	IG139
	IG140
	IG141
	IG142
	IG143
	IG144
	IG145
	IG146
	IG147
	IG148
	IG149
	IG150
	IG151
	IG152
	IG153
	IG154
	IG155
	IG156
	IG157
	IG158
	IG159
	IG160
	IG161
	IG162
	IG163
	IG164
	IG165
	IG166
	IG167
	IG168
	IG169
	IG170
	IG171
	IG172
	IG173
	IG174
	IG175
	IG176
	IG177
	IG178
	IG179
	IG180
	IG181
	IG182
	IG183
	IG184
	IG185
	IG186
	IG187
	IG188
	IG189
	IG190
	IG191
	IG192
	IG193
	IG194
	IG195
	IG196
	IG197

Assert failure(PID 1228 [0x000004cc], Thread: 2788 [0x0ae4]): Assertion failed 'false' in 'System.Numerics.BigIntegerCalculator:PowCore(System.Span`1[uint],int,System.ReadOnlySpan`1[uint],System.ReadOnlySpan`1[uint],System.Span`1[uint],System.Span`1[uint])' during 'Generate code' (IL size 511; hash 0xd0657e4f; Tier1)

    File: D:\a\_work\1\s\src\coreclr\jit\emit.cpp Line: 5883
    Image: C:\h\w\B2F709D7\p\dotnet.exe

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=375536
Error message validated: Assertion failed 'false' in 'System.Numerics.BigIntegerCalculator:PowCore(System.Span1[uint],int,System.ReadOnlySpan1[uint],System.ReadOnlySpan1[uint],System.Span1[uint],System.Span1[uint])' during 'Generate code'`
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 8/16/2023 8:10:07 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@carlossanlop carlossanlop added area-System.Numerics os-windows arch-x64 blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' runtime-coreclr specific to the CoreCLR runtime Known Build Error Use this to report build issues in the .NET Helix tab labels Aug 16, 2023
@carlossanlop carlossanlop added this to the 8.0.0 milestone Aug 16, 2023
@ghost
Copy link

ghost commented Aug 16, 2023

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

Issue Details

Error Blob

{
  "ErrorMessage": "Assertion failed 'false' in 'System.Numerics.BigIntegerCalculator:PowCore(System.Span`1[uint],int,System.ReadOnlySpan`1[uint],System.ReadOnlySpan`1[uint],System.Span`1[uint],System.Span`1[uint])' during 'Generate code'",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

Mismatch in align instruction.
Containing IG: IG97
loopHeadPredIG: IG111
loopHeadIG: IG112
igInLoop: IG113
igInLoop->backEdge: IG95
igInLoop has align instruction for : IG114
Loop:
	IG112
	IG113
	IG114
	IG115
	IG116
	IG117
	IG118
	IG119
	IG120
	IG121
	IG122
	IG123
	IG124
	IG125
	IG126
	IG127
	IG128
	IG129
	IG130
	IG131
	IG132
	IG133
	IG134
	IG135
	IG136
	IG137
	IG138
	IG139
	IG140
	IG141
	IG142
	IG143
	IG144
	IG145
	IG146
	IG147
	IG148
	IG149
	IG150
	IG151
	IG152
	IG153
	IG154
	IG155
	IG156
	IG157
	IG158
	IG159
	IG160
	IG161
	IG162
	IG163
	IG164
	IG165
	IG166
	IG167
	IG168
	IG169
	IG170
	IG171
	IG172
	IG173
	IG174
	IG175
	IG176
	IG177
	IG178
	IG179
	IG180
	IG181
	IG182
	IG183
	IG184
	IG185
	IG186
	IG187
	IG188
	IG189
	IG190
	IG191
	IG192
	IG193
	IG194
	IG195
	IG196
	IG197

Assert failure(PID 1228 [0x000004cc], Thread: 2788 [0x0ae4]): Assertion failed 'false' in 'System.Numerics.BigIntegerCalculator:PowCore(System.Span`1[uint],int,System.ReadOnlySpan`1[uint],System.ReadOnlySpan`1[uint],System.Span`1[uint],System.Span`1[uint])' during 'Generate code' (IL size 511; hash 0xd0657e4f; Tier1)

    File: D:\a\_work\1\s\src\coreclr\jit\emit.cpp Line: 5883
    Image: C:\h\w\B2F709D7\p\dotnet.exe
Author: carlossanlop
Assignees: -
Labels:

area-System.Numerics, os-windows, arch-x64, blocking-clean-ci, runtime-coreclr, Known Build Error

Milestone: 8.0.0

@carlossanlop carlossanlop changed the title [release/8.0-rc1] Assertion failed in 'System.Numerics.BigIntegerCalculator:PowCore(System.Span1[uint],int,System.ReadOnlySpan1[uint],System.ReadOnlySpan1[uint],System.Span1[uint],System.Span`1[uint])' during 'Generate code' (IL size 511; hash 0xd0657e4f; Tier1) [release/8.0-rc1] Assertion failed in 'System.Numerics.BigIntegerCalculator:PowCore(System.Span1[uint],int,System.ReadOnlySpan1[uint],System.ReadOnlySpan1[uint],System.Span1[uint],System.Span``1[uint])' during 'Generate code' Aug 16, 2023
@carlossanlop carlossanlop changed the title [release/8.0-rc1] Assertion failed in 'System.Numerics.BigIntegerCalculator:PowCore(System.Span1[uint],int,System.ReadOnlySpan1[uint],System.ReadOnlySpan1[uint],System.Span1[uint],System.Span``1[uint])' during 'Generate code' [release/8.0-rc1] Assertion failed in 'System.Numerics.BigIntegerCalculator:PowCore during 'Generate code' Aug 16, 2023
@tannergooding tannergooding added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed area-System.Numerics labels Aug 16, 2023
@ghost
Copy link

ghost commented Aug 16, 2023

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

Error Blob

{
  "ErrorMessage": "Assertion failed 'false' in 'System.Numerics.BigIntegerCalculator:PowCore(System.Span`1[uint],int,System.ReadOnlySpan`1[uint],System.ReadOnlySpan`1[uint],System.Span`1[uint],System.Span`1[uint])' during 'Generate code'",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

Mismatch in align instruction.
Containing IG: IG97
loopHeadPredIG: IG111
loopHeadIG: IG112
igInLoop: IG113
igInLoop->backEdge: IG95
igInLoop has align instruction for : IG114
Loop:
	IG112
	IG113
	IG114
	IG115
	IG116
	IG117
	IG118
	IG119
	IG120
	IG121
	IG122
	IG123
	IG124
	IG125
	IG126
	IG127
	IG128
	IG129
	IG130
	IG131
	IG132
	IG133
	IG134
	IG135
	IG136
	IG137
	IG138
	IG139
	IG140
	IG141
	IG142
	IG143
	IG144
	IG145
	IG146
	IG147
	IG148
	IG149
	IG150
	IG151
	IG152
	IG153
	IG154
	IG155
	IG156
	IG157
	IG158
	IG159
	IG160
	IG161
	IG162
	IG163
	IG164
	IG165
	IG166
	IG167
	IG168
	IG169
	IG170
	IG171
	IG172
	IG173
	IG174
	IG175
	IG176
	IG177
	IG178
	IG179
	IG180
	IG181
	IG182
	IG183
	IG184
	IG185
	IG186
	IG187
	IG188
	IG189
	IG190
	IG191
	IG192
	IG193
	IG194
	IG195
	IG196
	IG197

Assert failure(PID 1228 [0x000004cc], Thread: 2788 [0x0ae4]): Assertion failed 'false' in 'System.Numerics.BigIntegerCalculator:PowCore(System.Span`1[uint],int,System.ReadOnlySpan`1[uint],System.ReadOnlySpan`1[uint],System.Span`1[uint],System.Span`1[uint])' during 'Generate code' (IL size 511; hash 0xd0657e4f; Tier1)

    File: D:\a\_work\1\s\src\coreclr\jit\emit.cpp Line: 5883
    Image: C:\h\w\B2F709D7\p\dotnet.exe

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=375536
Error message validated: Assertion failed 'false' in 'System.Numerics.BigIntegerCalculator:PowCore(System.Span1[uint],int,System.ReadOnlySpan1[uint],System.ReadOnlySpan1[uint],System.Span1[uint],System.Span1[uint])' during 'Generate code'`
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 8/16/2023 8:10:07 PM UTC

Author: carlossanlop
Assignees: -
Labels:

os-windows, arch-x64, area-CodeGen-coreclr, blocking-clean-ci, runtime-coreclr, Known Build Error

Milestone: 8.0.0

@tannergooding
Copy link
Member

Looks to be a JIT assert. CC. @kunalspathak since it appears to be alignment related.

@JulieLeeMSFT
Copy link
Member

@EgorBo PTAL.

@JulieLeeMSFT JulieLeeMSFT assigned EgorBo and unassigned TIHan Aug 17, 2023
@JulieLeeMSFT JulieLeeMSFT assigned kunalspathak and unassigned EgorBo Aug 31, 2023
@JulieLeeMSFT
Copy link
Member

Reassigning to @kunalspathak. PTAL.

@kunalspathak
Copy link
Member

@carlossanlop - can you please confirm the name of pipeline where this failure was happening so I can grab the fresh logs?

@kunalspathak
Copy link
Member

Duplicate of #91838

@kunalspathak kunalspathak marked this as a duplicate of #91838 Sep 9, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-windows runtime-coreclr specific to the CoreCLR runtime
Projects
None yet
Development

No branches or pull requests

6 participants