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

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

Closed
BruceForstall opened this issue Apr 25, 2022 · 1 comment · Fixed by #69367
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes
Milestone

Comments

@BruceForstall
Copy link
Member

pipeline: runtime-coreclr libraries-jitstress
job: net7.0-Linux-Release-arm64-CoreCLR_checked-jitstress1-(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/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

@BruceForstall BruceForstall added JitStress CLR JIT issues involving JIT internal stress modes area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI labels Apr 25, 2022
@BruceForstall BruceForstall added this to the 7.0.0 milestone Apr 25, 2022
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Apr 25, 2022
@ghost
Copy link

ghost commented Apr 25, 2022

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

Issue Details

pipeline: runtime-coreclr libraries-jitstress
job: net7.0-Linux-Release-arm64-CoreCLR_checked-jitstress1-(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/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

Author: BruceForstall
Assignees: -
Labels:

JitStress, area-CodeGen-coreclr

Milestone: 7.0.0

@BruceForstall BruceForstall removed the untriaged New issue has not been triaged by the area owner label Apr 25, 2022
@jakobbotsch jakobbotsch self-assigned this Apr 25, 2022
@BruceForstall BruceForstall added the blocking-clean-ci-optional Blocking optional rolling runs label May 5, 2022
jakobbotsch added a commit to jakobbotsch/runtime that referenced this issue May 14, 2022
Otherwise we may discard setup nodes.

Fix dotnet#68513
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label May 15, 2022
jakobbotsch added a commit that referenced this issue May 16, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label May 16, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jun 15, 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 blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants