Skip to content

Bug:[Windows]Program crashes abnormally:Covered length must be greater than zero. #1821

@zhenlimini

Description

@zhenlimini

Application: SourceGit.exe
CoreCLR Version: 9.0.8
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: Covered length must be greater than zero.
at Avalonia.Media.TextFormatting.TextLineImpl.GetTextBounds(Int32, Int32) + 0x541
at Avalonia.Media.TextFormatting.TextLayout.HitTestTextRange(Int32, Int32) + 0xac
at Avalonia.Controls.Presenters.TextPresenter.Render(DrawingContext) + 0x129
at Avalonia.Rendering.Composition.CompositingRenderer.UpdateCore() + 0x97
at Avalonia.Rendering.Composition.CompositingRenderer.Update() + 0x7b
at Avalonia.Rendering.Composition.Compositor.CommitCore() + 0x11b
at Avalonia.Rendering.Composition.Compositor.Commit() + 0x15
at Avalonia.Media.MediaContext.CommitCompositor(Compositor) + 0x4e
at Avalonia.Media.MediaContext.CommitCompositorsWithThrottling() + 0xf5
at Avalonia.Media.MediaContext.RenderCore() + 0x9d
at Avalonia.Media.MediaContext.Render() + 0x17
at Avalonia.Threading.DispatcherOperation.InvokeCore() + 0x1bc
at Avalonia.Threading.DispatcherOperation.Execute() + 0x4c
at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation) + 0x73
at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean) + 0x3d
at Avalonia.Threading.Dispatcher.Signaled() + 0x41
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) + 0x58
at SourceGit!+0x12ce17a

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions