You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.Windows.Forms.Tests.Text.FontMetrics.Font_MeasureText test fails with following exception and call stack in debug mode. Need to be investigated further before enabling it back. It seems runtime has assertion check on refcount that is bailing out in debug builds.
We observed this specifically on arm64 build but might have been happening on X86/64 as well.
Processterminated. Assertion Failed
at System.Windows.Forms.RefCountedCache`3.<GetEntry>g__Clean|8_2()in/_/src/System.Windows.Forms.Primitives/src/System/Windows/Forms/RefCountedCache.cs:line 176
at System.Windows.Forms.RefCountedCache`3.<GetEntry>g__Add|8_1(TKey key)in/_/src/System.Windows.Forms.Primitives/src/System/Windows/Forms/RefCountedCache.cs:line 128
at System.Windows.Forms.RefCountedCache`3.GetEntry(TKey key)in/_/src/System.Windows.Forms.Primitives/src/System/Windows/Forms/RefCountedCache.cs:line 82
at System.Windows.Forms.FontCache.GetEntry(ValueTuple`2 key)in/_/src/System.Windows.Forms/src/System/Windows/Forms/Internal/Gdi/FontCache.cs:line 40
at System.Windows.Forms.FontCache.GetEntry(Font font, FONT_QUALITY quality)in/_/src/System.Windows.Forms/src/System/Windows/Forms/Internal/Gdi/FontCache.cs:line 34
at System.Windows.Forms.GdiCache.GetHFONT(Font font, FONT_QUALITY quality)in/_/src/System.Windows.Forms/src/System/Windows/Forms/Internal/Gdi/GdiCache.cs:line 87
at System.Windows.Forms.Tests.Text.FontMetrics.Font_MeasureText(String family, Single size, Size proposedSize, UInt32 dt, Size expected)in/_/src/System.Windows.Forms/tests/UnitTests/Text/FontMetrics.cs:line 86
at InvokeStub_FontMetrics.Font_MeasureText(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj,IntPtr*args, BindingFlags invokeAttr)
The text was updated successfully, but these errors were encountered:
Test
System.Windows.Forms.Tests.Text.FontMetrics.Font_MeasureText
Issue description
System.Windows.Forms.Tests.Text.FontMetrics.Font_MeasureText test fails with following exception and call stack in debug mode. Need to be investigated further before enabling it back. It seems runtime has assertion check on refcount that is bailing out in debug builds.
We observed this specifically on arm64 build but might have been happening on X86/64 as well.
The text was updated successfully, but these errors were encountered: