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

JIT: Assertion failed 'optLoopTable[i].lpContainedBy in windows arm64 pgo libraries stress test #58785

Closed
AndyAyersMS opened this issue Sep 8, 2021 · 4 comments
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone

Comments

@AndyAyersMS
Copy link
Member

Arm64 random pgo & gdv assertion failure in System.Globalization.Nls.Tests.dll:

https://dev.azure.com/dnceng/public/_build/results?buildId=1344008&view=ms.vss-test-web.build-test-results-tab

COMPlus_JitRandomEdgeCounts=1
COMPlus_JitRandomGuardedDevirtualization=1
COMPlus_ReadyToRun=0
COMPlus_TC_QuickJitForLoops=1
COMPlus_TieredCompilation=1
COMPlus_TieredPGO=1

Assert failure(PID 11716 [0x00002dc4], Thread: 8520 [0x2148]): Assertion failed 'optLoopTable[i].lpContainedBy(first, bottom)' in 'System.String:SplitInternal(System.ReadOnlySpan`1[Char],int,int):System.String[]:this' during 'Find loops' (IL size 224)

    File: D:\workspace\_work\1\s\src\coreclr\jit\optimizer.cpp Line: 1099
    Image: D:\h\w\A5F50952\p\dotnet.exe
@dotnet-issue-labeler dotnet-issue-labeler bot added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI untriaged New issue has not been triaged by the area owner labels Sep 8, 2021
@ghost
Copy link

ghost commented Sep 8, 2021

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

Issue Details

Arm64 random pgo & gdv assertion failure in System.Globalization.Nls.Tests.dll:

https://dev.azure.com/dnceng/public/_build/results?buildId=1344008&view=ms.vss-test-web.build-test-results-tab

COMPlus_JitRandomEdgeCounts=1
COMPlus_JitRandomGuardedDevirtualization=1
COMPlus_ReadyToRun=0
COMPlus_TC_QuickJitForLoops=1
COMPlus_TieredCompilation=1
COMPlus_TieredPGO=1

Assert failure(PID 11716 [0x00002dc4], Thread: 8520 [0x2148]): Assertion failed 'optLoopTable[i].lpContainedBy(first, bottom)' in 'System.String:SplitInternal(System.ReadOnlySpan`1[Char],int,int):System.String[]:this' during 'Find loops' (IL size 224)

    File: D:\workspace\_work\1\s\src\coreclr\jit\optimizer.cpp Line: 1099
    Image: D:\h\w\A5F50952\p\dotnet.exe
Author: AndyAyersMS
Assignees: -
Labels:

area-CodeGen-coreclr, untriaged

Milestone: -

@AndyAyersMS AndyAyersMS added this to the 7.0.0 milestone Sep 8, 2021
@AndyAyersMS AndyAyersMS removed the untriaged New issue has not been triaged by the area owner label Sep 8, 2021
@AndyAyersMS
Copy link
Member Author

Marking as 7.0 for now.

@AndyAyersMS
Copy link
Member Author

This hasn't failed recently so will close.

There is a similar looking failure over in #65688.

@AndyAyersMS
Copy link
Member Author

Actually, I found a recent one (windows x86):

https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-6902db2ad7f4420a88/System.Text.RegularExpressions.Tests/1/console.ef8c2154.log?%3F%253Fsv%253D2019-07-07%2526se%253D2022-05-06T17%25253A33%25253A24Z%2526sr%253Dc%2526sp%253Drl%2526sig%253DM2y1OqaF1O3uca%25252FWSO6CdxlSMMDdu8AXOppRyZJmvVM%25253D

via

https://runfo.azurewebsites.net/search/helix-logs/?bq=started%3A%7E14+definition%3A1002+result%3A%21Succeeded&lq=started%3A%7E14+logKind%3Aconsole+text%3A%22optLoopTable%22

set COMPlus_TieredCompilation=1
set COMPlus_ReadyToRun=0
set COMPlus_TC_QuickJitForLoops=1
set COMPlus_TieredPGO=1
set COMPlus_JitRandomGuardedDevirtualization=1
set COMPlus_JitRandomEdgeCounts=1

  Discovering: System.Text.RegularExpressions.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Text.RegularExpressions.Tests (found 284 of 315 test cases)
  Starting:    System.Text.RegularExpressions.Tests (parallel test collections = on, max threads = 4)

Assert failure(PID 3912 [0x00000f48], Thread: 2388 [0x0954]): Assertion failed 'optLoopTable[i].lpContainedBy(top, bottom)' in 'Microsoft.CodeAnalysis.CSharp.NullableWalker:Scan(byref):System.Collections.Immutable.ImmutableArray`1[[Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2+PendingBranch[[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalState, Microsoft.CodeAnalysis.CSharp, Version=4.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35],[Microsoft.CodeAnalysis.CSharp.NullableWalker+LocalFunctionState, Microsoft.CodeAnalysis.CSharp, Version=4.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]], Microsoft.CodeAnalysis.CSharp, Version=4.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]:this' during 'Find loops' (IL size 295; hash 0xe1d27c16; Tier1)

@ghost ghost locked as resolved and limited conversation to collaborators May 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
Archived in project
Development

No branches or pull requests

1 participant