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: GC\\API\\GCHandle\\Alloc\\Alloc.cmd #101961

Closed
v-wenyuxu opened this issue May 7, 2024 · 4 comments
Closed

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

v-wenyuxu opened this issue May 7, 2024 · 4 comments
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-windows
Milestone

Comments

@v-wenyuxu
Copy link

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)
@v-wenyuxu v-wenyuxu added os-windows JitStress CLR JIT issues involving JIT internal stress modes 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 labels May 7, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label May 7, 2024
Copy link
Contributor

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

@EgorBo
Copy link
Member

EgorBo commented May 7, 2024

cc @AndyAyersMS

@AndyAyersMS
Copy link
Member

Hopefully fixed by #101925.

@AndyAyersMS AndyAyersMS self-assigned this May 7, 2024
@AndyAyersMS AndyAyersMS removed the untriaged New issue has not been triaged by the area owner label May 7, 2024
@JulieLeeMSFT JulieLeeMSFT added this to the 9.0.0 milestone May 7, 2024
@AndyAyersMS
Copy link
Member

AndyAyersMS commented May 7, 2024

I kicked off a new runtime-coreclr r2r-extra pipeline run ... indeed this is fixed.

https://dev.azure.com/dnceng-public/public/_build/results?buildId=668348&view=results

@github-actions github-actions bot locked and limited conversation to collaborators Jun 7, 2024
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-windows
Projects
None yet
Development

No branches or pull requests

4 participants