-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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/WeakReference/WeakReferenceTest #81362
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue DetailsFails under jit/gc stress on a variety of OS/Arch https://dev.azure.com/dnceng-public/public/_build/results?buildId=152088&view=results
|
New case reported first over in #60152: Failed in Run: runtime-coreclr gcstress-extra 20230212.1 Failed tests:
Error message:
Stack trace:
|
I reproduced this on win-arm64 with GCStress=C. It reproduces reliably with JitStress=1 set and passes without JitStress set. |
…ceTest Disable under GCStress. Tracking: dotnet#81362
I got a similar error for an app I have live in production.
|
@bogdan-patraucean This issue is about an assertion indicating possible GC reporting corruption when we put the code generator in a stress mode. In your copied output, I see a stack overflow message. I suspect that these are not related. Do you have other information that suggests that they are? Thanks. |
This isn't reproing for me under win-x64. (Above references are to win-arm64 and linux-arm64, so perhaps it is architecture dependent but not OS dependent.) |
EDIT: I tried reproducing this failure on win-x64 and win-arm64 and did not have success, including adding extra Perhaps the handle runtime/src/libraries/System.Private.CoreLib/src/System/WeakReference.cs Lines 160 to 169 in dd079f5
Maybe adding a call to |
Thank you @AustinWise. I have confirmed that the failure occurred on this path and that KeepAlive fixes the test locally. I was confused for a bit after seeing "COM" and Linux failures, but it turns out that FEATURE_COMINTEROP is win-specific and FEATURE_COMWRAPPERS is set on Linux. |
Omission was noticed by @AustinWise. I reproed the failure and this fix for it on linux-x64. Fixes #81362
Fails under jit/gc stress on a variety of OS/Arch
https://dev.azure.com/dnceng-public/public/_build/results?buildId=152088&view=results
The text was updated successfully, but these errors were encountered: