Skip to content

Assertion failed 'link' in 'System.ComponentModel.Composition.Hosting.CompositionServices:TryExportMetadataForMember(System.Reflection.MemberInfo,byref)' #68513

Closed

Description

@BruceForstall

pipeline: runtime-coreclr libraries-jitstress
job: net7.0-Linux-Release-arm64-CoreCLR_checked-jitstress1-(Ubuntu.1804.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20210531091519-97d8652
test: System.ComponentModel.Composition.Registration.Tests

https://dev.azure.com/dnceng/public/_build/results?buildId=1736001&view=ms.vss-test-web.build-test-results-tab&runId=46986324&paneView=debug&resultId=187255

+ grep COMPlus
COMPlus_TieredCompilation=0
COMPlus_JitStress=1
COMPlus_DbgMiniDumpName=/home/helixbot/dotnetbuild/dumps/coredump.%d.dmp
COMPlus_DbgEnableMiniDump=1
+ ./RunTests.sh --runtime-path /root/helix/work/correlation
----- start Mon Apr 25 08:01:50 UTC 2022 =============== To repro directly: =====================================================
pushd .
/root/helix/work/correlation/dotnet exec --runtimeconfig System.ComponentModel.Composition.Registration.Tests.runtimeconfig.json --depsfile System.ComponentModel.Composition.Registration.Tests.deps.json xunit.console.dll System.ComponentModel.Composition.Registration.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
popd
===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e
  Discovering: System.ComponentModel.Composition.Registration.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.ComponentModel.Composition.Registration.Tests (found 98 of 130 test cases)
  Starting:    System.ComponentModel.Composition.Registration.Tests (parallel test collections = on, max threads = 4)

gtFindLink failed: stm=STMT00200, exp=[001554]
stm =STMT00200 ( INL21 @ 0x011[E-] ... ??? ) <- INL18 @ 0x015[E-] <- INLRT @ ???
N006 ( 10,  9)              [000790] ----G-------                        *  JTRUE     void   $VN.Void
N005 (  8,  7)              [000789] J---G--N----                        \--*  EQ        int    $742
N003 (  6,  4)              [002119] ------------                           +--*  EQ        int   
N001 (  1,  1)              [001557] ------------                           |  +--*  LCL_VAR   ref    V111 tmp94       u:2 (last use) <l:$706, c:$707>
N002 (  1,  2)              [000780] ------------                           |  \--*  CNS_INT   ref    null $VN.Null
N004 (  1,  2)              [000788] ------------                           \--*  CNS_INT   int    0 $c0

exp =N004 (  3, 12)              [001554] I-----------                        *  CNS_INT(h) long   0x158880a388 static Fseq[ObjectType] $6e


Assert failure(PID 31 [0x0000001f], Thread: 46 [0x002e]): Assertion failed 'link' in 'System.ComponentModel.Composition.Hosting.CompositionServices:TryExportMetadataForMember(System.Reflection.MemberInfo,byref)' during 'Optimize Valnum CSEs' (IL size 593; hash 0xb7d570b2; FullOpts)

    File: /__w/1/s/src/coreclr/jit/optcse.cpp Line: 3287
    Image: /root/helix/work/correlation/dotnet

Also, System.ComponentModel.Composition.Tests:

+ grep COMPlus
COMPlus_TieredCompilation=0
COMPlus_JitStress=1
COMPlus_DbgMiniDumpName=/home/helixbot/dotnetbuild/dumps/coredump.%d.dmp
COMPlus_DbgEnableMiniDump=1
+ ./RunTests.sh --runtime-path /root/helix/work/correlation
----- start Mon Apr 25 08:01:52 UTC 2022 =============== To repro directly: =====================================================
pushd .
/root/helix/work/correlation/dotnet exec --runtimeconfig System.ComponentModel.Composition.Tests.runtimeconfig.json --depsfile System.ComponentModel.Composition.Tests.deps.json xunit.console.dll System.ComponentModel.Composition.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
popd
===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e
  Discovering: System.ComponentModel.Composition.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.ComponentModel.Composition.Tests (found 1431 of 1589 test cases)
  Starting:    System.ComponentModel.Composition.Tests (parallel test collections = on, max threads = 4)

Assert failure(PID 28 [0x0000001c], Thread: 44 [0x002c]): Assertion failed 'link' in 'System.ComponentModel.Composition.Hosting.CompositionServices:TryExportMetadataForMember(System.Reflection.MemberInfo,byref)' during 'Optimize Valnum CSEs' (IL size 593; hash 0xb7d570b2; FullOpts)

    File: /__w/1/s/src/coreclr/jit/optcse.cpp Line: 3287
    Image: /root/helix/work/correlation/dotnet


gtFindLink failed: stm=STMT00200, exp=[001552]
stm =STMT00200 ( INL21 @ 0x011[E-] ... ??? ) <- INL18 @ 0x015[E-] <- INLRT @ ???
N006 ( 10,  9)              [000790] ----G-------                        *  JTRUE     void   $VN.Void
N005 (  8,  7)              [000789] J---G--N----                        \--*  EQ        int    $6c0
N003 (  6,  4)              [002059] ------------                           +--*  EQ        int   
N001 (  1,  1)              [001555] ------------                           |  +--*  LCL_VAR   ref    V108 tmp91       u:2 (last use) <l:$624, c:$13f>
N002 (  1,  2)              [000780] ------------                           |  \--*  CNS_INT   ref    null $VN.Null
N004 (  1,  2)              [000788] ------------                           \--*  CNS_INT   int    0 $c0

exp =N004 (  3, 12)              [001552] I-----------                        *  CNS_INT(h) long   0x158cc0f470 static Fseq[ObjectType] $68

@dotnet/jit-contrib

Activity

  1. added
    JitStress
    area-CodeGen-coreclr
    on Apr 25, 2022
  2. added this to the 7.0.0 milestone on Apr 25, 2022
  3. ghost added
    untriaged
    on Apr 25, 2022
  4. removed
    untriaged
    on Apr 25, 2022
  5. self-assigned this
    on Apr 25, 2022
  6. added
    blocking-clean-ci-optional
    on May 5, 2022
  7. ghost added
    in-pr
    on May 15, 2022
  8. added a commit that references this issue on May 16, 2022
    3dcd52e
  9. ghost removed
    in-pr
    on May 16, 2022
  10. ghost locked as resolved and limited conversation to collaborators on Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

JitStressarea-CodeGen-coreclrblocking-clean-ci-optional

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions