Bug Issue: iOS 15 Crash on launch


Pages: 1

soereide

  • Subscriber - Stencyl Studio
  • *
August 09, 2021, 03:54:09 am
Testing the new iOS 15 public beta 4, as some users were reporting crashes.
The game shows the splash screen and then crashes.

Running Stencyl b10801. iPhone 12 Pro (iOS 15 b4). MacOS 11.5.


New attachment added by soereide - August 09, 2021, 03:55:09 am


Justin

  • Master Stencyler
  • *
August 09, 2021, 03:52:57 pm
I download Xcode 13 beta 4 to test this on a simulator, but it worked fine for me. Could I get you to run some more tests on your side?

In your Stencyl install, open ext-tools/haxelib/lime.component in a text editor, and set the version to this:

Code: [Select]
version: 772bd74618179d47edf2d611418b536e2fd1e179

Then open Stencyl again, run your game, and post your logs.

Later on, if you want to revert to the original version of lime for that particular Stencyl install, you can set the version back to this.
Code: [Select]
version: b1e0563538533120629eb6b4a5e22c826044f76e


Justin

  • Master Stencyler
  • *
August 09, 2021, 03:54:57 pm
And this is just as a note to myself -- here's the error from the logs.

Code: [Select]
2021-08-09 12:36:17,993 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy] Process 1233 stopped
2021-08-09 12:36:17,993 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy] * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
2021-08-09 12:36:17,994 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #0: 0x00000001064cb094 Psychofunk`Dynamic::Dynamic(this=0x000000016b63dbe8, inRHS=0x0000000000000008) at Dynamic.h:36:48
2021-08-09 12:36:17,994 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]    33     Dynamic(hx::Object *inObj) : super(inObj) { }
2021-08-09 12:36:17,994 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]    34     Dynamic(const String &inString);
2021-08-09 12:36:17,994 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]    35     Dynamic(const null &inNull) : super(0) { }
2021-08-09 12:36:17,994 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy] -> 36     Dynamic(const Dynamic &inRHS) : super(inRHS.mPtr) { }
2021-08-09 12:36:17,994 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]                                                     ^
2021-08-09 12:36:17,994 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]    37     explicit Dynamic(const HX_CHAR *inStr);
2021-08-09 12:36:17,994 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]    38     Dynamic(const cpp::Variant &inRHS) : super(inRHS.asDynamic()) { }
2021-08-09 12:36:17,994 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]    39     template<typename T>
2021-08-09 12:36:17,994 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy] Target 0: (Psychofunk) stopped.
2021-08-09 12:36:18,054 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy] * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
2021-08-09 12:36:18,055 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]   * frame #0: 0x00000001064cb094 Psychofunk`Dynamic::Dynamic(this=0x000000016b63dbe8, inRHS=0x0000000000000008) at Dynamic.h:36:48
2021-08-09 12:36:18,055 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #1: 0x00000001064cafa0 Psychofunk`Dynamic::Dynamic(this=0x000000016b63dbe8, inRHS=0x0000000000000008) at Dynamic.h:36:54
2021-08-09 12:36:18,055 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #2: 0x0000000106495374 Psychofunk`Array_obj<Dynamic>::__get(this=0x0000000111bf7958, inIndex=1) const at Array.h:544:14
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #3: 0x0000000105d5976c Psychofunk`lime::app::Promise_obj::complete(this=0x0000000111bf6a5c, data=Dynamic @ 0x000000016b63dc78) at Promise.cpp:51:46
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #4: 0x0000000105a0e804 Psychofunk`lime::net::_HTTPRequest_Bytes_obj::load(this=0x0000000111bf774c, bytes=haxe::io::Bytes @ 0x000000016b63dd00)::_hx_Closure_0::_hx_run(hx::ObjectPtr<haxe::io::Bytes_obj>) at _HTTPRequest_Bytes.cpp:70:25
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #5: 0x0000000105a0e638 Psychofunk`lime::net::_HTTPRequest_Bytes_obj::load(this=0x0000000111bf774c, inArg0=0x000000016b63ddf0)::_hx_Closure_0::__run(Dynamic const&) at _HTTPRequest_Bytes.cpp:72:15
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #6: 0x0000000106498360 Psychofunk`Dynamic::operator(this=0x000000016b63ddf8, inArg0=0x000000016b63ddf0)(Dynamic const&) at Dynamic.h:305:84
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #7: 0x00000001062f9cb8 Psychofunk`lime::app::Promise_haxe_io_Bytes_obj::complete(this=0x0000000111bf6ab4, data=haxe::io::Bytes @ 0x000000016b63df80) at Promise_haxe_io_Bytes.cpp:59:19
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #8: 0x0000000105c8f4e0 Psychofunk`lime::_internal::backend::native::NativeHTTPRequest_obj::localThreadPool_onComplete(state=Dynamic @ 0x000000016b63e018) at NativeHTTPRequest.cpp:536:24
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #9: 0x0000000105c8f740 Psychofunk`lime::_internal::backend::native::__NativeHTTPRequest_objlocalThreadPool_onComplete(inArg0=0x000000016b63e258) at NativeHTTPRequest.cpp:547:1
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #10: 0x0000000106463688 Psychofunk`hx::CStaticFunction1::__run(this=0x0000000111bf7188, inArg0=0x000000016b63e258) at DynamicImpl.h:188:14
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #11: 0x0000000106498360 Psychofunk`Dynamic::operator(this=0x000000016b63e100, inArg0=0x000000016b63e258)(Dynamic const&) at Dynamic.h:305:84
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #12: 0x00000001051075cc Psychofunk`lime::app::_Event_Dynamic_Void_obj::dispatch(this=0x0000000111bf6eb8, a=Dynamic @ 0x000000016b63e258) at _Event_Dynamic_Void.cpp:135:16
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #13: 0x0000000106147dfc Psychofunk`lime::_hx_system::ThreadPool_obj::_hx___update(this=0x0000000111bf6b0c, deltaTime=36) at ThreadPool.cpp:227:38
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #14: 0x0000000106148180 Psychofunk`lime::_hx_system::__ThreadPool_obj_hx___update(inObj=0x0000000111bf6b0c, inArg0=0x000000016b63e410) at ThreadPool.cpp:270:1
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #15: 0x00000001064633c4 Psychofunk`hx::CMemberFunction1::__run(this=0x0000000111bf7620, inArg0=0x000000016b63e410) at DynamicImpl.h:151:14
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #16: 0x0000000106498360 Psychofunk`Dynamic::operator(this=0x000000016b63e418, inArg0=0x000000016b63e410)(Dynamic const&) at Dynamic.h:305:84
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #17: 0x0000000104f53860 Psychofunk`lime::app::_Event_Int_Void_obj::dispatch(this=0x0000000111bcd474, a=36) at _Event_Int_Void.cpp:135:16
2021-08-09 12:36:18,056 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #18: 0x0000000106243d1c Psychofunk`lime::_internal::backend::native::NativeApplication_obj::handleApplicationEvent(this=0x0000000111bcd614) at NativeApplication.cpp:294:40
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #19: 0x00000001062441f8 Psychofunk`lime::_internal::backend::native::__NativeApplication_objhandleApplicationEvent(inObj=0x0000000111bcd614) at NativeApplication.cpp:299:1
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #20: 0x0000000106462d44 Psychofunk`hx::CMemberFunction0::__run(this=0x0000000111bf7c34) at DynamicImpl.h:54:14
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #21: 0x000000010644258c Psychofunk`::val_call0(arg1=0x0000000111bf7c34) at CFFI.cpp:685:17
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #22: 0x00000001047c8160 Psychofunk`lime::ValuePointer::Call() + 56
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #23: 0x000000010481ae58 Psychofunk`lime::SDLApplication::HandleEvent(SDL_Event*) + 608
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #24: 0x000000010481c414 Psychofunk`lime::SDLApplication::Update() + 112
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #25: 0x000000018806e5a4 QuartzCore`CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 768
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #26: 0x00000001881c3cb8 QuartzCore`CA::Display::DisplayLink::dispatch_deferred_display_links() + 356
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #27: 0x0000000186fb2a10 UIKitCore`_UIUpdateSequenceRun + 84
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #28: 0x000000018761c750 UIKitCore`schedulerStepScheduledInputs + 124
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #29: 0x000000018761c200 UIKitCore`runloopSourceCallback + 60
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #30: 0x000000018440e260 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #31: 0x000000018441edd8 CoreFoundation`__CFRunLoopDoSource0 + 208
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #32: 0x00000001843589d8 CoreFoundation`__CFRunLoopDoSources0 + 268
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #33: 0x000000018435e1e4 CoreFoundation`__CFRunLoopRun + 820
2021-08-09 12:36:18,057 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #34: 0x0000000184371da8 CoreFoundation`CFRunLoopRunSpecific + 600
2021-08-09 12:36:18,058 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #35: 0x00000001a006c38c GraphicsServices`GSEventRunModal + 164
2021-08-09 12:36:18,058 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #36: 0x0000000186ceff78 UIKitCore`-[UIApplication _run] + 1100
2021-08-09 12:36:18,058 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #37: 0x0000000186a6bff4 UIKitCore`UIApplicationMain + 2208
2021-08-09 12:36:18,058 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #38: 0x0000000104ab59d4 Psychofunk`SDL_UIKitRunApp + 208
2021-08-09 12:36:18,058 INFO  [Thread-514] stencyl.sw.util.StreamGobbler: [ios-deploy]     frame #39: 0x0000000109a819e4 dyld`start + 520


New attachment added by soereide - August 10, 2021, 03:51:35 am


soereide

  • Subscriber - Stencyl Studio
  • *
August 10, 2021, 03:54:58 am
I download Xcode 13 beta 4 to test this on a simulator, but it worked fine for me. Could I get you to run some more tests on your side?

In your Stencyl install, open ext-tools/haxelib/lime.component in a text editor, and set the version to this:

Code: [Select]
version: 772bd74618179d47edf2d611418b536e2fd1e179

Then open Stencyl again, run your game, and post your logs.

Later on, if you want to revert to the original version of lime for that particular Stencyl install, you can set the version back to this.
Code: [Select]
version: b1e0563538533120629eb6b4a5e22c826044f76e

Of course. I just uploaded the new logs.
Still crashes on launch.


Justin

  • Master Stencyler
  • *
August 10, 2021, 02:50:28 pm
It's looking weirder and weirder.

I decided to give this a shot myself. Updated to iOS 15 beta 4, and launched a few Stencyl games that I happened to have on my device already. They both worked fine.

Unfortunately, my last lightning cable seems to have stopped working, so I'll need to go out and buy another before I can test anything else. Do all games not work for you, or is it just that game?


soereide

  • Subscriber - Stencyl Studio
  • *
August 11, 2021, 01:41:59 am
Most of my games crash on launch, except a really old one that hasn't been updated in 3 years (it doesn't use the whole iPhone X screen, has black bars on top and bottom).

I also decided to try out a few other Stencyl games. These also crash on launch:

Squish Machine by suitcasenuke
Boost Buddies by Raiyumi
SHUMP by AlexVsCoding

Maybe it's only affecting some iPhones?

My iPhone 12 Pro crashes.
A user with iPhone 12 Pro Max reported crashes.
But I also have an iPad Pro 12.9 with iOS 15b4, and it does not crash.



Justin

  • Master Stencyler
  • *
August 11, 2021, 12:13:12 pm
I went out and bought a new lightning cable, and newly built games don't crash for me. Neither does Squish Machine.

I'm testing with an iPhone Xʀ. Unfortunately my only other physical device is an iPod Touch 6th gen so I can't update it to iOS 15.


Justin

  • Master Stencyler
  • *
August 11, 2021, 01:10:39 pm
If this is somehow related to the processor, perhaps it's devices with the A14? A14 is an ARMv8.5‑A chip. Devices with that chip include:

iPad Air (4th generation)
iPhone 12
iPhone 12 Mini
iPhone 12 Pro
iPhone 12 Pro Max


Justin

  • Master Stencyler
  • *
August 11, 2021, 02:58:44 pm
If you'd be willing to let me test on your computer via remote desktop with your device attached, I could try looking into this that way. Let me know via PM or discord if you're interested.


soereide

  • Subscriber - Stencyl Studio
  • *
September 05, 2021, 03:09:32 am
If you'd be willing to let me test on your computer via remote desktop with your device attached, I could try looking into this that way. Let me know via PM or discord if you're interested.

We could do that. Sent you a PM.
It's still crashing with the latest version, beta 8.


tommyill

  • Subscriber - Stencyl Studio
  • *
September 12, 2021, 06:09:15 pm
Hi there,  are there any updates on this? I've been getting messages from users having the same problem with my games on iPhone 12 and iPhone 12 Mini running iOS 15. I've only got an iPhone XR with iOS 15 and it works as normal


Justin

  • Master Stencyler
  • *
September 12, 2021, 10:26:21 pm
Sorry, I responded only to soereide's PM without updating the status here.

I recently moved and I haven't got regular internet service at my new place yet. I'm currently on a very-limited data plan until then, so I can't spare the data for a remote desktop debugging session. I should have internet service beginning the 21st of this month, so hopefully we can figure this out soon after that.


beepyeah

  • Junior Stencyler
September 21, 2021, 04:08:56 pm
Any updates on this? iOS 15 is out and most Stencyl games are crashing on load.


colburt187

  • Master Stencyler
  • *
Yesterday at 02:13:53 am
Yeah this is looking pretty bad, All games I've tested so far on iPhone 12 iOS 15 are crashing on launch, the only exceptions are Adventure islands games Total Party Kill and Super Dangerous Dungeons. I asked him some questions about his scaling setup but he appears to be doing things pretty similar to me. I did notice that my game Golf Zero will sometimes get past the pre loader after several attempts.


Justin

  • Master Stencyler
  • *
Yesterday at 06:44:18 pm
Hi! I just got internet installed yesterday, so I'm ready to debug this with anybody who has one of the devices listed above and is ok with sharing their computer for a while. An exact time hasn't been schedules with soereide yet, so if somebody else sees this and wants to help, feel free to jump in.

Quote
iPad Air (4th generation)
iPhone 12
iPhone 12 Mini
iPhone 12 Pro
iPhone 12 Pro Max


Pages: 1

Details

  • Reported
    August 09, 2021, 03:54:09 am
  • Updated
    Yesterday at 06:44:18 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    (none)

Tags


Attachments

* log-2021-08-09 2.zip (389.32 kB - downloaded 15 times.)
* log-2021-08-10 2.zip (214.29 kB - downloaded 14 times.)