Skip to content

Win32 exception in WinUIEdit.dll when trying to create list with active Hebrew input method #10542

@tipa

Description

@tipa

Describe the bug

App crashes when using a Hebrew input method in Windows and trying to create a right-aligned list in a RichEditBox using Microsoft.UI.Text.ITextParagraphFormat

Steps to reproduce the bug

Select Hebrew keyboard input:

Image

<RichEditBox x:Name="textBox"/>

var paragraphFormat = textBox.Document.Selection.ParagraphFormat;
paragraphFormat.Alignment = ParagraphAlignment.Right;
paragraphFormat.ListType = MarkerType.Bullet;

Example project: richeditbox_crash.zip

Expected behavior

No crash

Screenshots

Exception is trhown in WinUIEdit.dll

The program '[44220] richeditbox_crash.exe' has exited with code 3221225477 (0xc0000005) 'Access violation'.

Image

NuGet package version

WinUI 3 - Windows App SDK 1.7.1: 1.7.250401001

Windows version

Windows 11 (24H2): Build 26100

Additional context

I think the same crash also happens on UWP (which is what I am currently still using) but I wasn't able yet to narrow it down to a minimal example. Is there any hope that this kind of crash is also fixed for UWP? If so, I can try to set up a repro for that as well.

Metadata

Metadata

Assignees

Labels

Crashwhenever user reports a crash or app freezearea-TextBoxTextBox, RichEditBoxbugSomething isn't workingneeds-triageIssue needs to be triaged by the area owners

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions