SEHException (0x80004005) in CultureData.GetLocaleInfoCore
Hi, I'm trying to figure out an issue that someone's encountering when using a desktop (avalonia) app I'm a contributer of.
From what I've managed to gather, they get an exception when the constructor of the XmlSerializer type is called.
This exception simply crashes the entire program, even though there is a try-catch around the main function.
TaskScheduler.UnobservedTaskException
does set observed, but I haven't been able to verify if it was called in the first place (don't think async Tasks used like this sohuld even trigger this).
^Edit: I can verify it isn't being called.
I've searched for the issue and couldn't find any meaningful results.
I've had them try a self contained build based on .net 7, .net 8 and .net 9 with the hope it's a patched bug, but no success.
The stacktrace can be found in the attached images, sorry I can't give a text version 😅
Link to the surrounding source code: https://github.com/TheMulhima/Lumafly/blob/0d296a46ece47ddd35d1640dcbf666ef3a53df08/Lumafly/Services/ModDatabase.cs#L116

4 Replies
99% it's some runtime bug
report it on https://github.com/dotnet/runtime/issues
GitHub
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps. - dotnet/runtime
is it just one person btw? I assume they have some weird culture data that hits some unexpected path
It is just one person, yeah