-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Dear all,
when we enabled ICU for our applications, we had a problem with our CI (testhost.exe process was crashed). After deep investigation, we have found that it is not related to our software and problem could be reproduced with simple application.
Steps to reproduce:
add to project file
<ItemGroup>
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9" />
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2.0.9" />
</ItemGroup>
and add to execution code
var locale = CultureInfo.InvariantCulture;
locale.CompareInfo.Compare("Table1", "NewDataSet1", CompareOptions.IgnoreCase | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth);
We are able to reproduce it not on all Windows systems. Even more for some machine it works before without issue and after some updates were installed it crashed now.
We have to created 2 simple application: WPF and Console, and it is reproducible on both of them.
Please find source code here:
- Console app source code: ConsoleStringIssue.zip
- WPF app source code WpfApp2.zip
- Console app crash dump: ConsoleStringIssue.exe_221118_140109.zip
- WPF app crash dump: WpfApp2.exe_221118_144018.dmp.zip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
