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

Assert failure(PID 7660 [0x00001dec], Thread: 8932 [0x22e4]): Assertion failed 'type == lvaTable[lnum].lvType' #8195

Closed
RussKeldorph opened this issue May 23, 2017 · 3 comments
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone

Comments

@RussKeldorph
Copy link
Contributor

New assertion since Friday in several legs, e.g. https://ci.dot.net/job/dotnet_coreclr/job/master/job/jitstress/job/x64_checked_windows_nt_jitstress1/182/

D:\j\workspace\x64_checked_w---02832afb\bin\tests\Windows_NT.x64.Checked\TestWrappers\JIT.Directed\JIT.Directed.XUnitWrapper.cs(21737): error : JIT_Directed._nullabletypes_castclassvaluetype_ro_castclassvaluetype_ro_._nullabletypes_castclassvaluetype_ro_castclassvaluetype_ro_cmd [FAIL] [D:\j\workspace\x64_checked_w---02832afb\tests\runtest.proj]
        
        Assert failure(PID 7660 [0x00001dec], Thread: 8932 [0x22e4]): Assertion failed 'type == lvaTable[lnum].lvType' in 'Helper:Compare(struct,struct):bool' (IL size 8)
        
            File: d:\j\workspace\x64_checked_w---02832afb\src\jit\gentree.cpp Line: 6954
            Image: D:\j\workspace\x64_checked_w---02832afb\bin\tests\Windows_NT.x64.Checked\Tests\Core_Root\CoreRun.exe
        
        
  
  Return code:      1
@RussKeldorph
Copy link
Contributor Author

@dotnet/jit-contrib

@pgavlin
Copy link
Contributor

pgavlin commented May 23, 2017

As in dotnet/corefx#20025, the culprit here is dotnet/coreclr#10453. @JosephTremoulet, can you take a look?

@pgavlin pgavlin assigned JosephTremoulet and unassigned pgavlin May 23, 2017
@stephentoub
Copy link
Member

Note that this is blocking CoreFx taking an updated CoreCLR.

JosephTremoulet referenced this issue in JosephTremoulet/coreclr May 24, 2017
Implicit byref parameters originally have struct type in both the lvaTable
and on their appearances in the IR.  In fgRetypeImplicitByRefArgs, the
types in the lvaTable are updated, and subsequently, during global morph,
in fgMorphImplicitByRefArgs, the types of their appearances in the IR are
updated.  Weaken an assertion in lcl var creation to allow the type
disagreement for implicit byref parameter references during global morph.

Fixes #11831.
@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the 2.1.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 23, 2020
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
None yet
Development

No branches or pull requests

5 participants