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

Test failure JIT\\Generics\\Exceptions\\general_class_instance01\\general_class_instance01.cmd #77363

Closed
v-wenyuxu opened this issue Oct 24, 2022 · 5 comments · Fixed by #78418
Assignees
Labels
arch-x64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX os-windows
Milestone

Comments

@v-wenyuxu
Copy link

Run: runtime-coreclr jitstress2-jitstressregs 20221023.1

Failed test:

coreclr windows x64 Checked jitstress2_jitstressregs1 @ Windows.10.Amd64.Open
- JIT\\Generics\\Exceptions\\general_class_instance01\\general_class_instance01.cmd

coreclr Linux x64 Checked jitstress2_jitstressregs1 @ Ubuntu.1804.Amd64.Open
- JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh

coreclr Linux x64 Checked jitstress2_jitstressregs8 @ Ubuntu.1804.Amd64.Open
- JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh

coreclr windows x64 Checked jitstress2_jitstressregs8 @ Windows.10.Amd64.Open
- JIT\\Generics\\Exceptions\\general_class_instance01\\general_class_instance01.cmd

coreclr OSX x64 Checked jitstress2_jitstressregs1 @ OSX.1200.Amd64.Open
- JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh

coreclr OSX x64 Checked jitstress2_jitstressregs8 @ OSX.1200.Amd64.Open
- JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh

Error message:

Assert failure(PID 2268 [0x000008dc], Thread: 5080 [0x13d8]): Assertion failed '(block->bbNum > bbNumMaxBeforeResolution) || (fromReg == REG_STK) || !blockInfo[block->bbNum].hasEHBoundaryOut' in 'Gen1[ValX33[int,System.__Canon,System.Guid]]:ExceptionTest(bool):bool:this' during 'LSRA allocate' (IL size 131; hash 0x05f0cf66; FullOpts)

File: D:\a\_work\1\s\src\coreclr\jit\lsra.cpp Line: 7582
Image: C:\h\w\AE7C0A11\p\corerun.exe
Return code:      1
Raw output file:      C:\h\w\AE7C0A11\w\BB8A0970\uploads\Reports\JIT.Generics\Exceptions\general_class_instance01\general_class_instance01.output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\AE7C0A11\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  general_class_instance01.dll
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=C:\h\w\AE7C0A11\p
C:\h\w\AE7C0A11\w\BB8A0970\e\JIT\Generics\Exceptions\general_class_instance01\general_class_instance01.cmd
Expected: True
Actual:   False


Stack trace
   at JIT_Generics._Exceptions_general_class_instance01_general_class_instance01_._Exceptions_general_class_instance01_general_class_instance01_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Queued OS Arch Column1
2022-10-23T19:27:54.186Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-23T19:26:46.871Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-23T19:12:58.806Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-23T18:55:05.407Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-22T19:28:27.402Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-22T19:25:00.974Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-22T19:12:59.641Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
More failures
Queued OS Arch Column1
2022-10-22T18:57:05.714Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-03T19:17:48.292Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
2022-09-25T19:00:06.12Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
2022-09-23T06:56:27.552Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-23T06:53:56.591Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-23T06:37:32.811Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:35:54.586Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:33:57.904Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-23T06:21:02.909Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-23T06:21:02.018Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-23T06:10:23.938Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:06:53.989Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress1
2022-09-23T06:01:53.178Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-23T06:01:52.287Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:01:51.583Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-22T07:26:26.975Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T07:09:06.366Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T07:04:03.676Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-22T06:52:24.578Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T06:41:02.753Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:41:01.815Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-22T06:38:30.9Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T06:37:18.032Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:23:36.542Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:19:30.608Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:19:28.4Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-22T06:19:26.433Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-22T06:11:07.948Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2
2022-09-22T06:11:06.977Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T08:14:22.657Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:37:07.63Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:32:36.124Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:26:06.417Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-21T06:15:40.238Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:09:58.841Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-21T06:09:57.685Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T05:51:52.907Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T05:51:25.838Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T05:51:24.733Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-21T05:51:23.576Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T08:27:15.611Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-20T06:25:34.076Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-20T06:22:33.291Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-20T06:22:30.991Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T06:09:52.543Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress2
2022-09-20T06:07:43.087Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-20T06:07:42.071Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-20T06:07:40.552Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T05:58:12.172Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T05:58:10.781Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-05T22:02:12.451Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
2022-09-05T10:07:05.729Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
2022-08-30T22:05:24.057Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
@v-wenyuxu v-wenyuxu added os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX os-windows JitStress CLR JIT issues involving JIT internal stress modes arch-x64 blocking-clean-ci-optional Blocking optional rolling runs labels Oct 24, 2022
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Oct 24, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Oct 24, 2022
@ghost
Copy link

