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

Windows UWP release execution errors #163

Open
asata opened this issue Feb 2, 2024 · 2 comments
Open

Windows UWP release execution errors #163

asata opened this issue Feb 2, 2024 · 2 comments

Comments

@asata
Copy link

asata commented Feb 2, 2024

Added Whisper.net to the Windows UWP project.
When in debug mode, it runs fine.
When in release mode, it fails to run with the error below.
image

'App1.exe' (Win32): Loaded 'C:\Users\asata-win\Project\App1\App1\bin\x64\Release\AppX\App1.exe'. Module was built without symbols.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe\mrt100_app.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.33321.0_x64__8wekyb3d8bbwe\vcruntime140_app.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\ncrypt.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Users\asata-win\Project\App1\App1\bin\x64\Release\AppX\clrcompression.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'App1.exe' (Win32): Loaded 'C:\Windows\System32\normaliz.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
The thread 0x557c has exited with code 3221225781 (0xc0000135).
The thread 0x45f0 has exited with code 3221225781 (0xc0000135).
The thread 0x6f44 has exited with code 3221225781 (0xc0000135).
The thread 0x7728 has exited with code 3221225781 (0xc0000135).
The program '[43996] App1.exe' has exited with code 3221225781 (0xc0000135) 'A dependent dll was not found'.
Activation of the Windows Store app 'b02c3742-d2a4-4f1f-bf7b-a564089df6b2_98md129wqmfb4!App' failed with error 'The target process aborted before activation completed. More information may be available in the Debug pane of the Output window (Debug->Windows->Output)'.
Activation of the Windows Store app 'b02c3742-d2a4-4f1f-bf7b-a564089df6b2_98md129wqmfb4!App' failed with error '앱이 시작되지 않았습니다'.

I installed Whisper.net with nuget and it was working fine before the installation.

Is there a solution to this problem?

@asata asata changed the title About Windows UWP release execution errors Windows UWP release execution errors Feb 2, 2024
@sandrohanea
Copy link
Owner

Hello @asata ,

Probably the native dll is not copied by Windows UWP release build. if you navigate to bin/release, can you find the native dlls there?

@asata
Copy link
Author

asata commented Feb 5, 2024

Thank you for your response. @sandrohanea

Yes, there is a Whisper.net.dll inside the bin/release folder.
There is also whisper.dll in the runtimes folder.

The difference with bin/debug is that there is no Whisper.net.dll inside the bin/release/AppX folder.
If you add the Whisper.net.dll file to that folder and run it, you get the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants