Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[.NET MAUI 9.0 Preview 4] Windows .NET MAUI App throws a "combase.dll: A fail fast exception occurred" upon making a grid visible on Windows #9676

Closed
janne-hmp opened this issue May 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@janne-hmp
Copy link

janne-hmp commented May 26, 2024

Describe the bug

I tried to check how my app translates to Windows (WinUI3) using .NET MAUI 9.0 Preview 4. It works generally fine on Android and iOS, but on Windows / WinUI3 I get "combase.dll: A fail fast exception occurred. Exception handlers will not be invoked and the process will be terminated immediately." upon making a grid visible on one the pages (MenuGrid on GamePage via ShowMenuCanvas function). The call stack is quite useless with external code, so there is no obvious way to start debugging the situation. Does anybody know what might be causing this in WinUI3 in .NET MAUI?

Steps to reproduce the bug

  1. Clone GnollHack repository and build GnollHackM (.NET MAUI 9.0 project)
  2. Start the app on Windows and press Play Game
  3. The app crashes after asking for player name. Debugger reports an exception in external code: "combase.dll: A fail fast exception occurred. Exception handlers will not be invoked and the process will be terminated immediately."

Expected behavior

The app does not throw an exception.

Screenshots

No response

NuGet package version

None

Windows version

Windows 11 (22H2): Build 22621

Additional context

.NET MAUI target framework is net9.0-windows10.0.19041.0

@janne-hmp janne-hmp added the bug Something isn't working label May 26, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label May 26, 2024
@janne-hmp
Copy link
Author

Seemed to be a problem with trying to call a non-exported function from the DLL.

@microsoft-github-policy-service microsoft-github-policy-service bot added needs-triage Issue needs to be triaged by the area owners and removed needs-triage Issue needs to be triaged by the area owners labels May 27, 2024
@codendone codendone removed the needs-triage Issue needs to be triaged by the area owners label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants