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

[Bug] On ARM64 result is a silent crash loading the subsystem #673

Open
1 task done
wavelov3r opened this issue Oct 6, 2023 · 41 comments · Fixed by #686
Open
1 task done

[Bug] On ARM64 result is a silent crash loading the subsystem #673

wavelov3r opened this issue Oct 6, 2023 · 41 comments · Fixed by #686
Assignees
Labels
bug Something isn't working

Comments

@wavelov3r
Copy link

Steps to reproduce

  1. Install the ARM version on a Microsoft Surface pro X SQ1
  2. Start subsystem
  3. Launch the subsystem ( Open "Files" or install an app)

Expected behaviour

Opens the Android Files system, or install the app on the subsystem.

Actual behaviour

The window "launching subsystem..." appears and hangs, meanwhile the microphone is activated every 10 seconds approx.
Silently the "launching window" crash

Windows version

W11 v 22H2 Build 22621.2361

Build Issue number

No response

Version requirement

  • I am using latest commit of WSA-Script commit
@wavelov3r wavelov3r added the bug Something isn't working label Oct 6, 2023
@github-actions
Copy link

github-actions bot commented Oct 6, 2023

Hello .
Your custom WSA build failed to build. Don't worry! Our admin will take a look soon.

https://github.com/YT-Advanced/WSA-Script/actions/runs/6434320371


@wavelov3r wavelov3r changed the title [Bug] ARM64 Install result in silent crash [Bug] On ARM64 result is a silent crash loading the subsystem Oct 6, 2023
@YT-Advanced
Copy link
Owner

First, what version have you used
Second, after click to open Files and the dialog appear, you should click again (Sometime my WSA have this stupid problem too)

@wavelov3r
Copy link
Author

wavelov3r commented Oct 7, 2023

I've used this one:
WSA_2308.40000.3.0_arm64_Release-Nightly-MindTheGapps-13.0-as-Pixel-5-RemovedAmazon.7z

Extracted with 7z.
When i click on "Files" is shown another popup, who loads the subsystem. At this point the microphone is opened every 6-7 seconds, i see the icon switching on and off on the windows menu bar (control panel say it's used by WSA), and after some minute the popup crash and closes, without errors. I can click another time on Files, and it does the same.

@YT-Advanced
Copy link
Owner

I've used this one:
WSA_2308.40000.3.0_arm64_Release-Nightly-MindTheGapps-13.0-as-Pixel-5-RemovedAmazon.7z

Extracted with 7z.
When i click on "Files" is shown another popup, who loads the subsystem. At this point the microphone is opened every 6-7 seconds, i see the icon switching on and off on the windows menu bar (control panel say it's used by WSA), and after some minute the popup crash and closes, without errors. I can click another time on Files, and it does the same.

Can you try v2309 (Insider Build)

@wavelov3r
Copy link
Author

wavelov3r commented Oct 7, 2023

It does not work. To be honest doesn't work with other authors releases too....
Changing the product.vhdx image it starts, by with no apps (no traces of the Google play app).
I've tried to build a custom WSA injecting myself the Google apps, but the vhdx image stops me.

It hangs here, notice the mic icon (who appears and disappear)

image

@YT-Advanced
Copy link
Owner

Hmm, strange. You should check original WSA (unmodified) to make sure that it is not our bug
https://github.com/bubbles-wow/WSA-Archive/releases/tag/2309.40000.5.0

@wavelov3r
Copy link
Author

WSA_2308.40000.1.0_arm64_Release-Nightly-MindTheGapps-13.0-as-Pixel-5-RemovedAmazon.7z

this one is working right now

@wavelov3r
Copy link
Author

wavelov3r commented Oct 8, 2023

Hmm, strange. You should check original WSA (unmodified) to make sure that it is not our bug https://github.com/bubbles-wow/WSA-Archive/releases/tag/2309.40000.5.0

image

i have reinstalled the insider version (Same build number with gapps), and it hangs with the microphone issue.
nave noticed also that the Language is English when it crash.
the screenshot is the original WSA linked.

@MustardChef
Copy link

@wavelov3r Report this issue to Microsoft via the feedback hub.

@wavelov3r
Copy link
Author

wavelov3r commented Oct 8, 2023

@YT-Advanced
Copy link
Owner

@s1204IT Maybe our recent makepri caused the issues ?

@s1204IT
Copy link
Collaborator

s1204IT commented Oct 9, 2023

@s1204IT Maybe our recent makepri caused the issues ?

It works in languages ​​other than English after I made the changes (checked in Japanese)

@wavelov3r
Copy link
Author

wavelov3r commented Oct 9, 2023

just to make a small recap:
With releases > 2308.40000.1.0.arm64, it hangs at start, and silent crashes:

  • When it happens, the UI interface is in english
  • While hanging, the microphone is activated in loop every 5 seconds
  • Seems that it hangs when trying to download Google updates from internet (3 "starting windows Subsystem" popup Windows hangs)

fyi since yesterday i have hard reset the device 2 times.

@YT-Advanced
Copy link
Owner

Hmm, so v2307 worked, right ?

@YT-Advanced
Copy link
Owner

@s1204IT Wait, seem like we used makepri from x64 to build arm64 too

@wavelov3r
Copy link
Author

Hmm, so v2307 worked, right ?

honestly i nave not tried it, i will do if necessary (so my recap is wrong 🙃)

@s1204IT
Copy link
Collaborator

s1204IT commented Oct 9, 2023

@s1204IT Wait, seem like we used makepri from x64 to build arm64 too

Okay, I'll fix it later.

@YT-Advanced
Copy link
Owner

Hmm, so v2307 worked, right ?

honestly i nave not tried it, i will do if necessary (so my recap is wrong 🙃)

We will fix it and notify you soon. Thanks for your support !

@wavelov3r
Copy link
Author

Hmm, so v2307 worked, right ?

honestly i nave not tried it, i will do if necessary (so my recap is wrong 🙃)

We will fix it and notify you soon. Thanks for your support !

THANK YOU ALL instead! ❤️

@YT-Advanced
Copy link
Owner

@wavelov3r Also what is your app language in WSA v2307 ? Thanks

@s1204IT s1204IT closed this as completed in b612a2e Oct 9, 2023
@wavelov3r
Copy link
Author

wavelov3r commented Oct 9, 2023

@wavelov3r Also what is your app language in WSA v2307 ? Thanks

It works, is in italian

@s1204IT s1204IT reopened this Oct 9, 2023
@s1204IT s1204IT closed this as completed in ca94d1f Oct 9, 2023
Repository owner deleted a comment from github-actions bot Oct 9, 2023
@s1204IT
Copy link
Collaborator

s1204IT commented Oct 9, 2023

It seems that it is not possible to merge arm64 PRIs on Actions.
Therefore, only arm64 needs to be merged separately during installation.

@s1204IT
Copy link
Collaborator

s1204IT commented Oct 10, 2023

@wavelov3r
Copy link
Author

wavelov3r commented Oct 10, 2023

Sorry for late reply, was at work..
Unfortunately it doesnt work, still english

image

Edit: Tried to change Os language, reinstall and launch. Same behaviour.
Seems something goes wrong during the installation/packing who involve language also

@s1204IT s1204IT reopened this Oct 10, 2023
Repository owner deleted a comment from github-actions bot Oct 10, 2023
@YT-Advanced
Copy link
Owner

Sorry for late reply, was at work..
Unfortunately it doesnt work, still english

image

Edit: Tried to change Os language, reinstall and launch. Same behaviour.
Seems something goes wrong during the installation/packing who involve language also

Can u clean install the app. You can check unistallation section in our Readme

@wavelov3r
Copy link
Author

Sorry for late reply, was at work..
Unfortunately it doesnt work, still english
image
Edit: Tried to change Os language, reinstall and launch. Same behaviour.
Seems something goes wrong during the installation/packing who involve language also

Can u clean install the app. You can check unistallation section in our Readme

...no way

@wavelov3r
Copy link
Author

wavelov3r commented Oct 12, 2023

image

if i overwrite an installation, it does not happen. already tried to install newer versions over the working one (they shows up in italian, but still does not work).
I'm going to make the fourth hard reset 🫥

@s1204IT
Copy link
Collaborator

s1204IT commented Oct 12, 2023

image

if i overwrite an installation, it does not happen. already tried to install newer versions over the working one (they shows up in italian, but still does not work). I'm going to make the fourth hard reset 🫥

Wait, that output itself is strange.
Because at least you've already removed the code related to that output.

https://github.com/YT-Advanced/WSA-Script/blob/d0251c3/installer/arm64/MakePri.ps1

@wavelov3r
Copy link
Author

wavelov3r commented Oct 14, 2023

Sorry for late reply. I've tried also lauching makepri.ps1 on an installed version, and on a clean system. the issue persist (crash), also when no errors are shown in the installation process

@YT-Advanced
Copy link
Owner

Sorry for late reply. I've tried also lauching makepri.ps1 on an installed version, and on a clean system. the issue persist (crash), also when no errors are shown in the installation process

I see. It is quite strange because we have reverted all changes :(

@s1204IT
Copy link
Collaborator

s1204IT commented Oct 15, 2023

We'll investigate this issue a little further, so please help us.

@YT-Advanced
Copy link
Owner

We'll investigate this issue a little further, so please help us.

Check notifications, I have send you a review

@YT-Advanced
Copy link
Owner

@wavelov3r Hello, I'm back

  • First, uninstall your current WSA
  • Then download both latest version and v2307 from this repos
  • Extract both folder
  • Copy makepri.exe file in arm64 folder from v2307 to latest WSA folder
  • Install
    Thanks !

@wavelov3r
Copy link
Author

wavelov3r commented Oct 15, 2023

Used makepri.exe from v2308.40000.1.0 (last working) to v2308.40000.4.0 on a fresh Os. (no makepri.exe in v 2307.4000.6)
It gives an error
image

Bur now It's in italian. i have tried to overwrite the makepri.ps1 file also, with no success.
if i install it 2 times (without uninstalling, but killing wsa process and skipping the finish function the first install), it gives no errors the second time, but fails to start.

When it works, it download something (a popup notification from WSA appears, who tells finished update), and then is shown google play and main settings screen. Does it hangs retrieving the update?
PS: where is WSA_2308.40000.1.0_arm64_Release-Nightly-MindTheGapps-13.0-as-Pixel-5-RemovedAmazon.7z ?

@wavelov3r
Copy link
Author

wavelov3r commented Oct 15, 2023

..another thing i've seen, my userdata file is always named userdata2.vhxd (don't tell me why).... Also with working install.

@YT-Advanced
Copy link
Owner

So is overwrite the file worked

@wavelov3r
Copy link
Author

Nope.

@YT-Advanced
Copy link
Owner

Hmm, now I don't have any idea

@wavelov3r
Copy link
Author

wavelov3r commented Oct 16, 2023

The mustardchef releases also doesn't work. They behave the same.
When i update the working (old) version, overwriting with new files, google play popups, but hangs.

Do you know other wsa builds?

@s1204IT
Copy link
Collaborator

s1204IT commented Oct 24, 2023

@wavelov3r
Copy link
Author

Sorry for late reply. I have uninstalled previous version and installed this one. The app is in local language, but it still hangs at start. This time the microphone is not activated avery Xseconds.

@s1204IT s1204IT self-assigned this Nov 25, 2023
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

Successfully merging a pull request may close this issue.

4 participants