microsoft / WSA

Developer-related issues and feature requests for Windows Subsystem for Android
MIT License
1.52k stars 831 forks source link

The game crashes #368

Open Vixb1122 opened 1 year ago

Vixb1122 commented 1 year ago

Steps to reproduce

  1. Install the game EpicSeven.
  2. Download the update package.
  3. Close the game and re-enter.

✔️ Expected Behavior

The game should not crash.

❌ Actual Behavior

Crash with follow log

open_verbose_path:56: Could not open '/dev/goldfish_pipe_dprctd': No such file or directory
open_verbose:128: both vsock and goldfish_pipe paths failed

Other Software

none

Please specify the version of Windows Subsystem for Android

2306.40000.4.0

nieubank commented 1 year ago

This log is just too verbose and is not indicating a problem since WSA is not using the goldfish transport.

If you have a tombstone or additional AndroidRuntime stacks that would help point to the issue.

Vixb1122 commented 1 year ago

I misread the crash log, it really has nothing to do with goldfish.I'm not sure if it's a problem with the game or with WSA, but this game runs fine on Bluestacks.

W/AccessibilityManagerService(  289):  wait for adding window timeout: 25
W/AccessibilityManagerService(  289):  wait for adding window timeout: 26
W/AudioTrack( 4963): Use of stream types is deprecated for operations other than volume control
W/AudioTrack( 4963): See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
E/com.zlongame.sdk.mbi( 4963): [2:PropertiesUtil.java:26]:event_os is null
E/com.zlongame.sdk.mbi( 4963): [2:SystemUtils.java:751]: check deviceID :.....
W/system_server(  289): Failed to determine oat file name for dex location /data/app/~~6xLfsJd4U-0uvuH7fL_VUA==/com.zlongame.cn.epicseven-IZ56jFZJwZA8zRNE7IwfoQ==/base.apk: Dalvik cache directory does not exist
W/ziparchive(  289): Unable to open '/data/app/~~6xLfsJd4U-0uvuH7fL_VUA==/com.zlongame.cn.epicseven-IZ56jFZJwZA8zRNE7IwfoQ==/base.dm': No such file or directory
E/TaskPersister(  289): File error accessing recents directory (directory doesn't exist?).
W/InputManager-JNI(  289): Input channel object 'bd10370 Splash Screen com.zlongame.cn.epicseven (client)' was disposed without first being removed with the input manager!
E/com.zlongame.sdk.mbi( 4963): [2:SystemUtils.java:751]: check deviceID :.....
E/TaskPersister(  289): File error accessing recents directory (directory doesn't exist?).
W/libc    ( 4963): malloc(9223372036854775807) failed: returning null pointer
--------- beginning of crash
F/libc    ( 4963): FORTIFY: read: count 18446744073709551615 > SSIZE_MAX
W/InputManager-JNI(  289): Input channel object '8202ce com.zlongame.cn.epicseven/kr.supercreative.epic7.AppActivity (client)' was disposed without first being removed with the input manager!
W/InputManager-JNI(  289): Input channel object '484d8c PopupWindow:ff0f439 (client)' was disposed without first being removed with the input manager!
E/BpTransactionCompletedListener(  128): Failed to transact (-32)
W/WindowManager(  289): Cannot find window which accessibility connection is added to
W/WindowManager(  289): Failed looking up window session=Session{435f1c5 4963:u0a10072} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:6050 com.android.server.wm.WindowState$DeathRecipient.binderDied:3119 android.os.IBinder$DeathRecipient.binderDied:317
W/WindowManager(  289): Cannot find window which accessibility connection is added to
W/ActivityTaskManager(  289): Force removing ActivityRecord{f793b04 u0 com.zlongame.cn.epicseven/kr.supercreative.epic7.AppActivity} t22}: app died, no saved state
W/ActivityManager(  289): setHasOverlayUi called on unknown pid: 4963
E/BpTransactionCompletedListener(  128): Failed to transact (-32)
E/TaskPersister(  289): File error accessing recents directory (directory doesn't exist?).
W/System  (  289): A resource failed to call release.
W/libprocessgroup(  289): Failed to open /dev/stune/top-app/cgroup.procs: No such file or directory
W/SurfaceFlinger(  128): couldn't log to binary event log: overflow.
E/TaskPersister(  289): File error accessing recents directory (directory doesn't exist?).
nieubank commented 1 year ago

Thanks for the additional details, that's very helpful. We'll report back after investigating the issue.

Vixb1122 commented 1 year ago

@nieubank Additional information: After I remove the extended screen, the game can load normally. I hope this information is helpful in resolving the issue."