Simizfo / WSATools

Easy-to-use APK installer and more for Windows Subsystem for Android
https://wsatools.app
728 stars 188 forks source link

Can't use ZipArchive API (?) #20

Open Simizfo opened 2 years ago

Simizfo commented 2 years ago

@Simizfo I downloaded an APK and clicked Open from my browser. This caused the infinite loading screen.

Edit: I attempted to launch WSATools by double clicking on the APK and it crashed again. I looked over the logs again and reinstalled WSATools, this seemed to resolve the issue. I am not sure if this was caused by WSATools, Android Subsystem or another issue. I can open another issue for this if it persist.

Here is a copy of the Event Logs and Diagnostic Reports (Diagnostic Data Viewer app) related to the crash:

Event Logs

Faulting application name: WsaClient.exe, version: 1.8.32836.0, time stamp: 0x61d52393
Faulting module name: ucrtbase.dll, version: 10.0.22000.1, time stamp: 0x00e78ce9
Exception code: 0xc0000409
Fault offset: 0x000000000007dd7e
Faulting process id: 0xf3f0
Faulting application start time: 0x01d80777eff728bd
Faulting application path: C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForAndroid_1.8.32836.0_x64__8wekyb3d8bbwe\WsaClient\WsaClient.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: 058d121f-9bad-4d66-af8b-09493bcacff2
Faulting package full name: MicrosoftCorporationII.WindowsSubsystemForAndroid_1.8.32836.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 
{2593F8B9-4EAF-457C-B68A-50F6B8EA6B54}
 and APPID 
{15C20B67-12E7-4BB6-92BB-7AFF07997402}
 to the user J-DESK\user SID (S-1-5-21-4221264291-1238005891-3829219879-1001) from address LocalHost (Using LRPC) running in the application container MicrosoftWindows.Client.WebExperience_421.20050.505.0_x64__cw5n1h2txyewy SID (Unavailable). This security permission can be modified using the Component Services administrative tool.
The application-specific permission settings do not grant Local Launch permission for the COM Server application with CLSID 
{286DD941-F692-41ED-A20D-8E8AA9181B10}
 and APPID 
Unavailable
 to the user J-DESK\user SID (S-1-5-21-4221264291-1238005891-3829219879-1001) from address LocalHost (Using LRPC) running in the application container MicrosoftCorporationII.WindowsSubsystemForAndroid_1.8.32836.0_x64__8wekyb3d8bbwe SID (S-1-15-2-4120862662-1149765626-4064695116-299589112-4208539117-2961988684-1460418210). This security permission can be modified using the Component Services administrative tool.
Application: WSAToolsCore.exe
CoreCLR Version: 5.0.1221.52207
.NET Version: 5.0.12
Description: The process was terminated due to an unhandled exception.
Exception Info: System.BadImageFormatException: Could not load file or assembly 'System.IO.Compression.ZipFile, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Format of the executable (.exe) or library (.dll) is invalid.
File name: 'System.IO.Compression.ZipFile, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at WSAToolsCore.MainClass.ReadApkInfo()
   at WSAToolsCore.MainClass.Main(String[] args)
Faulting application name: WSAToolsCore.exe, version: 1.0.0.0, time stamp: 0x61732c02
Faulting module name: KERNELBASE.dll, version: 10.0.22000.348, time stamp: 0x065c557a
Exception code: 0xe0434352
Fault offset: 0x000000000004478c
Faulting process id: 0xe4ec
Faulting application start time: 0x01d80779eb9671e3
Faulting application path: C:\Program Files\WindowsApps\54406Simizfo.WSATools_0.1.70.0_x64__f0x555vvp18ze\WSAToolsCore\WSAToolsCore.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 6a74a1aa-508a-46fd-a7e2-ad528fee4ede
Faulting package full name: 54406Simizfo.WSATools_0.1.70.0_x64__f0x555vvp18ze
Faulting package-relative application ID: App
Application: WSAToolsCore.exe
CoreCLR Version: 5.0.1221.52207
.NET Version: 5.0.12
Description: The process was terminated due to an unhandled exception.
Exception Info: System.BadImageFormatException: Could not load file or assembly 'System.IO.Compression.ZipFile, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Format of the executable (.exe) or library (.dll) is invalid.
File name: 'System.IO.Compression.ZipFile, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at WSAToolsCore.MainClass.ReadApkInfo()
   at WSAToolsCore.MainClass.Main(String[] args)

Diagnostic Reports

Description
Faulting Application Path:   C:\Program Files\WindowsApps\54406Simizfo.WSATools_0.1.70.0_x64__f0x555vvp18ze\WSAToolsCore\WSAToolsCore.exe
Creation Time:           1/12/2022 12:02:03 AM
Problem:             Stopped working
Status:              Report sent

Problem signature
Problem Event Name:           MoAppCrash
Package Full Name:            54406Simizfo.WSATools_0.1.70.0_x64__f0x555vvp18ze
Application Name:             praid:App
Application Version:          1.0.0.0
Application Timestamp:        61732c02
Fault Module Name:            KERNELBASE.dll
Fault Module Version:         10.0.22000.348
Fault Module Timestamp:       065c557a
Exception Code:               e0434352
Exception Offset:             000000000004478c

Extra information about the problem
Bucket ID:           17db6fb63ce4da7611de81bed5e14000 (1287609200106618880)
Windows Subsystem for Android(TM)

Description
Faulting Application Path:   C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForAndroid_1.8.32836.0_x64__8wekyb3d8bbwe\WsaClient\WsaClient.exe
Creation Time:           1/11/2022 11:55:00 PM
Problem:             Stopped working
Status:              Report sent

Problem signature
Problem Event Name:           MoBEX
Package Full Name:            MicrosoftCorporationII.WindowsSubsystemForAndroid_1.8.32836.0_x64__8wekyb3d8bbwe
Application Name:             praid:App
Application Version:          1.8.32836.0
Application Timestamp:        61d52393
Fault Module Name:            ucrtbase.dll
Fault Module Version:         10.0.22000.1
Fault Module Timestamp:       00e78ce9
Exception Offset:             000000000007dd7e
Exception Code:               c0000409
Exception Data:               0000000000000007

Extra information about the problem
Bucket ID:           f6ce0dbef9604a589b2eeb8c21e99ef4 (1958761875049651956)

Originally posted by @Ceus in https://github.com/Simizfo/WSATools/issues/15#issuecomment-1010679903

Ceus commented 2 years ago

Much appreciated. I will keep you updated. So far, everything seems to be working appropriately again. It seems that after the initial crash, I was unable to install anything. The easy solution was to reinstall WSATools.