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\\LargeMemory\\API\\gc\\keepalive\\keepalive.cmd #71624

Closed
VincentBu opened this issue Jul 5, 2022 · 5 comments · Fixed by #73566
Closed

Test failure GC\\LargeMemory\\API\\gc\\keepalive\\keepalive.cmd #71624

VincentBu opened this issue Jul 5, 2022 · 5 comments · Fixed by #73566
Assignees
Labels
arch-arm64 area-TypeSystem-coreclr blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs os-windows
Milestone

Comments

@VincentBu
Copy link
Contributor

Run: runtime-coreclr outerloop 20220704.2

Failed test:

R2R-CG2 windows arm64 Checked @ Windows.10.Arm64v8.Open

- GC\\LargeMemory\\API\\gc\\keepalive\\keepalive.cmd
- GC\\LargeMemory\\API\\gc\\suppressfinalize\\suppressfinalize.cmd
- GC\\LargeMemory\\Allocation\\largeexceptiontest\\largeexceptiontest.cmd
- GC\\LargeMemory\\API\\gc\\gettotalmemory\\gettotalmemory.cmd

Error message:

Assert failure(PID 4576 [0x000011e0], Thread: 10792 [0x2a28]): Consistency check failed: AV in clr at this callstack:
CORECLR! Precode::Init + 0x68 (0x00007fff85a92208) CORECLR! Precode::AllocateTemporaryEntryPoints + 0x230 (0x00007fff85a91d78)
CORECLR! MethodDescChunk::CreateTemporaryEntryPoints + 0x4C (0x00007fff85a5fd04) CORECLR! MethodTableBuilder::SetupMethodTable2 + 0x12AC (0x00007fff85bc2d74)
CORECLR! MethodTableBuilder::BuildMethodTableThrowing + 0x1508 (0x00007fff85ba99a0) CORECLR! ClassLoader::CreateTypeHandleForTypeDefThrowing + 0xBCC (0x00007fff85bae1cc)
CORECLR! ClassLoader::CreateTypeHandleForTypeKey + 0xCC (0x00007fff859d734c) CORECLR! ClassLoader::DoIncrementalLoad + 0x214 (0x00007fff859d7c24)
CORECLR! ClasagedThreadBase_DispatchOuter'::11'::_ + 0xAC8 (0x00007fff859dc328)
CORECLR! ClassLoader::LoadTypeHandleForTypeKey + 0x154 (0x00007fff859db5dc) CORECLR! ClassLoader::LoadTypeDefThrowing + 0x4CC (0x00007fff859db324)
CORECLR! ClassLoader::LoadTypeDefOrRefThrowing + 0x3D8 (0x00007fff859dadb8) CORECLR! SigPointer::GetTypeHandleThrowing + 0x11B8 (0x00007fff85aac060)
CORECLR! ZapSig::DecodeType + 0x6C (0x00007fff85afd6f4) CORECLR! LoadDynamicInfoEntry + 0x1FFC (0x00007fff85a3bbf4)
CORECLR! Module::FixupNativeEntry + 0x64 (0x00007fff859be874) CORECLR! Module::FixupDelayListAux<Module *,int (__cdecl Module::*)(READYTORUN_IMPORT_SECTION *,unsigned __int64,unsigned __int64 *,int)> + 0x204 (0x00007fff85afe5b4)
CORECLR! ReadyToRunInfo::GetEntryPoint + 0x2F0 (0x00007fff85b003c8) CORECLR! MethodDesc::GetPrecompiledR2RCode + 0x48 (0x00007fff85a97570)
.AV on tid=0x2a28 (10792), cxr=0000005804D760E0, exr=0000005804D76470
FAILED: false
File: D:\a_work\1\s\src\coreclr\vm\excep.cpp Line: 7178
Image: D:\h\w\AA7B0947\p\corerun.exe

Assert failure(PID 4576 [0x000011e0], Thread: 14088 [0x3708]): Consistency check failed: AV in clr at this callstack:
CORECLR! Precode::Init + 0x68 (0x00007fff85a92208) CORECLR! Precode::Allocate + 0x158 (0x00007fff85a91988)
CORECLR! CallCountingManager::SetCodeEntryPoint + 0x998 (0x00007fff859b8198) CORECLR! TieredCompilationManager::TryDeactivateTieringDelay + 0x408 (0x00007fff85ad4b10)
CORECLR! TieredCompilationManager::BackgroundWorkerStart + 0x128 (0x00007fff85ad3118) CORECLR! TieredCompilationManager::BackgroundWorkerBootstrapper1 + 0x2C (0x00007fff85ad2fdc)
CORECLR! ManagedThreadBase_DispatchMiddle + 0x128 (0x00007fff85acb380) CORECLR!ManagedThreadBase_DispatchOuter'::11'::__Body::Run + 0x24 (0x00007fff85accf9c)
CORECLR! ManagedThreadBase_DispatchOuter + 0xB4 (0x00007fff85acb464) CORECLR! ManagedThreadBase::KickOff + 0x1C (0x00007fff85acafcc)
CORECLR! TieredCompilationManager::BackgroundWorkerBootstrapper0 + 0x110 (0x00007fff85ad2f80) KERNEL32! BaseThreadInitThunk + 0x34 (0x00007fffc0d5cc64)
NTDLL! RtlUserThreadStart + 0x44 (0x00007fff`c1a0b1f4)
.AV on tid=0x3708 (14088), cxr=00000058057FECD0, exr=00000058057FF060
FAILED: false

CORECLR! CHECK::Trigger + 0x1E0 (0x00007fff85d5a2c0) CORECLR! CLRVectoredExceptionHandlerPhase3 + 0x218 (0x00007fff85a00ea8)
CORECLR! CLRVectoredExceptionHandlerPhase2 + 0x64 (0x00007fff85a00a6c) CORECLR! CLRVectoredExceptionHandler + 0x1B8 (0x00007fff85a009e8)
CORECLR! CLRVectoredExceptionHandlerShim + 0x248 (0x00007fff85a011b8) NTDLL! RtlGetSaclSecurityDescriptor + 0x180 (0x00007fffc1a0c700)
NTDLL! LdrControlFlowGuardEnforced + 0x6D4 (0x00007fffc1a45df4) NTDLL! KiUserExceptionDispatcher + 0x24 (0x00007fffc19e3434)
CORECLR! Precode::Init + 0x68 (0x00007fff85a92208) CORECLR! Precode::Allocate + 0x158 (0x00007fff85a91988)
File: D:\a_work\1\s\src\coreclr\vm\excep.cpp Line: 7178
Image: D:\h\w\AA7B0947\p\corerun.exe

Return code:      1
Raw output file:      D:\h\w\AA7B0947\w\A0D508BB\uploads\Reports\GC.LargeMemory\API\gc\keepalive\keepalive.output.txt
Raw output:
BEGIN EXECUTION
keepalive.dll
largeobject.dll
memcheck.d


Stack trace
   at GC_LargeMemory._API_gc_keepalive_keepalive_._API_gc_keepalive_keepalive_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
@VincentBu VincentBu added arch-arm64 os-windows blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs labels Jul 5, 2022
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jul 5, 2022
@ghost
Copy link

ghost commented Jul 5, 2022

Tagging subscribers to this area: @dotnet/gc
See info in area-owners.md if you want to be subscribed.

Issue Details

Run: runtime-coreclr outerloop 20220704.2

Failed test:

R2R-CG2 windows arm64 Checked @ Windows.10.Arm64v8.Open

- GC\\LargeMemory\\API\\gc\\keepalive\\keepalive.cmd
- GC\\LargeMemory\\API\\gc\\suppressfinalize\\suppressfinalize.cmd
- GC\\LargeMemory\\Allocation\\largeexceptiontest\\largeexceptiontest.cmd
- GC\\LargeMemory\\API\\gc\\gettotalmemory\\gettotalmemory.cmd

Error message:

Assert failure(PID 4576 [0x000011e0], Thread: 10792 [0x2a28]): Consistency check failed: AV in clr at this callstack:
CORECLR! Precode::Init + 0x68 (0x00007fff85a92208) CORECLR! Precode::AllocateTemporaryEntryPoints + 0x230 (0x00007fff85a91d78)
CORECLR! MethodDescChunk::CreateTemporaryEntryPoints + 0x4C (0x00007fff85a5fd04) CORECLR! MethodTableBuilder::SetupMethodTable2 + 0x12AC (0x00007fff85bc2d74)
CORECLR! MethodTableBuilder::BuildMethodTableThrowing + 0x1508 (0x00007fff85ba99a0) CORECLR! ClassLoader::CreateTypeHandleForTypeDefThrowing + 0xBCC (0x00007fff85bae1cc)
CORECLR! ClassLoader::CreateTypeHandleForTypeKey + 0xCC (0x00007fff859d734c) CORECLR! ClassLoader::DoIncrementalLoad + 0x214 (0x00007fff859d7c24)
CORECLR! ClasagedThreadBase_DispatchOuter'::11'::_ + 0xAC8 (0x00007fff859dc328)
CORECLR! ClassLoader::LoadTypeHandleForTypeKey + 0x154 (0x00007fff859db5dc) CORECLR! ClassLoader::LoadTypeDefThrowing + 0x4CC (0x00007fff859db324)
CORECLR! ClassLoader::LoadTypeDefOrRefThrowing + 0x3D8 (0x00007fff859dadb8) CORECLR! SigPointer::GetTypeHandleThrowing + 0x11B8 (0x00007fff85aac060)
CORECLR! ZapSig::DecodeType + 0x6C (0x00007fff85afd6f4) CORECLR! LoadDynamicInfoEntry + 0x1FFC (0x00007fff85a3bbf4)
CORECLR! Module::FixupNativeEntry + 0x64 (0x00007fff859be874) CORECLR! Module::FixupDelayListAux<Module *,int (__cdecl Module::*)(READYTORUN_IMPORT_SECTION *,unsigned __int64,unsigned __int64 *,int)> + 0x204 (0x00007fff85afe5b4)
CORECLR! ReadyToRunInfo::GetEntryPoint + 0x2F0 (0x00007fff85b003c8) CORECLR! MethodDesc::GetPrecompiledR2RCode + 0x48 (0x00007fff85a97570)
.AV on tid=0x2a28 (10792), cxr=0000005804D760E0, exr=0000005804D76470
FAILED: false
File: D:\a_work\1\s\src\coreclr\vm\excep.cpp Line: 7178
Image: D:\h\w\AA7B0947\p\corerun.exe

Assert failure(PID 4576 [0x000011e0], Thread: 14088 [0x3708]): Consistency check failed: AV in clr at this callstack:
CORECLR! Precode::Init + 0x68 (0x00007fff85a92208) CORECLR! Precode::Allocate + 0x158 (0x00007fff85a91988)
CORECLR! CallCountingManager::SetCodeEntryPoint + 0x998 (0x00007fff859b8198) CORECLR! TieredCompilationManager::TryDeactivateTieringDelay + 0x408 (0x00007fff85ad4b10)
CORECLR! TieredCompilationManager::BackgroundWorkerStart + 0x128 (0x00007fff85ad3118) CORECLR! TieredCompilationManager::BackgroundWorkerBootstrapper1 + 0x2C (0x00007fff85ad2fdc)
CORECLR! ManagedThreadBase_DispatchMiddle + 0x128 (0x00007fff85acb380) CORECLR!ManagedThreadBase_DispatchOuter'::11'::__Body::Run + 0x24 (0x00007fff85accf9c)
CORECLR! ManagedThreadBase_DispatchOuter + 0xB4 (0x00007fff85acb464) CORECLR! ManagedThreadBase::KickOff + 0x1C (0x00007fff85acafcc)
CORECLR! TieredCompilationManager::BackgroundWorkerBootstrapper0 + 0x110 (0x00007fff85ad2f80) KERNEL32! BaseThreadInitThunk + 0x34 (0x00007fffc0d5cc64)
NTDLL! RtlUserThreadStart + 0x44 (0x00007fff`c1a0b1f4)
.AV on tid=0x3708 (14088), cxr=00000058057FECD0, exr=00000058057FF060
FAILED: false

CORECLR! CHECK::Trigger + 0x1E0 (0x00007fff85d5a2c0) CORECLR! CLRVectoredExceptionHandlerPhase3 + 0x218 (0x00007fff85a00ea8)
CORECLR! CLRVectoredExceptionHandlerPhase2 + 0x64 (0x00007fff85a00a6c) CORECLR! CLRVectoredExceptionHandler + 0x1B8 (0x00007fff85a009e8)
CORECLR! CLRVectoredExceptionHandlerShim + 0x248 (0x00007fff85a011b8) NTDLL! RtlGetSaclSecurityDescriptor + 0x180 (0x00007fffc1a0c700)
NTDLL! LdrControlFlowGuardEnforced + 0x6D4 (0x00007fffc1a45df4) NTDLL! KiUserExceptionDispatcher + 0x24 (0x00007fffc19e3434)
CORECLR! Precode::Init + 0x68 (0x00007fff85a92208) CORECLR! Precode::Allocate + 0x158 (0x00007fff85a91988)
File: D:\a_work\1\s\src\coreclr\vm\excep.cpp Line: 7178
Image: D:\h\w\AA7B0947\p\corerun.exe

Return code:      1
Raw output file:      D:\h\w\AA7B0947\w\A0D508BB\uploads\Reports\GC.LargeMemory\API\gc\keepalive\keepalive.output.txt
Raw output:
BEGIN EXECUTION
keepalive.dll
largeobject.dll
memcheck.d


Stack trace
   at GC_LargeMemory._API_gc_keepalive_keepalive_._API_gc_keepalive_keepalive_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Author: VincentBu
Assignees: -
Labels:

arch-arm64, os-windows, area-GC-coreclr, untriaged, blocking-outerloop

Milestone: -

@jkotas
Copy link
Member

jkotas commented Jul 5, 2022

cc @janvorli Looks like a fallout from W^X

@mangod9 mangod9 removed the untriaged New issue has not been triaged by the area owner label Jul 5, 2022
@mangod9 mangod9 added this to the 7.0.0 milestone Jul 5, 2022
@shimingsg
Copy link
Contributor

Failed again in: runtime-coreclr outerloop 20220804.3

Failed test:

coreclr windows arm Checked no_tiered_compilation @ Windows.10.Arm64v8.Open
- JIT\\Regression\\CLR-x86-JIT\\V1-M12-Beta2\\b65423\\b65423\\b65423.cmd
- JIT\\Directed\\ExcepFilters\\mixed\\mixed\\mixed.cmd
- GC\\API\\GC\\GetGCMemoryInfo\\GetGCMemoryInfo.cmd

coreclr windows arm Checked @ Windows.10.Arm64v8.Open
- GC\\API\\GC\\GetGCMemoryInfo\\GetGCMemoryInfo.cmd

Error message:

Assert failure(PID 12112 [0x00002f50], Thread: 8292 [0x2064]): Consistency check failed: AV in clr at this callstack:
<no module>! <no symbol> + 0x0 (0x00000000)
.AV on tid=0x2064 (8292), cxr=0097E5E8, exr=0097E788
FAILED: false

<no module>! <no symbol> + 0x0 (0x00000000)
File: D:\a_work\1\s\src\coreclr\vm\excep.cpp Line: 7183
Image: D:\h\w\AC1A0978\p\corerun.exe

Return code:      1
Raw output file:      D:\h\w\AC1A0978\w\B6040997\uploads\Reports\JIT.Regression\CLR-x86-JIT\V1-M12-Beta2\b65423\b65423\b65423.output.txt
Raw output:
BEGIN EXECUTION
"D:\h\w\AC1A0978\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  b65423.dll
Caught TypeLoadException exception: 100
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=D:\h\w\AC1A0978\p
D:\h\w\AC1A0978\w\B6040997\e\JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b65423\b65423\b65423.cmd
Expected: True
Actual:   False


Stack trace
   at JIT_Regression._CLR_x86_JIT_V1_M12_Beta2_b65423_b65423_b65423_._CLR_x86_JIT_V1_M12_Beta2_b65423_b65423_b65423_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

@janvorli
Copy link
Member

janvorli commented Aug 5, 2022

Unfortunately there are no dumps as this is arm64 Windows. I have tried to repro it locally, but wasn't able to hit any issue.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 8, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 9, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-TypeSystem-coreclr blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs os-windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants