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: Interop\\COM\\ComWrappers\\GlobalInstance\\GlobalInstanceTrackerSupportTests\\GlobalInstanceTrackerSupportTests.cmd #36203

Closed
v-haren opened this issue May 11, 2020 · 2 comments · Fixed by #36357

Comments

@v-haren
Copy link

v-haren commented May 11, 2020

failed in job: runtime-coreclr gcstress-extra 20200510.1

failed tests:
Interop\COM\ComWrappers\GlobalInstance\GlobalInstanceTrackerSupportTests\GlobalInstanceTrackerSupportTests.cmd
Interop\COM\ComWrappers\GlobalInstance\GlobalInstanceMarshallingTests\GlobalInstanceMarshallingTests.cmd
Interop\COM\ComWrappers\API\ComWrappersTests\ComWrappersTests.cmd
Interop\COM\ComWrappers\WeakReference\WeakReferenceTest\WeakReferenceTest.cmd

Error message

Assert failure(PID 888 [0x00000378], Thread: 7436 [0x1d0c]): Thread::IsObjRefValid(&objref)

CORECLR! OBJECTREF::operator= + 0x3D (0x71f224f3)
CORECLR! anonymous namespace'::CallCreateObject + 0x4A5 (0x720db187)
CORECLR!anonymous namespace'::TryGetOrCreateObjectForComInstanceInternal + 0x47A (0x720e38f8)
CORECLR! GlobalComWrappersForMarshalling::TryGetOrCreateObjectForComInstance + 0x13E (0x720e3289)
CORECLR! GetObjectRefFromComIP + 0xBB (0x71fc252c)
CORECLR! ComClassFactory::CreateInstance + 0x287 (0x71fa96eb)
CORECLR! RuntimeTypeHandle::CreateInstance + 0x6E5 (0x721be9b5)
<no module>! <no symbol> + 0x0 (0x08c6babb)
<no module>! <no symbol> + 0x0 (0x08c6b913)
<no module>! <no symbol> + 0x0 (0x0929016c)
 File: F:\workspace\_work\1\s\src\coreclr\src\vm\object.cpp Line: 1288
 Image: C:\h\w\BA4309C7\p\CoreRun.exe


Return code: 1
Raw output file: C:\h\w\BA4309C7\w\9E2E090F\e\Interop\COM\Reports\Interop.COM\ComWrappers\GlobalInstance\GlobalInstanceTrackerSupportTests\GlobalInstanceTrackerSupportTests.output.txt
Raw output:
BEGIN EXECUTION
Copying 'C:\h\w\BA4309C7\p\CoreShim.dll'...
 1 file(s) copied.
 "C:\h\w\BA4309C7\p\corerun.exe" GlobalInstanceTrackerSupportTests.dll 
Running ValidateRegisterForTrackerSupport...
Running ValidateNotRegisteredForMarshalling...
Running ValidateNotifyEndOfReferenceTrackingOnThread...
Running ValidateRegisterForMarshalling...
Running ValidateMarshalAPIs: use registered wrapper...
 -- Validate Marshal.GetIUnknownForObject...
 -- Validate Marshal.GetIDispatchForObject...
 -- Validate Marshal.GetObjectForIUnknown...
 -- Validate Marshal.GetUniqueObjectForIUnknown...
Running ValidateMarshalAPIs: fall back to runtime...
 -- Validate Marshal.GetIUnknownForObject...
 -- Validate Marshal.GetIDispatchForObject...
 -- Validate Marshal.GetObjectForIUnknown...
 -- Validate Marshal.GetUniqueObjectForIUnknown...
Running ValidatePInvokes: use registered wrapper...
 -- Validate MarshalAs IUnknown...
 -- Validate MarshalAs IDispatch...
 -- Validate MarshalAs IInspectable...
 -- Validate MarshalAs Interface...
Running ValidatePInvokes: fall back to runtime...
 -- Validate MarshalAs IUnknown...
 -- Validate MarshalAs Interface...
Running ValidateComActivation: use registered wrapper...
 -- Validate native server...
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\h\w\BA4309C7\p
> C:\h\w\BA4309C7\w\9E2E090F\e\Interop\COM\ComWrappers\GlobalInstance\GlobalInstanceTrackerSupportTests\GlobalInstanceTrackerSupportTests.cmd
Expected: True
Actual: False


Stack trace
   at Interop_COM._ComWrappers_GlobalInstance_GlobalInstanceTrackerSupportTests_GlobalInstanceTrackerSupportTests_._ComWrappers_GlobalInstance_GlobalInstanceTrackerSupportTests_GlobalInstanceTrackerSupportTests_cmd() in F:\workspace\_work\1\s\artifacts\tests\coreclr\Windows_NT.x86.Checked\TestWrappers\Interop.COM\Interop.COM.XUnitWrapper.cs:line 431
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-Interop-coreclr untriaged New issue has not been triaged by the area owner labels May 11, 2020
@BruceForstall
Copy link
Member

From CoreCLR Windows_NT x86 Checked gcstress0xc_zapdisable_heapverify1

set COMPlus_TieredCompilation=0
set COMPlus_GCStress=0xC
set COMPlus_HeapVerify=1
set COMPlus_ReadyToRun=0
set COMPlus_ZapDisable=1

@jeffschwMSFT jeffschwMSFT added this to the 5.0 milestone May 11, 2020
@jeffschwMSFT jeffschwMSFT removed the untriaged New issue has not been triaged by the area owner label May 11, 2020
@AaronRobinsonMSFT
Copy link
Member

/cc @elinor-fung

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants