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 'add != nullptr' during 'Calculate stack level slots' #93885

Closed
kunalspathak opened this issue Oct 23, 2023 · 4 comments
Closed
Labels
arch-x86 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Comments

@kunalspathak
Copy link
Member

using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using System.Numerics;
public class TestClass
{
    public static void Main(string[] args)
    {
    }
}
/*
--------- Test ---------  
Environment:
set DOTNET_TieredCompilation=1
set DOTNET_EnableSSE2=0
set DOTNET_JitStress=1
Assert failure(PID 26368 [0x00006700], Thread: 41300 [0xa154]): Assertion failed 'add != nullptr' in 'System.Runtime.InteropServices.MemoryMarshal:GetArrayDataReference[System.__Canon](System.__Canon[]):byref' during 'Calculate stack level slots' (IL size 7; hash 0x9d714931; Tier0)
    File: E:\git\runtime2\src\coreclr\jit\stacklevelsetter.cpp Line: 173
    Image: e:\git\runtime2\artifacts\tests\coreclr\windows.x86.checked\tests\Core_Root\CoreRun.exe
*/

Related to #93371? @AndyAyersMS

@kunalspathak kunalspathak added arch-x86 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI labels Oct 23, 2023
@ghost
Copy link

ghost commented Oct 23, 2023

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

Issue Details
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using System.Numerics;
public class TestClass
{
    public static void Main(string[] args)
    {
    }
}
/*
--------- Test ---------  
Environment:
set DOTNET_TieredCompilation=1
set DOTNET_EnableSSE2=0
set DOTNET_JitStress=1
Assert failure(PID 26368 [0x00006700], Thread: 41300 [0xa154]): Assertion failed 'add != nullptr' in 'System.Runtime.InteropServices.MemoryMarshal:GetArrayDataReference[System.__Canon](System.__Canon[]):byref' during 'Calculate stack level slots' (IL size 7; hash 0x9d714931; Tier0)
    File: E:\git\runtime2\src\coreclr\jit\stacklevelsetter.cpp Line: 173
    Image: e:\git\runtime2\artifacts\tests\coreclr\windows.x86.checked\tests\Core_Root\CoreRun.exe
*/

Related to #93371? @AndyAyersMS

Author: kunalspathak
Assignees: -
Labels:

arch-x86, area-CodeGen-coreclr

Milestone: -

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Oct 23, 2023
@jakobbotsch
Copy link
Member

Dup of #93640

@jakobbotsch jakobbotsch closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Oct 23, 2023
@AndyAyersMS
Copy link
Member

Related to #93371? @AndyAyersMS

Yes, quite likely.

@AndyAyersMS
Copy link
Member

Ah, see it wasn't my change after all.

@ghost ghost locked as resolved and limited conversation to collaborators Nov 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x86 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

3 participants