镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Assertion failed 'varTypeMap[type] != TYP_UNDEF' in 'Test.Program:testEquals(System.Numerics.Vector3):int' during 'Morph - Structs/AddrExp' #85608

Closed

Description

@tannergooding

The following occurs in jitstress-isas-x86 when DOTNET_EnableSSE2=0 (same with SSE=0 and HWIntrinsic=0):

Assert failure(PID 233164 [0x00038ecc], Thread: 232628 [0x38cb4]): Assertion failed 'varTypeMap[type] != TYP_UNDEF' in 'Test.Program:testEquals(System.Numerics.Vector3):int' during 'Morph - Structs/AddrExp' (IL size 134; hash 0x8db987a5; FullOpts)

    File: C:\Users\tagoo\source\repos\runtime-base\src\coreclr\jit\ee_il_dll.hpp Line: 233
    Image: C:\Users\tagoo\source\repos\runtime-base\artifacts\tests\coreclr\windows.x64.Checked\Tests\Core_Root\corerun.exe

This was introduced somewhere between 589bacae61a and 1b28b1c2d5b: 589baca...1b28b1c

Stack trace is:

 	[Inline Frame] clrjit.dll!JITtype2varType(CorInfoType) Line 233	C++
>	clrjit.dll!Compiler::getSIMDStructFromField(GenTree * tree, CorInfoType * simdBaseJitTypeOut, unsigned int * indexOut, unsigned int * simdSizeOut, bool ignoreUsedInSIMDIntrinsic) Line 8314	C++
 	clrjit.dll!Compiler::fgMorphCombineSIMDFieldAssignments(BasicBlock * block, Statement * stmt) Line 1713	C++
 	clrjit.dll!Compiler::fgMarkAddressExposedLocals() Line 1663	C++
 	clrjit.dll!Phase::Run() Line 62	C++
 	[Inline Frame] clrjit.dll!DoPhase(Compiler *) Line 136	C++
 	clrjit.dll!Compiler::compCompile(void * * methodCodePtr, unsigned int * methodCodeSize, JitFlags * compileFlags) Line 4742	C++
 	clrjit.dll!Compiler::compCompileHelper(CORINFO_MODULE_STRUCT_ * classPtr, ICorJitInfo * compHnd, CORINFO_METHOD_INFO * methodInfo, void * * methodCodePtr, unsigned int * methodCodeSize, JitFlags * compileFlags) Line 7081	C++
 	[Inline Frame] clrjit.dll!Compiler::compCompile::__l170::__Body::Run(Compiler::compCompile::__l2::__JITParam *) Line 6233	C++

Activity

  1. ghost added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on May 1, 2023
  2. ghost added
    untriagedNew issue has not been triaged by the area owner
    on May 1, 2023
  3. added
    JitStressCLR JIT issues involving JIT internal stress modes
    and removed
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    untriagedNew issue has not been triaged by the area owner
    on May 1, 2023
  4. tannergooding commented on May 1, 2023

    @tannergooding
    MemberAuthor

    Looks like this will be fixed via #85561

  5. added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on May 2, 2023
  6. added this to the 8.0.0 milestone on May 16, 2023
  7. EgorBo commented on May 22, 2023

    @EgorBo
    Member

    No longer reproduces so I assume it's indeed fixed by #85561

  8. ghost locked as resolved and limited conversation to collaborators on Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

JitStressCLR JIT issues involving JIT internal stress modesarch-x64area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runsbug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions