maui: MAUI program crash upon startup

Description

'MyVoiceApp3.exe' (CoreCLR: DefaultDomain): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\MyVoiceApp3.dll'. Symbols loaded.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\WinRT.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Collections.Concurrent.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.CompilerServices.Unsafe.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Private.Uri.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.ComponentModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MyVoiceApp3.exe' (CoreCLR: clrhost): Loaded 'D:\vsprojects\MyVoiceApp3\MyVoiceApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Numerics.Vectors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[23180] MyVoiceApp3.exe' has exited with code 2147942405 (0x80070005).

Steps to Reproduce

Run the program

Link to public reproduction project repository

https://github.com/ourweb4/MyVoiceApp3a.git

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

All

Did you find any workaround?

No response

Relevant log output

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 27 (11 by maintainers)

Most upvoted comments

@joeangry I’m not sure it’s clear to me that this is the same root cause. Unless you’re sure of that, can you log a new issue with detailed steps how to reproduce the issue?

Seems my problem was fixed with a simple reinstall and reboot. Thanks anyway.