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

[UTM] App freezes/white screen on launch #32

Closed
unorderedpizza opened this issue Feb 20, 2020 · 94 comments
Closed

[UTM] App freezes/white screen on launch #32

unorderedpizza opened this issue Feb 20, 2020 · 94 comments
Labels
crash Application crashes
Milestone

Comments

@unorderedpizza
Copy link

iOS 13.3 on iPhone XS.

While not jailbroken, the app itself can be opened as long as it is signed, however, the app will crash right after clicking on any of the VMs. Configuration menu works without issues.

Additionally, the app will crash when a fairly large VM is attempting to be launched even in jailbroken mode (in my case, a Windows XP install with a 2 GB hard drive, it was set up on the device itself and was fully functional until I shut down the VM and attempted to re-launch the virtual machine later on); when reopened, the app will stay on the white splash screen after the initial crash and stop functioning, even after removing the app in the switcher/respringing/su && ldrestart (possibly due to lack of cleanup?). This is also reproducible by shutting down the virtual machine with the power button on the top menu UI; the machine shuts down and the app freezes. Only fixable by rebooting and re-jailbreaking.
IMG_0660

@Tizioincognit0
Copy link

I have the same issue on iOS 12.2 on iPhone X.

@tylerdak
Copy link

Similar issue here, iOS 13.3, iPhone XS

@obbcth
Copy link
Contributor

obbcth commented Feb 20, 2020

Same issue on iOS 13.3, iPad Air 3, Jailbroken.

@CoocooFroggy
Copy link

Same issue, iOS 13.3 iPhone XR, jailbroken.

@osy osy changed the title [UTM] Virtual machines cease to open when not jailbroken [UTM] App freezes/white screen on launch Feb 20, 2020
@osy
Copy link
Contributor

osy commented Feb 20, 2020

This is a known issue and is due to an iOS bug. If an app dies (exception, killed, etc) with ptrace active, then it will lock up the kernel (I think).

@osy osy pinned this issue Feb 20, 2020
@obbcth
Copy link
Contributor

obbcth commented Feb 20, 2020

This is a known issue and is due to an iOS bug. If an app dies (exception, killed, etc) with ptrace active, then it will lock up the kernel (I think).

Same as ppsspp jit debug ver?
Then there should be a app close button to halt ptrace, I think.

@seriousm4x
Copy link

Same issue on iPad Pro 3 12,9" on iOS 13.3 jailbroken

@realmayus
Copy link

Same issue on iPad Pro 12.9“ 2018 on iOS 13.3.1 non-jailbroken

@The-SamminAter
Copy link

The-SamminAter commented Feb 21, 2020

Same issue, iOS 13.2.3 on an iPhone XS, jailbroken

@saagarjha
Copy link
Contributor

I believe there are ways around this. I’ll make a PR if I can figure this out.

@wbinder1
Copy link

Same with iPad Pro 11” on iPadOS 13.3

@saagarjha
Copy link
Contributor

Stuck it in #38, if anyone wants to try it out.

@osy
Copy link
Contributor

osy commented Feb 22, 2020

Thanks, I will test soon!

@a3lharbi
Copy link

It will work again if u installing it on custom bundles, I don’t know why this bug happend

@The-SamminAter
Copy link

The-SamminAter commented Feb 23, 2020

It will work again if u installing it on custom bundles, I don’t know why this bug happend

Would you care to clarify what this means?

@a3lharbi
Copy link

It will work again if u installing it on custom bundles, I don’t know why this bug happend

Would you care to clarify what this means?

I meant If you installed the app or sign it at different bundle identifier, it will work normal, But the only problem it crashes If you turn any machines

@The-SamminAter
Copy link

The-SamminAter commented Feb 23, 2020

It will work again if u installing it on custom bundles, I don’t know why this bug happend

Would you care to clarify what this means?

I meant If you installed the app or sign it at different bundle identifier, it will work normal, But the only problem it crashes If you turn any machines

I see, thank you for the clarification.
How interesting, I’ll check it out. Do you think the new crash is related to the original one? I do not have any knowledge about this.

Edit: I just checked, the app still crashes immediately when it has a different bundle identifier.

@pourhadi
Copy link

I'm on iOS 13.2, iPhone 11 -- the hardware restart (volume + power button) isn't even working. Not sure how to get this white screen to go away.

@The-SamminAter
Copy link

I'm on iOS 13.2, iPhone 11 -- the hardware restart (volume + power button) isn't even working. Not sure how to get this white screen to go away.

Your problem may be that the hardware restart for the iPhone 11 is actually (click and then release) volume up, then (click and release) volume down, and then (hold down) power button.

@pourhadi
Copy link

Oh well sure, that may be my problem.

That is my problem.

Definitely my problem.

This page is deceiving.

Thank you. 😅

@saagarjha
Copy link
Contributor

That’s how you normally restart your device. I’m not sure if Apple has a support article detailing how to forcefully power off your device, as it’s presumably not something users normally need to do.

@The-SamminAter
Copy link

The-SamminAter commented Feb 23, 2020

No worries, that’s the apple page for restarting, not force-restarting. The page that you were looking for is here: https://support.apple.com/en-ca/guide/iphone/iph8903c3ee6/ios

@a3lharbi
Copy link

It will work again if u installing it on custom bundles, I don’t know why this bug happend

Would you care to clarify what this means?

I meant If you installed the app or sign it at different bundle identifier, it will work normal, But the only problem it crashes If you turn any machines

I see, thank you for the clarification.
How interesting, I’ll check it out. Do you think the new crash is related to the original one? I do not have any knowledge about this.

It might be

It will work again if u installing it on custom bundles, I don’t know why this bug happend

Would you care to clarify what this means?

I meant If you installed the app or sign it at different bundle identifier, it will work normal, But the only problem it crashes If you turn any machines

I see, thank you for the clarification.
How interesting, I’ll check it out. Do you think the new crash is related to the original one? I do not have any knowledge about this.

Edit: I just checked, the app still crashes immediately when it has a different bundle identifier.

Yes as I mentioned before if you installed without changing The bundle it will be white Screen , after installed At different Bundle the it work but crashes If you try to run any virtual machine

@The-SamminAter
Copy link

Yes as I mentioned before if you installed without changing The bundle it will be white Screen , after installed At different Bundle the it work but crashes If you try to run any virtual machine

I see, I’ll try doing that and get back to you.

@saagarjha
Copy link
Contributor

It’s probably crashing at that point because that’s when the dylibs get loaded, and they’re probably not signed correctly.

@The-SamminAter
Copy link

Yes as I mentioned before if you installed without changing The bundle it will be white Screen , after installed At different Bundle the it work but crashes If you try to run any virtual machine

I see, I’ll try doing that and get back to you.

I seem to be unable to do that right now on my phone, would you mind uploading your custom .ipa to somewhere and linking it?

@saagarjha
Copy link
Contributor

UTM works correctly on unc0ver.

@The-SamminAter
Copy link

@osy86 this issue still occurs on v0.2 fakesigned, even after restarting and ldrestart.

@The-SamminAter
Copy link

UTM works correctly on unc0ver.

Ok, so it’s just a general issue then.

@Slapshot300
Copy link

I've never commented on a GitHub issue before so please excuse any informalities, but i'm having this problem too. im running the fakesigned v0.2 build on unc0ver for iOS 13.3. the log suggests that it's a problem loading an outdated dylib but this is just me skimming through it, i could be wrong. i'll attach the crash log that i found.

UTM-2020-02-25-163337.txt

i hope that this is somewhat helpful

@osy
Copy link
Contributor

osy commented Feb 25, 2020

Do you have libgpg-error installed by some jailbreak package?

@Slapshot300
Copy link

By what i see no i don't, and I don't know if this is of any relevant help but crash reporter says that no tweaks were loaded when it crashed (i'll include a screenshot of what crash reporter says) i also don't know the reliability of crash reporter on ios 13.3 so take it with a grain of salt.

20200225_215904000_iOS

@osy
Copy link
Contributor

osy commented Feb 25, 2020

I don't know much about jailbroken systems, but you definitely have libgpg installed. But I can't tell you how to find out what installed it. Don't worry though, I think I have a fix, come back in an hour and I'll give you an ipa to test.

@The-SamminAter
Copy link

The-SamminAter commented Feb 25, 2020

@osy86 libgpg (aka GnuPG Errors) is installed by unc0ver, and seems to be a requirement for all apt packages. It comes from apt.bingner.com, which I think (but am not sure) is unc0ver's included repo.

Link to deb: apt.bingner.com/debs/1443.00/libgpg-error_1.32-1_iphoneos-arm.deb

@osy
Copy link
Contributor

osy commented Feb 25, 2020

@Slapshot300 and any others who are getting crash ON APP OPEN (not launching VM)

  1. Download https://github.com/utmapp/UTM/suites/481649046/artifacts/2233950
  2. Make sure MacBrew is installed and brew install ldid
  3. Clone UTM and run ./scripts/resign.sh UTM.xcarchive with the .xcarchive downloaded in step 1. This should generate a fakesigned IPA.

@The-SamminAter
Copy link

@osy86 will a release with this done to it be available? Also, just a note, Homebrew is referred to as either Homebrew or Brew.

@osy
Copy link
Contributor

osy commented Feb 25, 2020

There won't be a release until next week. It will have this fix.

@The-SamminAter
Copy link

There won't be a release until next week. It will have this fix.

Ok, thanks.

@a3lharbi
Copy link

@osy86
@saagarjha

I have mentioned Before that the app on my iPhone X checkra1n has never facing any issue it will killed properly .

@saagarjha

See > https://imgur.com/sHZhbZV

So I installed Unc0ver On the same device and since the new version of Unc0ver support old devices

Tried to kill the app to see if it will have the bug . And yess it was white screen for the first time

So the problem releated only with unc0ver ! so what u may think which prevent to kill the app properly ?

@Slapshot300
Copy link

@osy86 sorry for the late reply, but your fix works perfectly by what i've tested. The app is able to startup and load into a virtual machine without any crashes!

@a3lharbi
Copy link

@osy86 sorry for the late reply, but your fix works perfectly by what i've tested. The app is able to startup and load into a virtual machine without any crashes!

Please could confirm by this two will u facing any problem:

(1) to power off the vm
(2) kill the app while u are in vm

@ap46281
Copy link

ap46281 commented Jun 9, 2022

Happening to me on iOS 15.4.1 iPad Pro M1. This did not start happening until I tried JITStreamer if that helps. Deleting JITStreamer, AltStore altogether and reinstalling the app still results in white screen. Restarts not helping either.

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

No branches or pull requests