dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.91k stars 4.63k forks source link

Antigen failure: `Assert failure: Assertion failed 'arg->OperIsPutArg()` #105412

Closed TIHan closed 2 days ago

TIHan commented 1 month ago

https://dev.azure.com/dnceng-public/public/_build/results?buildId=749361&view=logs&j=35d6a56c-45ed-5990-d6d7-83c0517ee7bd&t=1e726fb5-1a59-546a-10c1-5521cd1b4544

There are several different failures on windows x64 in antigen. The different assert failure will have their own issue.

Starting: Summarize (windows x64)
==============================================================================
Task         : Command line
Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version      : 2.237.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
Generating script.
Script contents: shell
D:\a\_work\1\s\venv\Scripts\python.exe D:\a\_work\1\s/src/coreclr/scripts/antigen_summarize.py -issues_directory D:\a\_work\1\s\artifacts\issues\ -arch x64 -platform windows -build_config Checked
========================== Starting Command Output ===========================
"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_work\_temp\4ba5330b-9627-4244-a9d1-ef7e1b64d8ef.cmd""
# General info about run
* Platform: windows
* Architecture: x64
* Build config: Checked

* Number of unique examples found: 12

# 10 distinct assertion errors seen
## (11 occurrences) arg->OperIsPutArg() Lowering nodeinfo
Example occurrence from Partition0:
```scala
Assert failure(PID 3452 [0x00000d7c], Thread: 2824 [0x0b08]): Assertion failed 'arg->OperIsPutArg()' in 'TestClass:Method1(int,byref,byref,TestClass+S1,byref,byref):ushort:this' during 'Lowering nodeinfo' (IL size 1029217; hash 0xc5732547; Tier0-MinOpts)
    File: D:\a\_work\1\s\src\coreclr\jit\lower.cpp:7763
    Image: C:\h\w\A715090A\p\CoreRoot\corerun.exe

TestClass69-test-assertion.g.zip

dotnet-policy-service[bot] commented 1 month ago

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

kunalspathak commented 2 days ago

I am not able to reproduce this on latest main. I get Stack overflow. Closing this.