ghost commented Oct 24, 2022

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

Issue Details

Run: runtime-coreclr jitstress2-jitstressregs 20221023.1

Failed test:

coreclr windows x64 Checked jitstress2_jitstressregs1 @ Windows.10.Amd64.Open
- JIT\\Generics\\Exceptions\\general_class_instance01\\general_class_instance01.cmd

coreclr Linux x64 Checked jitstress2_jitstressregs1 @ Ubuntu.1804.Amd64.Open
- JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh

coreclr Linux x64 Checked jitstress2_jitstressregs8 @ Ubuntu.1804.Amd64.Open
- JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh

coreclr windows x64 Checked jitstress2_jitstressregs8 @ Windows.10.Amd64.Open
- JIT\\Generics\\Exceptions\\general_class_instance01\\general_class_instance01.cmd

coreclr OSX x64 Checked jitstress2_jitstressregs1 @ OSX.1200.Amd64.Open
- JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh

coreclr OSX x64 Checked jitstress2_jitstressregs8 @ OSX.1200.Amd64.Open
- JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh

Error message:

Assert failure(PID 2268 [0x000008dc], Thread: 5080 [0x13d8]): Assertion failed '(block->bbNum > bbNumMaxBeforeResolution) || (fromReg == REG_STK) || !blockInfo[block->bbNum].hasEHBoundaryOut' in 'Gen1[ValX33[int,System.__Canon,System.Guid]]:ExceptionTest(bool):bool:this' during 'LSRA allocate' (IL size 131; hash 0x05f0cf66; FullOpts)

File: D:\a\_work\1\s\src\coreclr\jit\lsra.cpp Line: 7582
Image: C:\h\w\AE7C0A11\p\corerun.exe
Return code:      1
Raw output file:      C:\h\w\AE7C0A11\w\BB8A0970\uploads\Reports\JIT.Generics\Exceptions\general_class_instance01\general_class_instance01.output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\AE7C0A11\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  general_class_instance01.dll
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=C:\h\w\AE7C0A11\p
C:\h\w\AE7C0A11\w\BB8A0970\e\JIT\Generics\Exceptions\general_class_instance01\general_class_instance01.cmd
Expected: True
Actual:   False


Stack trace
   at JIT_Generics._Exceptions_general_class_instance01_general_class_instance01_._Exceptions_general_class_instance01_general_class_instance01_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Queued OS Arch Column1
