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

Assertion failed in test Interop\\ICustomMarshaler\\ConflictingNames\\MultipleALCs\\MultipleALCs.cmd: refCollectionObject != NULL #47696

Closed
VincentBu opened this issue Feb 1, 2021 · 15 comments · Fixed by #105231
Assignees
Labels
arch-x86 area-VM-coreclr disabled-test The test is disabled in source code against the issue GCStress in-pr There is an active PR which will close this issue when it is merged os-linux Linux OS (any supported distro) os-windows
Milestone

Comments

@VincentBu
Copy link
Contributor

Run: runtime-coreclr gcstress0x3-gcstress0xc 20210131.1

Failed tests:

CoreCLR windows x86 Checked gcstress0x3 @ Windows.10.Amd64.Open
    - Interop\\ICustomMarshaler\\ConflictingNames\\MultipleALCs\\MultipleALCs.cmd

Error message:

Assert failure(PID 6496 [0x00001960], Thread: 4448 [0x1160]): refCollectionObject != NULL

CORECLR! GcReportLoaderAllocator + 0xBA (0x70f64846)
CORECLR! PromoteCarefully + 0x8D (0x70e9475d)
CORECLR! GcEnumObject + 0x4B (0x70f6477b)
CORECLR! EECodeManager::EnumGcRefs + 0x622 (0x70d9b5e2)
CORECLR! GcStackCrawlCallBack + 0x152 (0x70f649f2)
CORECLR! Thread::MakeStackwalkerCallback + 0x48 (0x70e976cd)
CORECLR! Thread::StackWalkFramesEx + 0x178 (0x70e98d49)
CORECLR! Thread::StackWalkFrames + 0x159 (0x70e98b51)
CORECLR! ScanStackRoots + 0x195 (0x70f63cf6)
CORECLR! GCToEEInterface::GcScanRoots + 0xE4 (0x70f6232a)
    File: F:\workspace\_work\1\s\src\coreclr\vm\gcenv.ee.common.cpp Line: 190
    Image: C:\h\w\A69109B0\p\CoreRun.exe

Return code:      1
Raw output file:      C:\h\w\A69109B0\w\A6CC0926\e\Interop\ICustomMarshaler\Reports\Interop.ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.output.txt
Raw output:
BEGIN EXECUTION
 "C:\h\w\A69109B0\p\corerun.exe" MultipleALCs.dll 
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\h\w\A69109B0\p
> C:\h\w\A69109B0\w\A6CC0926\e\Interop\ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.cmd

stack trace:
   at Interop_ICustomMarshaler._ConflictingNames_MultipleALCs_MultipleALCs_._ConflictingNames_MultipleALCs_MultipleALCs_cmd()
@dotnet-issue-labeler dotnet-issue-labeler bot added area-Interop-coreclr untriaged New issue has not been triaged by the area owner labels Feb 1, 2021
@VincentBu
Copy link
Contributor Author

Failed again in runtime-coreclr gcstress-extra 20210220.1

Failed test:

CoreCLR windows x86 Checked gcstress0xc_tailcallstress @ Windows.10.Amd64.Open
 -Interop\\ICustomMarshaler\\ConflictingNames\\MultipleALCs\\MultipleALCs.cmd

Error message:

Assert failure(PID 924 [0x0000039c], Thread: 3988 [0x0f94]): refCollectionObject != NULL

CORECLR! GcReportLoaderAllocator + 0xBA (0x70d177c6)
CORECLR! PromoteCarefully + 0x8D (0x70c46f0d)
CORECLR! GcEnumObject + 0x4B (0x70d176fb)
CORECLR! EECodeManager::EnumGcRefs + 0x622 (0x70b4b8e2)
CORECLR! GcStackCrawlCallBack + 0x152 (0x70d17972)
CORECLR! Thread::MakeStackwalkerCallback + 0x48 (0x70c49e7d)
CORECLR! Thread::StackWalkFramesEx + 0x178 (0x70c4b4fc)
CORECLR! Thread::StackWalkFrames + 0x159 (0x70c4b304)
CORECLR! ScanStackRoots + 0x195 (0x70d16c76)
CORECLR! GCToEEInterface::GcScanRoots + 0xE4 (0x70d152ac)
 File: D:\workspace\_work\1\s\src\coreclr\vm\gcenv.ee.common.cpp Line: 190
 Image: C:\h\w\A39808EC\p\CoreRun.exe


Return code: 1
Raw output file: C:\h\w\A39808EC\w\BE370A64\e\Interop\ICustomMarshaler\Reports\Interop.ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.output.txt
Raw output:
BEGIN EXECUTION
 "C:\h\w\A39808EC\p\corerun.exe" MultipleALCs.dll 
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\h\w\A39808EC\p
> C:\h\w\A39808EC\w\BE370A64\e\Interop\ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.cmd
Expected: True
Actual: False

Stack trace
   at Interop_ICustomMarshaler._ConflictingNames_MultipleALCs_MultipleALCs_._ConflictingNames_MultipleALCs_MultipleALCs_cmd()

@AaronRobinsonMSFT AaronRobinsonMSFT added untriaged New issue has not been triaged by the area owner and removed untriaged New issue has not been triaged by the area owner labels Apr 2, 2021
@AaronRobinsonMSFT AaronRobinsonMSFT added this to the 6.0.0 milestone Apr 2, 2021
@AaronRobinsonMSFT
Copy link
Member

I've been able to reproduce this locally - ran test for almost 3 hours and it finally triggered. I have a full DMP from a local build - source is the same minus some build code and an assert in unrelated section of code.

Below are some details:

Thread being inspected

0:000> !CLRStack
OS Thread Id: 0x18f4 (0)
Child SP       IP Call Site
02D7E6D4 77202bbc [RedirectedThreadFrame: 02d7e6d4] 
02D7E728 79080800 System.SpanHelpers.SequenceEqual(Byte ByRef, Byte ByRef, UIntPtr)
02D7E75C 790225af System.RuntimeType+RuntimeTypeCache+Filter.Match(System.MdUtf8String)
02D7E778 7926cf7b System.RuntimeType+RuntimeTypeCache+MemberInfoCache`1[[System.__Canon, System.Private.CoreLib]].PopulateMethods(Filter)
02D7E860 7926c54a System.RuntimeType+RuntimeTypeCache+MemberInfoCache`1[[System.__Canon, System.Private.CoreLib]].GetListByName(Char*, Int32, Byte*, Int32, MemberListType, CacheType)
02D7E8C8 7926c438 System.RuntimeType+RuntimeTypeCache+MemberInfoCache`1[[System.__Canon, System.Private.CoreLib]].Populate(System.String, MemberListType, CacheType)
02D7E90C 7926eee3 System.RuntimeType+RuntimeTypeCache+MemberInfoCache`1[[System.__Canon, System.Private.CoreLib]].GetMemberList(MemberListType, System.String, CacheType)
02D7E928 7901bae6 System.RuntimeType.GetMethodCandidates(System.String, Int32, System.Reflection.BindingFlags, System.Reflection.CallingConventions, System.Type[], Boolean)
02D7E994 7901caed System.RuntimeType.GetMethodImplCommon(System.String, Int32, System.Reflection.BindingFlags, System.Reflection.Binder, System.Reflection.CallingConventions, System.Type[], System.Reflection.ParameterModifier[])
02D7E9D4 7901ca7f System.RuntimeType.GetMethodImpl(System.String, System.Reflection.BindingFlags, System.Reflection.Binder, System.Reflection.CallingConventions, System.Type[], System.Reflection.ParameterModifier[])
02D7E9F0 7902c63c System.Type.GetMethod(System.String, System.Reflection.BindingFlags)
02D7EA00 08909606 RunInALC.Run(System.Runtime.Loader.AssemblyLoadContext) [D:\runtime\src\tests\Interop\ICustomMarshaler\ConflictingNames\RunInALC.cs @ 46]
02D7EA48 0890880c RunInALC.Main(System.String[]) [D:\runtime\src\tests\Interop\ICustomMarshaler\ConflictingNames\RunInALC.cs @ 17]

GC thread. Frame 4 below is the issue. The loader allocator has a WeakLong GC Handle but it is pointing to NULL and thus the assert.

Object *refCollectionObject = OBJECTREFToObject(pLoaderAllocator->GetExposedObject());

What is more disturbing are the results of the !GCHandles below.

0:006> k
 # ChildEBP RetAddr      
