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(TKeykey)in/_/src/System.Windows.Forms.Primitives/src/System/Windows/Forms/RefCountedCache.cs:line 128
at System.Windows.Forms.RefCountedCache`3.GetEntry(TKeykey)in/_/src/System.Windows.Forms.Primitives/src/System/Windows/Forms/RefCountedCache.cs:line 82
at System.Windows.Forms.FontCache.GetEntry(ValueTuple`2key)in/_/src/System.Windows.Forms/src/System/Windows/Forms/Internal/Gdi/FontCache.cs:line 40
at System.Windows.Forms.FontCache.GetEntry(Fontfont,FONT_QUALITYquality)in/_/src/System.Windows.Forms/src/System/Windows/Forms/Internal/Gdi/FontCache.cs:line 34
at System.Windows.Forms.GdiCache.GetHFONT(Fontfont,FONT_QUALITYquality)in/_/src/System.Windows.Forms/src/System/Windows/Forms/Internal/Gdi/GdiCache.cs:line 87
at System.Windows.Forms.Tests.Text.FontMetrics.Font_MeasureText(Stringfamily,Singlesize,SizeproposedSize,UInt32dt,Sizeexpected)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(Objectobj,IntPtr*args,BindingFlagsinvokeAttr)
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: