Repository navigation
Test failure Loader\\classloader\\DictionaryExpansion\\DictionaryExpansion\\DictionaryExpansion.cmd #75244
Copy link
Copy link
Closed
Labels
arch-x86area-VM-coreclrdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueos-windows
Milestone
Description
Run: runtime-coreclr outerloop 20220907.7
Failed test:
coreclr windows x86 Checked @ Windows.10.Amd64.Open
- Loader\\classloader\\DictionaryExpansion\\DictionaryExpansion\\DictionaryExpansion.cmd
Assert failure(PID 6192 [0x00001830], Thread: 6808 [0x1a98]): !"Unexpected code in temporary entrypoint"
CORECLR! MethodDescChunk::GetMethodDescFromCompactEntryPoint + 0x3C (0x70c73d86)
CORECLR! MethodDesc::GetMethodDescFromStubAddr + 0xE0 (0x70c73ef2)
CORECLR! MethodDesc::GetTemporaryEntryPoint + 0xF9 (0x70c75c49)
CORECLR! MethodTableBuilder::SetupMethodTable2 + 0x1A71 (0x70e39939)
CORECLR! MethodTableBuilder::BuildMethodTableThrowing + 0x132C (0x70e20e15)
CORECLR! ClassLoader::CreateTypeHandleForTypeDefThrowing + 0x121A (0x70e24fe4)
CORECLR! ClassLoader::CreateTypeHandleForTypeKey + 0x2BF (0x70b96843)
CORECLR! ClassLoader::DoIncrementalLoad + 0x374 (0x70b9754e)
CORECLR! ClassLoader::LoadTypeHandleForTypeKey_Body + 0x7FC (0x70ba006b)
CORECLR! ClassLoader::LoadTypeHandleForTypeKey + 0x177 (0x70b9f390)
File: D:\a_work\1\s\src\coreclr\vm\method.cpp Line: 2655
Image: C:\h\w\B71E0A06\p\corerun.exe
Return code: 1
Raw output file: C:\h\w\B71E0A06\w\A9D10958\uploads\Reports\Loader.classloader\DictionaryExpansion\DictionaryExpansion\DictionaryExpansion.output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\B71E0A06\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" DictionaryExpansion.dll
TEST: FuncOnGenClass<String>
TEST: FuncOnGenClass<Object>
TEST: FuncOnGenClass2<Object>
TEST: FuncOnGenClass<Test_DictionaryExpansion>
TEST: GFunc<string>
TEST: GFunc<object>(i)
TEST: GFunc2<object>(i)
TEST: GFunc<Test_DictionaryExpansion>(i)
TEST: FuncOnGenClass<Object>
TEST: FuncOnGenClass<Object>
TEST: FuncOnGenClass2<Object>
TEST: FuncOnGenClass<Object>
TEST: GFunc<string>
TEST: GFunc<object>(i)
TEST: GFunc2<object>(i)
TEST: GFunc<Test_DictionaryExpansion>(i)
TEST: FuncOnGenClass<Object>
TEST: FuncOnGenClass<Object>
TEST: FuncOnGenClass2<Object>
TEST: FuncOnGenClass<Object>
TEST: GFunc<string>
TEST: GFunc<object>(i)
TEST: GFunc2<object>(i)
TEST: GFunc<Test_DictionaryExpansion>(i)
TEST: FuncOnGenClass<String>
TEST: FuncOnGenClass<Object>
TEST: FuncOnGenClass2<Object>
TEST: FuncOnGenClass<Test_DictionaryExpansion>
TEST: GFunc<string>
TEST: GFunc<object>(i)
TEST: GFunc2<object>(i)
TEST: GFunc<Test_DictionaryExpansion>(i)
TEST: FuncOnGenClass<String>
TEST: FuncOnGenClass<Object>
TEST: FuncOnGenClass2<Object>
TEST: FuncOnGenClass<Test_DictionaryExpansion>
TEST: GFunc<string>
TEST: GFunc<object>(i)
TEST: GFunc2<object>(i)
TEST: GFunc<Test_DictionaryExpansion>(i)
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
set CORE_ROOT=C:\h\w\B71E0A06\p
C:\h\w\B71E0A06\w\A9D10958\e\Loader\classloader\DictionaryExpansion\DictionaryExpansion\DictionaryExpansion.cmd
Expected: True
Actual: False
Stack trace
at Loader_classloader._DictionaryExpansion_DictionaryExpansion_DictionaryExpansion_._DictionaryExpansion_DictionaryExpansion_DictionaryExpansion_cmd()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Error Message
Fill the error message using known issues guidance.
{
"ErrorMessage": "Unexpected code in temporary entrypoint",
"BuildRetry": false
}Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 7 | 40 | 96 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arch-x86area-VM-coreclrdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueos-windows
Activity
v-wenyuxu commentedon Oct 19, 2022
Failed again in: runtime-coreclr outerloop 20221018.4
Failed test:
Error message:
v-wenyuxu commentedon Dec 26, 2022
Failed again in: runtime-coreclr jitstressregs 20221225.1
Failed test:
Error message:
v-wenyuxu commentedon Jan 3, 2023
Failed again in: runtime-coreclr outerloop 20230102.2
Failed test:
Error message:
buyaa-n commentedon Jan 27, 2023
Failed again in https://github.com/dotnet/runtime/pull/78544/checks?check_run_id=10921602265
5 remaining items
v-wenyuxu commentedon Feb 13, 2023
Failed again in: runtime-coreclr jitstress-isas-x86 20230211.1
Failed tests:
Error message:
Stack trace:
Disable DictionaryExpansion.cmd test on win-x86
Disable DictionaryExpansion.cmd test on win-x86 (#82056)
janvorli commentedon Feb 17, 2023
I kept trying to repro the issue locally, but so far, I was unable to succeed. I've ran the test in a loop for two days and there was no repro.
Unfortunately, from the dump I cannot figure out how the issue happens. It looks like it is a problem of collectible assemblies where we are trying to access a chunk that was allocated from an already destroyed native
LoaderAllocator.I've tried to modify the test in various ways to cause GC to happen more often on another thread, run the failing part of the test in a loop in the code, but nothing made the issue repro.
I keep trying.
Remove cached RW mapping when the corresponding RX one is released
Remove cached RW mapping when the corresponding RX one is released (#…