Skip to content

Test failure: GC\\API\\GCHandle\\Alloc\\Alloc.cmd #101961

@v-wenyuxu

Description

@v-wenyuxu

Failed in: runtime-coreclr r2r-extra 20240505.1

Failed tests:

R2R-CG2 windows x64 Checked jitstress2_tiered @ Windows.10.Amd64.Open
    - GC\\API\\GCHandle\\Alloc\\Alloc.cmd

Error message:

Assert failure(PID 5440 [0x00001540], Thread: 4368 [0x1110]): Assertion failed '!"Inconsistent profile data"' in 'System.String:Ctor(ulong):System.String' during 'Morph - Inlining' (IL size 57; hash 0x0f67cbd1; Instrumented Tier1)


File: D:\a\_work\1\s\src\coreclr\jit\fgprofile.cpp:4930
Image: C:\h\w\A88309A1\p\corerun.exe

Return code:      1
Raw output file:      C:\h\w\A88309A1\w\B86809DA\uploads\Reports\GC.API\GCHandle\Casting\Casting.output.txt
Raw output:
BEGIN EXECUTION
Casting.dll
1 file(s) copied.
4:14:47.90
Response file: C:\h\w\A88309A1\w\B86809DA\e\GC\API\GCHandle\Casting\Casting.dll.rsp
C:\h\w\A88309A1\w\B86809DA\e\GC\API\GCHandle\Casting\IL-CG2\Casting.dll
-o:C:\h\w\A88309A1\w\B86809DA\e\GC\API\GCHandle\Casting\Casting.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:\h\w\A88309A1\p\System..dll
-r:C:\h\w\A88309A1\p\Microsoft..dll
-r:C:\h\w\A88309A1\p\xunit.*.dll
-r:C:\h\w\A88309A1\p\mscorlib.dll
-r:C:\h\w\A88309A1\p\netstandard.dll
" "dotnet" "C:\h\w\A88309A1\p\crossgen2\crossgen2.dll" @"C:\h\w\A88309A1\w\B86809DA\e\GC\API\GCHandle\Casting\Casting.dll.rsp"   -r:C:\h\w\A88309A1\w\B86809DA\e\GC\API\GCHandle\Casting\IL-CG2*.dll"
Emitting R2R PE file: C:\h\w\A88309A1\w\B86809DA\e\GC\API\GCHandle\Casting\Casting.dll
" "dotnet" "C:\h\w\A88309A1\p\r2rdump\r2rdump.dll" --header --sc --in C:\h\w\A88309A1\w\B86809DA\e\GC\API\GCHandle\Casting\Casting.dll --out C:\h\w\A88309A1\w\B86809DA\e\GC\API\GCHandle\Casting\Casting.dll.r2rdump --val"
4:14:49.86
"C:\h\w\A88309A1\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  Casting.dll
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:\cores since 5/6/2024 4:14:47 AM
Processing C:\cores\corerun.exe.5440.dmp
Invoking: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe -c "$<C:\h\w\A88309A1\t\tmp2qimrp.tmp" -z "C:\cores\corerun.exe.5440.dmp"
stdout:
Microsoft (R) Windows Debugger Version 10.0.18362.1 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:\cores\corerun.exe.5440.dmp]
User Mini Dump File with Full Memory: Only application data is available


************* Path validation summary **************
Response                         Time (ms)     Location
OK                                             C:\h\w\A88309A1\p\PDB
Symbol search path is: C:\h\w\A88309A1\p\PDB
Executable search path is:
Windows 10 Version 14393 MP (4 procs) Free x64
Product: Server, suite: TerminalServer DataCenter SingleUserTS
10.0.14393.6343 (rs1_release.230913-1727)
Machine Name:
Debug session time: Mon May  6 04:14:51.000 2024 (UTC + 0:00)
System Uptime: 0 days 0:16:08.040
Process Uptime: 0 days 0:00:02.000
..........................


************* Symbol Loading Error Summary **************
Module name            Error
ntdll                  The system cannot find the file specified


You can troubleshoot most symbol related issues by turning on symbol loading diagnostics (!sym noisy) and repeating the command that caused symbols to be loaded.
You should also verify that your symbol search path (.sympath) is correct.
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(1540.1110): Unknown exception - code c0000602 (first/second chance not available)
For analysis of this file, run !analyze -v
*** WARNING: Unable to verify checksum for coreclr.dll
KERNELBASE!RaiseFailFastException+0xae:
00007ff8bbd796ce 803d4d78120000  cmp     byte ptr [KERNELBASE!local_unwind+0x75f2 (00007ff8bbea0f22)],0 ds:00007ff8`bbea0f22=00
0:006> cdb: Reading initial command '$<C:\h\w\A88309A1\t\tmp2qimrp.tmp'
0:006> .load C:\Users\runner.dotnet\sos\sos.dll
0:006> ~*k


0  Id: 1540.1374

Stack trace:

   at GC_API._GCHandle_Casting_Casting_._GCHandle_Casting_Casting_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

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 runsos-windows

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions