Skip to content

[PGO] assert "Mismatch in align instruction." #95755

Closed

Description

@EgorBo

PGO Libraries pipelines fail with:

Mismatch in align instruction.
Containing IG: IG29
loopHeadPredIG: IG52
loopHeadIG: IG53
igInLoop: IG58
igInLoop->backEdge: IG57
igInLoop has align instruction for : IG61
Loop:
	IG53
	IG54
	IG55
	IG56
	IG57
	IG58
	IG59
	IG60
	IG61
	IG62
	IG63
	IG64
	IG65
	IG66
	IG67
	IG68
	IG69
	IG70
	IG71
	IG72
	IG73
	IG74
	IG75
	IG76
	IG77
	IG78
	IG79
	IG80
	IG81
	IG82
	IG83
	IG84
	IG85
	IG86
	IG87
	IG88
	IG89
	IG90
	IG91

Assert failure(PID 5048 [0x000013b8], Thread: 7396 [0x1ce4]): Assertion failed 'false' in 'Microsoft.CodeAnalysis.TopologicalSort:TryIterativeSort[System.__Canon](System.Collections.Generic.IEnumerable`1[System.__Canon],Microsoft.CodeAnalysis.TopologicalSortAddSuccessors`1[System.__Canon],byref):ubyte' during 'Generate code' (IL size 278; hash 0x33b57c85; Tier1-OSR)

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

    Microsoft.Gen.OptionsValidation.Unit.Test.EmitterTests.InternalsVisibleToAssembliesTest(languageVersion: CSharp10) [FAIL]
      Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Exit code was -1073740286 but it should have been 42
      Stack Trace:
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(242,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing)
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(55,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose()
        /_/src/libraries/Microsoft.Extensions.Options/tests/SourceGeneration.Unit.Tests/Main.cs(1217,0): at Microsoft.Gen.OptionsValidation.Unit.Test.EmitterTests.InternalsVisibleToAssembliesTest(LanguageVersion languageVersion)
        --- End of stack trace from previous location ---
  Finished:    Microsoft.Extensions.Options.SourceGeneration.Unit.Tests

E.g. https://dev.azure.com/dnceng-public/public/_build/results?buildId=491980&view=ms.vss-test-web.build-test-results-tab&runId=11398310&resultId=190916&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

cc @dotnet/jit-contrib

Activity

  1. ghost added
    area-CodeGen-coreclr
    on Dec 7, 2023
  2. ghost added
    untriaged
    on Dec 7, 2023
  3. added
    blocking-clean-ci-optional
    on Dec 7, 2023
  4. added this to the 9.0.0 milestone on Dec 7, 2023
  5. removed
    untriaged
    on Dec 7, 2023
  6. self-assigned this
    on Dec 8, 2023
  7. kunalspathak commented on Dec 11, 2023

    @kunalspathak
    Contributor

    I will look into this if it repro after #95836 is merged.

  8. amanasifkhalid commented on Dec 18, 2023

    @amanasifkhalid
    Contributor

    This pipeline is still red, but I haven't seen this assert pop up in the last few runs, and #95836 has been merged in. Should we close this issue?

  9. kunalspathak commented on Dec 19, 2023

    @kunalspathak
    Contributor

    This pipeline is still red, but I haven't seen this assert pop up in the last few runs, and #95836 has been merged in. Should we close this issue?

    Yep.

  10. locked and limited conversation to collaborators on Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrblocking-clean-ci-optional

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions