EarTrumpet icon indicating copy to clipboard operation
EarTrumpet copied to clipboard

EarTrumpet Crashing after windows boost

Open wym3253 opened this issue 1 year ago • 4 comments

Summary

This app will crash after windows start. Restart or reinstall app can not resolve it.

Steps to reproduce

Start the windows and app will auto crash, and restart app is the same.

EarTrumpet version

2.3.0.0

Windows version

10.0.19044.4291

Additional information

图片

错误应用程序名称: EarTrumpet.exe,版本: 2.3.0.0,时间戳: 0x64cfe711 错误模块名称: KERNELBASE.dll,版本: 10.0.19041.4291,时间戳: 0x9a786c8a 异常代码: 0xe0434352 错误偏移量: 0x0013fae2 错误进程 ID: 0x1b90 错误应用程序启动时间: 0x01da8f94ca1cb1aa 错误应用程序路径: C:\Program Files\WindowsApps\40459File-New-Project.EarTrumpet_2.3.0.0_x86__1sdd7yawvg6ne\EarTrumpet\EarTrumpet.exe 错误模块路径: C:\Windows\System32\KERNELBASE.dll 报告 ID: 708b89bf-1053-47c6-8caf-ec06960d2b9c 错误程序包全名: 40459File-New-Project.EarTrumpet_2.3.0.0_x86__1sdd7yawvg6ne 错误程序包相对应用程序 ID: EarTrumpet

图片

应用程序: EarTrumpet.exe Framework 版本: v4.0.30319 说明: 由于未经处理的异常,进程终止。 异常信息: System.Runtime.InteropServices.COMException 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32, IntPtr) 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32, IntPtr) 在 MS.Internal.Text.TextInterface.Native.Util.ConvertHresultToException(Int32) 在 MS.Internal.Text.TextInterface.FontFace.GetDisplayGlyphMetrics(UInt16*, UInt32, MS.Internal.Text.TextInterface.GlyphMetrics*, Single, Boolean, Boolean, Single) 在 System.Windows.Media.GlyphTypeface.GlyphMetrics(UInt16*, Int32, MS.Internal.Text.TextInterface.GlyphMetrics*, Double, Single, System.Windows.Media.TextFormattingMode, Boolean) 在 System.Windows.Media.GlyphTypeface.GetGlyphMetricsAndIndicesOptimized(UInt32*, Int32, Double, Single, UInt16[], MS.Internal.Text.TextInterface.GlyphMetrics[], System.Windows.Media.TextFormattingMode, Boolean) 在 System.Windows.Media.GlyphTypeface.GetGlyphMetricsOptimized(System.Windows.Media.TextFormatting.CharacterBufferRange, Double, Single, UInt16[], MS.Internal.Text.TextInterface.GlyphMetrics[], System.Windows.Media.TextFormattingMode, Boolean) 在 System.Windows.Media.Typeface.CheckFastPathNominalGlyphs(System.Windows.Media.TextFormatting.CharacterBufferRange, Double, Single, Double, Double, Boolean, Boolean, System.Globalization.CultureInfo, System.Windows.Media.TextFormattingMode, Boolean, Boolean, Int32 ByRef) 在 MS.Internal.TextFormatting.SimpleRun.CreateSimpleTextRun(System.Windows.Media.TextFormatting.CharacterBufferRange, System.Windows.Media.TextFormatting.TextRun, MS.Internal.TextFormatting.TextFormatterImp, Int32, Boolean, Boolean, Double) 在 MS.Internal.TextFormatting.SimpleRun.Create(MS.Internal.TextFormatting.FormatSettings, System.Windows.Media.TextFormatting.CharacterBufferRange, System.Windows.Media.TextFormatting.TextRun, Int32, Int32, Int32, Int32, Int32, Double) 在 MS.Internal.TextFormatting.SimpleTextLine.Create(MS.Internal.TextFormatting.FormatSettings, Int32, Int32, Double) 在 MS.Internal.TextFormatting.TextFormatterImp.FormatLineInternal(System.Windows.Media.TextFormatting.TextSource, Int32, Int32, Double, System.Windows.Media.TextFormatting.TextParagraphProperties, System.Windows.Media.TextFormatting.TextLineBreak, System.Windows.Media.TextFormatting.TextRunCache) 在 MS.Internal.TextFormatting.TextFormatterImp.FormatLine(System.Windows.Media.TextFormatting.TextSource, Int32, Double, System.Windows.Media.TextFormatting.TextParagraphProperties, System.Windows.Media.TextFormatting.TextLineBreak, System.Windows.Media.TextFormatting.TextRunCache) 在 MS.Internal.Text.Line.Format(Int32, Double, System.Windows.Media.TextFormatting.TextParagraphProperties, System.Windows.Media.TextFormatting.TextLineBreak, System.Windows.Media.TextFormatting.TextRunCache, Boolean) 在 System.Windows.Controls.TextBlock.MeasureOverride(System.Windows.Size) 在 System.Windows.FrameworkElement.MeasureCore(System.Windows.Size) 在 System.Windows.UIElement.Measure(System.Windows.Size) 在 System.Windows.ContextLayoutManager.UpdateLayout() 在 System.Windows.ContextLayoutManager.UpdateLayoutCallback(System.Object) 在 System.Windows.Media.MediaContext+InvokeOnRenderCallback.DoWork() 在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() 在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(System.Object) 在 System.Windows.Media.MediaContext.RenderMessageHandler(System.Object) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 在 System.Windows.Threading.DispatcherOperation.InvokeImpl() 在 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) 在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) 在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) 在 MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) 在 System.Windows.Threading.DispatcherOperation.Invoke() 在 System.Windows.Threading.Dispatcher.ProcessQueue() 在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 在 MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) 在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) 在 MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) 在 System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) 在 System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) 在 System.Windows.Application.RunDispatcher(System.Object) 在 System.Windows.Application.RunInternal(System.Windows.Window) 在 System.Windows.Application.Run(System.Windows.Window) 在 EarTrumpet.App.Main()

wym3253 avatar Apr 17 '24 03:04 wym3253

Looks like a Windows / WPF bug. Can you try this sample app? Does it display correctly? WpfApp1.zip

image

riverar avatar Apr 20 '24 17:04 riverar

Looks like a Windows / WPF bug. Can you try this sample app? Does it display correctly? WpfApp1.zip

image

图片 This sample app displays correctly.

wym3253 avatar Apr 21 '24 02:04 wym3253

@riverar You may want to add some Chinese character to the sample app.

Here is the crash dump: EarTrumpet.exe.15652.dmp.zip

Crystal-RainSlide avatar Sep 03 '24 00:09 Crystal-RainSlide