00 0855d3e0 79cec164     coreclr!TerminateOnAssert+0x17 [D:\runtime\src\coreclr\utilcode\debug.cpp @ 189] 
01 0855d3e0 79ceb796     coreclr!_DbgBreakCheck+0x411 [D:\runtime\src\coreclr\utilcode\debug.cpp @ 427] 
02 0855d450 79cebabe     coreclr!_DbgBreakCheckNoThrow+0x51 [D:\runtime\src\coreclr\utilcode\debug.cpp @ 534] 
03 0855d4ec 79a44be6     coreclr!DbgAssertDialog+0x20b [D:\runtime\src\coreclr\utilcode\debug.cpp @ 695] 
04 0855d570 7997788d     coreclr!GcReportLoaderAllocator+0xba [D:\runtime\src\coreclr\vm\gcenv.ee.common.cpp @ 191] 
05 0855d58c 79a44b1b     coreclr!PromoteCarefully+0x8d [D:\runtime\src\coreclr\vm\siginfo.cpp @ 4925] 
06 0855d5a8 7987dd22     coreclr!GcEnumObject+0x4b [D:\runtime\src\coreclr\vm\gcenv.ee.common.cpp @ 166] 
07 0855da0c 79a44d92     coreclr!EECodeManager::EnumGcRefs+0x622 [D:\runtime\src\coreclr\vm\eetwain.cpp @ 4653] 
08 0855da64 7997ac21     coreclr!GcStackCrawlCallBack+0x152 [D:\runtime\src\coreclr\vm\gcenv.ee.common.cpp @ 289] 
09 0855da80 7997c292     coreclr!Thread::MakeStackwalkerCallback+0x48 [D:\runtime\src\coreclr\vm\stackwalk.cpp @ 837] 
0a 0855dd50 7997c0a2     coreclr!Thread::StackWalkFramesEx+0x170 [D:\runtime\src\coreclr\vm\stackwalk.cpp @ 913] 
0b 0855e094 79a4408a     coreclr!Thread::StackWalkFrames+0x159 [D:\runtime\src\coreclr\vm\stackwalk.cpp @ 997] 
0c 0855e1a8 79a4269c     coreclr!ScanStackRoots+0x196 [D:\runtime\src\coreclr\vm\gcenv.ee.cpp @ 147] 
0d 0855e1c8 79caabc6     coreclr!GCToEEInterface::GcScanRoots+0xe4 [D:\runtime\src\coreclr\vm\gcenv.ee.cpp @ 232] 
0e 0855e220 79ca4a31     coreclr!WKS::gc_heap::mark_phase+0x166 [D:\runtime\src\coreclr\gc\gc.cpp @ 23187] 
0f 0855e248 79ca4863     coreclr!WKS::gc_heap::gc1+0x149 [D:\runtime\src\coreclr\gc\gc.cpp @ 18901] 
10 0855e260 79c95d0a     coreclr!WKS::gc_heap::garbage_collect+0x3b4 [D:\runtime\src\coreclr\gc\gc.cpp @ 20499] 
11 0855e288 79c95dfd     coreclr!WKS::GCHeap::GarbageCollectGeneration+0x21c [D:\runtime\src\coreclr\gc\gc.cpp @ 42181] 
12 0855e29c 79c95aaf     coreclr!WKS::GCHeap::GarbageCollectTry+0x55 [D:\runtime\src\coreclr\gc\gc.cpp @ 41435] 
13 0855e2cc 79c97a98     coreclr!WKS::GCHeap::GarbageCollect+0xcf [D:\runtime\src\coreclr\gc\gc.cpp @ 41372] 
14 0855e308 79961365     coreclr!WKS::GCHeap::StressHeap+0x3e8 [D:\runtime\src\coreclr\gc\gc.cpp @ 41007] 
15 (Inline) --------     coreclr!_GCStress::StressGcTriggerPolicy::Trigger+0x41 [D:\runtime\src\coreclr\vm\gcstress.h @ 292] 
16 (Inline) --------     coreclr!_GCStress::GCSBase<0,mpl::null_type,mpl::null_type,mpl::null_type>::MaybeTrigger+0x56 [D:\runtime\src\coreclr\vm\gcstress.h @ 399] 
17 0855e4bc 79cb9298     coreclr!ExternalMethodFixupWorker+0x723 [D:\runtime\src\coreclr\vm\prestub.cpp @ 2772] 
18 0855e4e8 7920bbf5     coreclr!DelayLoad_MethodCall+0x23 [D:\runtime\src\coreclr\vm\i386\asmhelpers.asm @ 1468] 

The handle value from above is 034C13E8 - which appears to have been collected. I see no trace of this handle in the StressLog.

0:006> !GCHandles
  Handle Type          Object     Size     Data Type
034C10EC WeakShort   053e21c8      204          System.Diagnostics.Tracing.RuntimeEventSource
034C10F0 WeakShort   053fe6b8      112          System.Diagnostics.Tracing.NativeRuntimeEventSource
034C13D0 WeakLong    054008dc       80          System.RuntimeType+RuntimeTypeCache
034C13D4 WeakLong    0540015c       48          UnloadableLoadContext
034C13D8 WeakLong    05400198       24          System.Reflection.LoaderAllocator
034C13DC WeakLong    0540015c       48          UnloadableLoadContext
034C13E4 WeakLong    053feab0       48          UnloadableLoadContext
034C13EC WeakLong    053feab0       48          UnloadableLoadContext
034C13F0 WeakLong    053fea70       32          Interop+Advapi32+EtwEnableCallback
034C13F4 WeakLong    053fe8f0       32          Interop+Advapi32+EtwEnableCallback
034C13F8 WeakLong    053fe83c       32          Interop+Advapi32+EtwEnableCallback
034C13FC WeakLong    053fe630       32          Interop+Advapi32+EtwEnableCallback
034C1184 Strong      053feab0       48          UnloadableLoadContext
034C1188 Strong      05400198       24          System.Reflection.LoaderAllocator
034C118C Strong      05499084       20          System.Runtime.CompilerServices.GCHeapHash
034C1190 Strong      05499070       20          System.Runtime.CompilerServices.GCHeapHash
034C1194 Strong      073e3220     1036          System.Object[]
034C1198 Strong      053e2f34       20          System.Runtime.CompilerServices.GCHeapHash
034C119C Strong      053e2f20       20          System.Runtime.CompilerServices.GCHeapHash
034C11A4 Strong      053fe91c       68          System.Object[]
034C11A8 Strong      053e1b18       20          System.Runtime.CompilerServices.GCHeapHash
034C11AC Strong      053e1b04       20          System.Runtime.CompilerServices.GCHeapHash
034C11B0 Strong      073e2220     4092          System.Object[]
034C11B8 Strong      073e2010      524          System.Object[]
034C11BC Strong      053e111c       68          System.ExecutionEngineException
034C11C0 Strong      053e10d8       68          System.StackOverflowException
034C11C4 Strong      053e1094       68          System.OutOfMemoryException
034C11C8 Strong      053e1050       20          System.Runtime.CompilerServices.GCHeapHash
034C11CC Strong      053e103c       20          System.Runtime.CompilerServices.GCHeapHash
034C11D0 Strong      053e100c       48          System.Int32[]
034C11D4 Strong      073e1010     4092          System.Object[]
034C11DC Strong      0546f880    84982          System.String
034C11E0 Strong      0545a8f4    84982          System.String
034C11E4 Strong      05445cfc    84982          System.String
034C11E8 Strong      05431074    84982          System.String
034C11EC Strong      0541c47c    84982          System.String
034C11F0 Strong      05406e8c    84982          System.String
034C11F4 Strong      053f43e4    41086          System.String
034C11F8 Strong      05484478    84982          System.String
034C12FC Pinned      053e11d8       12          System.Object

Statistics:
      MT    Count    TotalSize Class Name
05190d3c        1           12 System.Object
05241e78        2           48 System.Reflection.LoaderAllocator
051e82dc        1           48 System.Int32[]
052123cc        1           68 System.ExecutionEngineException
0521227c        1           68 System.StackOverflowException
0521212c        1           68 System.OutOfMemoryException
08cab0c8        1           80 System.RuntimeType+RuntimeTypeCache
0895cdac        1          112 System.Diagnostics.Tracing.NativeRuntimeEventSource
08956c90        4          128 Interop+Advapi32+EtwEnableCallback
051e7b34        8          160 System.Runtime.CompilerServices.GCHeapHash
087a5a64        1          204 System.Diagnostics.Tracing.RuntimeEventSource
089d2bf8        5          240 UnloadableLoadContext
05198b94        5         9812 System.Object[]
051ef8e0        8       635960 System.String
Total 40 objects

Handles:
    Strong Handles:       27
    Pinned Handles:       1
    Weak Long Handles:    10
    Weak Short Handles:   2

@AaronRobinsonMSFT
Copy link
Member

/cc @janvorli

@AaronRobinsonMSFT
Copy link
Member

See also #11861, #42802

@BruceForstall
Copy link
Member

@VincentBu
Copy link
Contributor Author

Failed again in runtime-coreclr gcstress0x3-gcstress0xc 20210606.1

Failed test:

CoreCLR windows x64 Checked gcstress0x3 @ Windows.10.Amd64.Open

- Interop\\ICustomMarshaler\\ConflictingNames\\MultipleALCs\\MultipleALCs.cmd

Error message:

Assert failure(PID 3080 [0x00000c08], Thread: 4480 [0x1180]): refCollectionObject != NULL

CORECLR! GcReportLoaderAllocator + 0xFC (0x00007fff692de9e0) CORECLR! PromoteCarefully + 0xBA (0x00007fff691a87ba)
CORECLR! GcEnumObject + 0x61 (0x00007fff692de8c1) CORECLR! GcInfoDecoder::ReportSlotToGC + 0xCD (0x00007fff695a19a5)
CORECLR! GcInfoDecoder::EnumerateLiveSlots + 0xCE5 (0x00007fff695a0ba9) CORECLR! EECodeManager::EnumGcRefs + 0x389 (0x00007fff69064479)
CORECLR! GcStackCrawlCallBack + 0x2CC (0x00007fff692ded2c) CORECLR! Thread::MakeStackwalkerCallback + 0x6B (0x00007fff691acde7)
CORECLR! Thread::StackWalkFramesEx + 0x164 (0x00007fff691ae6b0) CORECLR! Thread::StackWalkFrames + 0x184 (0x00007fff691ae4ac)
File: D:\workspace_work\1\s\src\coreclr\vm\gcenv.ee.common.cpp Line: 190
Image: C:\h\w\A4BF08EE\p\corerun.exe

Return code:      1
Raw output file:      C:\h\w\A4BF08EE\w\A26708DB\e\Interop\ICustomMarshaler\Reports\Interop.ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\A4BF08EE\p\corerun.exe"  MultipleALCs.dll
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=C:\h\w\A4BF08EE\p
C:\h\w\A4BF08EE\w\A26708DB\e\Interop\ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.cmd
Expected: True
Actual:   False


Stack trace
   at Interop_ICustomMarshaler._ConflictingNames_MultipleALCs_MultipleALCs_._ConflictingNames_MultipleALCs_MultipleALCs_cmd()

@VincentBu
Copy link
Contributor Author

Historical failures of this test:

Queued OS Arch Pipeline
2021-06-06T14:20:22.154Z windows.10.amd64.open.rt x64 runtime-coreclr gcstress0x3-gcstress0xc Checked-gcstress0x3
2021-06-06T08:03:55.306Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-06-06T07:56:01.41Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-06-06T07:51:39.033Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-06-06T07:38:43.614Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-06-06T07:38:22.853Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-06-06T07:18:47.669Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-06-06T07:18:46.61Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-05-31T08:43:17.078Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
More failures
Queued OS Arch Pipeline
2021-05-31T08:31:15.338Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-05-31T08:29:58.099Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-05-31T08:16:57.827Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-05-31T08:12:58.631Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-05-31T07:59:21.343Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-05-31T07:59:20.031Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-05-30T08:23:59.453Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-05-30T08:17:38.535Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-05-30T08:13:55.178Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-05-30T08:04:34.328Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-05-30T08:00:32.753Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-05-30T07:46:50.383Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-05-30T07:46:49.587Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-05-24T08:37:19.056Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-05-24T08:34:43.663Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-05-24T08:26:59.617Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-05-24T08:18:18.489Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-05-24T08:13:36.834Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-05-24T07:57:34.579Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-05-24T07:57:33.47Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-05-23T08:49:40.879Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-05-23T08:39:56.889Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-05-23T08:35:44.863Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-05-23T08:26:33.446Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-05-23T08:09:47.663Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-05-23T08:09:46.81Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-05-17T08:54:52.824Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-05-17T08:48:45.408Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-05-17T08:39:52.959Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-05-17T08:27:34.583Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-05-17T08:17:52.212Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-05-17T07:57:10.955Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-05-16T08:44:30.407Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-05-16T08:30:47.963Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-05-16T08:16:45.646Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-05-16T08:10:00.717Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-05-16T07:49:54.228Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-05-10T08:49:05.309Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-05-10T08:43:27.591Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-05-10T08:36:46.593Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-05-10T08:24:26.777Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-05-10T08:17:26.768Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-05-10T08:03:31.433Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-05-10T08:03:28.459Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-05-09T08:35:19.573Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-05-09T08:27:11.897Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-05-09T08:24:29.424Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-05-09T08:12:49.771Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-05-09T08:04:45.092Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-05-09T07:48:47.365Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-05-09T07:48:44.62Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-05-03T09:02:31.379Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-05-03T08:48:58.369Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-05-03T08:44:54.672Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-05-03T08:38:46.185Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-05-03T08:29:10.74Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-05-03T08:15:47.055Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-05-03T08:15:45.52Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-05-02T08:53:33.755Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-05-02T08:42:24.046Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-05-02T08:42:09.064Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-05-02T08:32:17.693Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-05-02T08:24:16.032Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-05-02T08:07:31.532Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-05-02T08:07:30.425Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-05-01T14:51:43.166Z windows.10.amd64.open.rt x64 runtime-coreclr gcstress0x3-gcstress0xc Checked-gcstress0x3
2021-04-26T09:24:16.27Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-04-26T09:23:41.89Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-04-26T09:11:26.701Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-04-26T09:09:28.304Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-04-26T08:56:22.387Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-04-26T08:42:05.848Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-04-26T08:42:04.583Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-04-25T09:37:57.889Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-04-25T09:28:55.665Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-04-25T09:26:23Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-04-25T09:15:35.544Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-04-25T09:01:06.829Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-04-25T08:47:51.587Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-04-25T08:47:50.949Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-04-19T09:43:31.386Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-04-19T09:38:10.107Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-04-19T09:31:58.546Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-04-19T09:18:32.751Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-04-19T09:16:13.016Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-04-19T09:00:24.275Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-04-19T09:00:23.564Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-04-18T09:28:40.582Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-04-18T09:16:59.877Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-04-18T09:06:24.48Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-04-18T09:03:49.851Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-04-18T08:50:33.15Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-04-18T08:37:32.5Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-04-18T08:37:31.701Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-04-17T15:45:16.388Z windows.10.arm64v8.open arm64 runtime-coreclr gcstress0x3-gcstress0xc Checked-gcstress0x3
2021-04-12T10:55:12.88Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2021-04-12T10:44:11.419Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-04-12T10:16:17.109Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-04-12T08:44:20.529Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-04-12T08:43:09.059Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-04-12T08:21:50.392Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-04-12T08:21:48.329Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-04-11T11:12:39.139Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2021-04-11T10:52:52.168Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2021-04-11T10:37:19.083Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2021-04-11T10:17:21.982Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_heapverify1
2021-04-11T09:09:19.952Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2021-04-11T09:09:18.105Z osx.1013.amd64.open x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable
2021-04-08T10:36:48.543Z windows.10.amd64.open.rt x64 runtime-coreclr crossgen2 outerloop Checked
2021-04-08T10:36:47.371Z windows.10.amd64.open.rt x64 runtime-coreclr crossgen2 outerloop Checked-no_tiered_compilation
2021-04-08T10:34:15.41Z windows.10.arm64v8.open arm64 runtime-coreclr crossgen2 outerloop Checked-no_tiered_compilation
2021-04-08T10:34:14.244Z windows.10.arm64v8.open arm64 runtime-coreclr crossgen2 outerloop Checked

@ghost
Copy link

ghost commented Jul 30, 2021

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

Issue Details

Run: runtime-coreclr gcstress0x3-gcstress0xc 20210131.1

Failed tests:

CoreCLR windows x86 Checked gcstress0x3 @ Windows.10.Amd64.Open
    - Interop\\ICustomMarshaler\\ConflictingNames\\MultipleALCs\\MultipleALCs.cmd

Error message:

Assert failure(PID 6496 [0x00001960], Thread: 4448 [0x1160]): refCollectionObject != NULL

CORECLR! GcReportLoaderAllocator + 0xBA (0x70f64846)
CORECLR! PromoteCarefully + 0x8D (0x70e9475d)
CORECLR! GcEnumObject + 0x4B (0x70f6477b)
CORECLR! EECodeManager::EnumGcRefs + 0x622 (0x70d9b5e2)
CORECLR! GcStackCrawlCallBack + 0x152 (0x70f649f2)
CORECLR! Thread::MakeStackwalkerCallback + 0x48 (0x70e976cd)
CORECLR! Thread::StackWalkFramesEx + 0x178 (0x70e98d49)
CORECLR! Thread::StackWalkFrames + 0x159 (0x70e98b51)
CORECLR! ScanStackRoots + 0x195 (0x70f63cf6)
CORECLR! GCToEEInterface::GcScanRoots + 0xE4 (0x70f6232a)
    File: F:\workspace\_work\1\s\src\coreclr\vm\gcenv.ee.common.cpp Line: 190
    Image: C:\h\w\A69109B0\p\CoreRun.exe

Return code:      1
Raw output file:      C:\h\w\A69109B0\w\A6CC0926\e\Interop\ICustomMarshaler\Reports\Interop.ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.output.txt
Raw output:
BEGIN EXECUTION
 "C:\h\w\A69109B0\p\corerun.exe" MultipleALCs.dll 
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\h\w\A69109B0\p
> C:\h\w\A69109B0\w\A6CC0926\e\Interop\ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.cmd

stack trace:
   at Interop_ICustomMarshaler._ConflictingNames_MultipleALCs_MultipleALCs_._ConflictingNames_MultipleALCs_MultipleALCs_cmd()
Author: VincentBu
Assignees: -
Labels:

GCStress, arch-x86, area-AssemblyLoader-coreclr, os-windows

Milestone: 6.0.0

@jkoritzinsky jkoritzinsky removed this from the 6.0.0 milestone Jul 30, 2021
@jkoritzinsky jkoritzinsky added the untriaged New issue has not been triaged by the area owner label Jul 30, 2021
@jkoritzinsky
Copy link
Member

Moving to AssemblyLoader as this is related to unloadable ALCs. (Maybe should be VM-coreclr)?

@echesakov
Copy link
Contributor

Failed again on windows-arm64 yesterday (see console.log)

set COMPlus_TieredCompilation=0
set COMPlus_GCStress=0x3
  Starting:    Interop.ICustomMarshaler.XUnitWrapper (parallel test collections = on, max threads = 8)
    Interop\ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.cmd [FAIL]
      
      Assert failure(PID 14096 [0x00003710], Thread: 2752 [0x0ac0]): refCollectionObject != NULL
      
      CORECLR! GcReportLoaderAllocator + 0x58 (0x00007ffe`0a831f20)
      CORECLR! PromoteCarefully + 0xBC (0x00007ffe`0a791f2c)
      CORECLR! GcEnumObject + 0x64 (0x00007ffe`0a831e94)
      CORECLR! GcInfoDecoder::ReportRegisterToGC + 0x288 (0x00007ffe`0a94e038)
      CORECLR! GcInfoDecoder::ReportSlotToGC + 0xE4 (0x00007ffe`0a94e13c)
      CORECLR! GcInfoDecoder::EnumerateLiveSlots + 0xD0C (0x00007ffe`0a94cfc4)
      CORECLR! EECodeManager::EnumGcRefs + 0x2CC (0x00007ffe`0a6f72dc)
      CORECLR! GcStackCrawlCallBack + 0x26C (0x00007ffe`0a8321dc)
      CORECLR! Thread::MakeStackwalkerCallback + 0x70 (0x00007ffe`0a794600)
      CORECLR! Thread::StackWalkFramesEx + 0x180 (0x00007ffe`0a7958f8)
          File: D:\workspace\_work\1\s\src\coreclr\vm\gcenv.ee.common.cpp Line: 190
          Image: D:\h\w\BD8E0A14\p\corerun.exe
      
      
      Return code:      1
      Raw output file:      D:\h\w\BD8E0A14\w\AE2709C5\uploads\Reports\Interop.ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.output.txt
      Raw output:
      BEGIN EXECUTION
       "D:\h\w\BD8E0A14\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" MultipleALCs.dll 
      Expected: 100
      Actual: -1073740286
      END EXECUTION - FAILED
      FAILED
      Test Harness Exitcode is : 1
      To run the test:
      > set CORE_ROOT=D:\h\w\BD8E0A14\p
      > D:\h\w\BD8E0A14\w\AE2709C5\e\Interop\ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.cmd
      Expected: True
      Actual:   False
      Stack Trace:
           at Interop_ICustomMarshaler._ConflictingNames_MultipleALCs_MultipleALCs_._ConflictingNames_MultipleALCs_MultipleALCs_cmd()
      Output:
        
        Assert failure(PID 14096 [0x00003710], Thread: 2752 [0x0ac0]): refCollectionObject != NULL
        
        CORECLR! GcReportLoaderAllocator + 0x58 (0x00007ffe`0a831f20)
        CORECLR! PromoteCarefully + 0xBC (0x00007ffe`0a791f2c)
        CORECLR! GcEnumObject + 0x64 (0x00007ffe`0a831e94)
        CORECLR! GcInfoDecoder::ReportRegisterToGC + 0x288 (0x00007ffe`0a94e038)
        CORECLR! GcInfoDecoder::ReportSlotToGC + 0xE4 (0x00007ffe`0a94e13c)
        CORECLR! GcInfoDecoder::EnumerateLiveSlots + 0xD0C (0x00007ffe`0a94cfc4)
        CORECLR! EECodeManager::EnumGcRefs + 0x2CC (0x00007ffe`0a6f72dc)
        CORECLR! GcStackCrawlCallBack + 0x26C (0x00007ffe`0a8321dc)
        CORECLR! Thread::MakeStackwalkerCallback + 0x70 (0x00007ffe`0a794600)
        CORECLR! Thread::StackWalkFramesEx + 0x180 (0x00007ffe`0a7958f8)
            File: D:\workspace\_work\1\s\src\coreclr\vm\gcenv.ee.common.cpp Line: 190
            Image: D:\h\w\BD8E0A14\p\corerun.exe
        
        
        Return code:      1
        Raw output file:      D:\h\w\BD8E0A14\w\AE2709C5\uploads\Reports\Interop.ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.output.txt
        Raw output:
        BEGIN EXECUTION
         "D:\h\w\BD8E0A14\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" MultipleALCs.dll 
        Expected: 100
        Actual: -1073740286
        END EXECUTION - FAILED
        FAILED
        Test Harness Exitcode is : 1
        To run the test:
        > set CORE_ROOT=D:\h\w\BD8E0A14\p
        > D:\h\w\BD8E0A14\w\AE2709C5\e\Interop\ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.cmd

@mangod9 Do you think someone on your team can take a look at the issue?

@VincentBu
Copy link
Contributor Author

Failed again in: runtime-coreclr gcstress0x3-gcstress0xc 20210823.1

Failed test:

CoreCLR windows arm64 Checked gcstress0x3 @ Windows.10.Arm64v8.Open

- Interop\\ICustomMarshaler\\ConflictingNames\\MultipleALCs\\MultipleALCs.cmd

Error message:

Assert failure(PID 14096 [0x00003710], Thread: 2752 [0x0ac0]): refCollectionObject != NULL

CORECLR! GcReportLoaderAllocator + 0x58 (0x00007ffe0a831f20) CORECLR! PromoteCarefully + 0xBC (0x00007ffe0a791f2c)
CORECLR! GcEnumObject + 0x64 (0x00007ffe0a831e94) CORECLR! GcInfoDecoder::ReportRegisterToGC + 0x288 (0x00007ffe0a94e038)
CORECLR! GcInfoDecoder::ReportSlotToGC + 0xE4 (0x00007ffe0a94e13c) CORECLR! GcInfoDecoder::EnumerateLiveSlots + 0xD0C (0x00007ffe0a94cfc4)
CORECLR! EECodeManager::EnumGcRefs + 0x2CC (0x00007ffe0a6f72dc) CORECLR! GcStackCrawlCallBack + 0x26C (0x00007ffe0a8321dc)
CORECLR! Thread::MakeStackwalkerCallback + 0x70 (0x00007ffe0a794600) CORECLR! Thread::StackWalkFramesEx + 0x180 (0x00007ffe0a7958f8)
File: D:\workspace_work\1\s\src\coreclr\vm\gcenv.ee.common.cpp Line: 190
Image: D:\h\w\BD8E0A14\p\corerun.exe

Return code:      1
Raw output file:      D:\h\w\BD8E0A14\w\AE2709C5\uploads\Reports\Interop.ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.output.txt
Raw output:
BEGIN EXECUTION
"D:\h\w\BD8E0A14\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" MultipleALCs.dll
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=D:\h\w\BD8E0A14\p
D:\h\w\BD8E0A14\w\AE2709C5\e\Interop\ICustomMarshaler\ConflictingNames\MultipleALCs\MultipleALCs.cmd
Expected: True
Actual:   False


Stack trace
   at Interop_ICustomMarshaler._ConflictingNames_MultipleALCs_MultipleALCs_._ConflictingNames_MultipleALCs_MultipleALCs_cmd()

@mangod9
Copy link
Member

mangod9 commented Aug 25, 2021

assume this fails only with gcstress?

@mangod9 mangod9 removed the untriaged New issue has not been triaged by the area owner label Aug 25, 2021
@mangod9 mangod9 added this to the 6.0.0 milestone Aug 25, 2021
@echesakov
Copy link
Contributor

assume this fails only with gcstress?

Correct

@echesakov echesakov added the disabled-test The test is disabled in source code against the issue label Aug 25, 2021
@echesakov
Copy link
Contributor

Disabled the test under GCStress in #58124

@agocke agocke modified the milestones: 6.0.0, 7.0.0 Sep 9, 2021
@agocke agocke added this to AppModel Jul 28, 2022
@agocke agocke removed this from the 7.0.0 milestone Jul 28, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jul 28, 2022
@mangod9 mangod9 removed the untriaged New issue has not been triaged by the area owner label Jul 30, 2022
@mangod9 mangod9 modified the milestones: 7.0.0, 8.0.0 Jul 30, 2022
@mangod9 mangod9 modified the milestones: 8.0.0, Future Jun 23, 2023
@janvorli
Copy link
Member

It looks like this issue is gone. I have reenabled the test and ran it overnight with GCStress 3 and tiered compilation off and all the runs passed. I am going to create a PR reenabling that test.

janvorli added a commit to janvorli/runtime that referenced this issue Jul 22, 2024
I was unable to repro the issue dotnet#47696 anymore even after running the
tests for more than a day in a loop, so I am reenabling GC stress for
it.

Close dotnet#47696
@dotnet-policy-service dotnet-policy-service bot added the in-pr There is an active PR which will close this issue when it is merged label Jul 22, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x86 area-VM-coreclr disabled-test The test is disabled in source code against the issue GCStress in-pr There is an active PR which will close this issue when it is merged os-linux Linux OS (any supported distro) os-windows
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

8 participants