2022-10-23T19:27:54.186Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-23T19:26:46.871Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-23T19:12:58.806Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-23T18:55:05.407Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-22T19:28:27.402Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-22T19:25:00.974Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-22T19:12:59.641Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
More failures
Queued OS Arch Column1
2022-10-22T18:57:05.714Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-03T19:17:48.292Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
2022-09-25T19:00:06.12Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
2022-09-23T06:56:27.552Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-23T06:53:56.591Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-23T06:37:32.811Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:35:54.586Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:33:57.904Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-23T06:21:02.909Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-23T06:21:02.018Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-23T06:10:23.938Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:06:53.989Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress1
2022-09-23T06:01:53.178Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-23T06:01:52.287Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:01:51.583Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-22T07:26:26.975Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T07:09:06.366Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T07:04:03.676Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-22T06:52:24.578Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T06:41:02.753Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:41:01.815Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-22T06:38:30.9Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T06:37:18.032Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:23:36.542Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:19:30.608Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:19:28.4Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-22T06:19:26.433Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-22T06:11:07.948Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2
2022-09-22T06:11:06.977Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T08:14:22.657Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:37:07.63Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:32:36.124Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:26:06.417Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-21T06:15:40.238Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:09:58.841Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-21T06:09:57.685Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T05:51:52.907Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T05:51:25.838Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T05:51:24.733Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-21T05:51:23.576Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T08:27:15.611Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-20T06:25:34.076Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-20T06:22:33.291Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-20T06:22:30.991Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T06:09:52.543Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress2
2022-09-20T06:07:43.087Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-20T06:07:42.071Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-20T06:07:40.552Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T05:58:12.172Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T05:58:10.781Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-05T22:02:12.451Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
2022-09-05T10:07:05.729Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
2022-08-30T22:05:24.057Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
Author: v-wenyuxu
Assignees: -
Labels:

os-linux, os-mac-os-x, os-windows, JitStress, arch-x64, area-CodeGen-coreclr, untriaged, blocking-clean-ci-optional

Milestone: -

@JulieLeeMSFT JulieLeeMSFT removed the untriaged New issue has not been triaged by the area owner label Oct 24, 2022
@JulieLeeMSFT JulieLeeMSFT added this to the 8.0.0 milestone Oct 24, 2022
@JulieLeeMSFT
Copy link
Member

@kunalspathak PTAL, an assert in LSRA allocate.

@v-wenyuxu
Copy link
Author

Failed in Run: runtime-coreclr jitstress2-jitstressregs 20221106.1

Failed tests:

coreclr Linux x64 Checked jitstress2_jitstressregs1 @ Ubuntu.1804.Amd64.Open
- JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh
coreclr windows x64 Checked jitstress2_jitstressregs1 @ Windows.10.Amd64.Open
- JIT\\Generics\\Exceptions\\general_class_instance01\\general_class_instance01.cmd 
coreclr OSX x64 Checked jitstress2_jitstressregs1 @ OSX.1200.Amd64.Open
- JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh
coreclr OSX x64 Checked jitstress2_jitstressregs8 @ OSX.1200.Amd64.Open
- JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh

Error message:


Assert failure(PID 9618 [0x00002592], Thread: 9618 [0x2592]): Assertion failed '(block->bbNum > bbNumMaxBeforeResolution) || (fromReg == REG_STK) || !blockInfo[block->bbNum].hasEHBoundaryOut' in 'Gen`1[ValX3`3[int,System.__Canon,System.Guid]]:ExceptionTest(bool):bool:this' during 'LSRA allocate' (IL size 131; hash 0x05f0cf66; FullOpts)

   File: /__w/1/s/src/coreclr/jit/lsra.cpp Line: 7582
   Image: /datadisks/disk1/work/BDA20A10/p/corerun

[createdump] waitpid() returned successfully (wstatus 00000000)
/datadisks/disk1/work/BDA20A10/w/B90D0A27/e/JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh: line 421:  9618 Aborted                 (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /datadisks/disk1/work/BDA20A10/w/B90D0A27/uploads/Reports/JIT.Generics/Exceptions/general_class_instance01/general_class_instance01.output.txt
Raw output:
BEGIN EXECUTION
/datadisks/disk1/work/BDA20A10/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false general_class_instance01.dll ''
[createdump] Gathering state for process 9618 corerun
[createdump] Crashing thread 00002592 signal 00000006
[createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.9618.dmp
[createdump] Written 66596864 bytes (16259 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 1773ms
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/datadisks/disk1/work/BDA20A10/p
> /datadisks/disk1/work/BDA20A10/w/B90D0A27/e/JIT/Generics/Exceptions/general_class_instance01/general_class_instance01.sh
Expected: True
Actual:   False

Stack trace:

   at JIT_Generics._Exceptions_general_class_instance01_general_class_instance01_._Exceptions_general_class_instance01_general_class_instance01_sh()
  at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
  at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Queued OS Arch Column1
2022-11-06T19:24:22.25Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-11-06T19:09:17.977Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-11-06T18:48:51.919Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-11-05T19:32:32.393Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-11-05T19:31:53.043Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-11-05T19:16:33.738Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
More failures
Queued OS Arch Column1
2022-11-05T18:59:52.555Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-30T19:15:03.435Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-30T19:07:47.895Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-30T19:00:00.354Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-30T18:43:55.061Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-29T19:36:09.479Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-29T19:27:28.545Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-29T19:21:02.027Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-29T18:59:11.857Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-26T06:46:07.151Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress2_tiered
2022-10-26T06:01:02.055Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress2
2022-10-26T06:01:01.03Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress1_tiered
2022-10-26T06:00:58.629Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress1
2022-10-23T19:27:54.186Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-23T19:26:46.871Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-23T19:12:58.806Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-23T18:55:05.407Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-22T19:28:27.402Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-22T19:25:00.974Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-10-22T19:12:59.641Z osx.1200.amd64.open x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-22T18:57:05.714Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-10-03T19:17:48.292Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
2022-09-25T19:00:06.12Z ubuntu.1804.armarch.open arm64 runtime-extra-platforms Release
2022-09-23T06:56:27.552Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-23T06:53:56.591Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-23T06:37:32.811Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:35:54.586Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:33:57.904Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-23T06:21:02.909Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-23T06:21:02.018Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-23T06:10:23.938Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:06:53.989Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress1
2022-09-23T06:01:53.178Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-23T06:01:52.287Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-23T06:01:51.583Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-22T07:26:26.975Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T07:09:06.366Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T07:04:03.676Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-22T06:52:24.578Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T06:41:02.753Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:41:01.815Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-22T06:38:30.9Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-22T06:37:18.032Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:23:36.542Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:19:30.608Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-22T06:19:28.4Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-22T06:19:26.433Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-22T06:11:07.948Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2
2022-09-22T06:11:06.977Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T08:14:22.657Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:37:07.63Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:32:36.124Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:26:06.417Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-21T06:15:40.238Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-21T06:09:58.841Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-21T06:09:57.685Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T05:51:52.907Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T05:51:25.838Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-21T05:51:24.733Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-21T05:51:23.576Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T08:27:15.611Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress2_tiered
2022-09-20T06:25:34.076Z osx.1200.arm64.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-20T06:22:33.291Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-20T06:22:30.991Z osx.1200.amd64.open x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T06:09:52.543Z ubuntu.1804.armarch.open arm runtime-coreclr jitstress Checked-jitstress2
2022-09-20T06:07:43.087Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress2
2022-09-20T06:07:42.071Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1_tiered
2022-09-20T06:07:40.552Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T05:58:12.172Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress1
2022-09-20T05:58:10.781Z ubuntu.1804.armarch.open arm64 runtime-coreclr jitstress Checked-jitstress1_tiered

@kunalspathak
Copy link
Member

COMPlus_TieredCompilation=0
DOTNET_JitStressModeNames=STRESS_UNSAFE_BUFFER_CHECKS
DOTNET_JitStressRegs=1

@kunalspathak
Copy link
Member

I can repro this bug in .NET 6 as well. We try to add a resolution for a writeThru variable to the stack, but since stack value is always valid, it becomes a no-op. However, we still should be calling the addResolution() method to free up the register occupied currently.

// If this is an edge between EH regions, we may have "extra" live-out EH vars.
// If we are adding resolution at the end of the block, we need to create "virtual" moves
// for these so that their registers are freed and can be reused.

However, in the resolution code, we hit the assert (that IMO need to be expanded)

// We can't add resolution to a register at the bottom of a block that has an EHBoundaryOut,
// except in the case of the "EH Dummy" resolution from the stack.
assert((block->bbNum > bbNumMaxBeforeResolution) || (fromReg == REG_STK) ||
!blockInfo[block->bbNum].hasEHBoundaryOut);

The only time we perform resolution for "EH Dummy" is if interval is writeThru.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Nov 15, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Nov 18, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Dec 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX os-windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants