Fixed crash on iOS 11+ while loading game#55
Fixed crash on iOS 11+ while loading game#55MCJack123 wants to merge 1 commit intoWilliamLCobb:masterfrom
Conversation
|
I pulled your fix and it doesn't seem to work for iOS 11.4 unc0ver or electra jailbreak (that came out recently). When I try to open a game (like Mario Sunshine), it goes white screen for a few seconds then crashes to home screen. |
|
For some reason the game does run successfully through Xcode though. |
|
This is a known issue, but I have no idea why it happens. It's because the debugger does something to make the app work, and without the debugger it crashes. Not sure how to fix it since debugging will not reproduce the issue. |
|
I don't know if it helps, but I have already experienced this kind of bug in smaller C/C++ projects. |
An illegal instruction was inside the libcore.a/Jit.o binary that caused the app to crash. I replaced it with a NOP instruction, and the emulator now works while debugging. If you are looking to run this on your device and the pull request hasn't been merged, use my fork and it should work fine. Unfortunately, it does not seem to work when untethered, and I can't figure out why. (I can't debug if debugging fixes it!)