Skip to content

Assertion failed 'sizeBytes != 0' #72081

Description

@MichalStrehovsky

Ran into this while NativeAOT compiling the System.Runtime.Intrinsics.Tests but this has a simple repro with CoreCLR. Not clear why we're not seeing this in test runs.

Compile following:

using System;
using System.Runtime.Intrinsics;

Vector128<UInt128> d = default;
d.GetHashCode();

With csc test.cs /noconfig /nostdlib /r:System.Private.CoreLib.dll /O. Run with corerun.

Assert failure(PID 17384 [0x000043e8], Thread: 40284 [0x9d5c]): Assertion failed 'sizeBytes != 0' in 'System.Runtime.Intrinsics.Vector128`1[UInt128][System.UInt128]:GetHashCode():int:this' during 'Importation' (IL size 67; hash 0x04fdae41; MinOpts)

    File: C:\git\runtime2\src\coreclr\jit\hwintrinsic.cpp Line: 777
    Image: C:\git\runtime2\artifacts\bin\coreclr\windows.x64.Debug\corerun.exe

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Jul 13, 2022
  2. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Jul 13, 2022
  3. added this to the 7.0.0 milestone on Jul 14, 2022
  4. removed
    untriagedNew issue has not been triaged by the area owner
    on Jul 14, 2022
  5. self-assigned this
    on Jul 14, 2022
  6. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Jul 14, 2022
  7. ghost locked as resolved and limited conversation to collaborators on Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions