Bug Issue: iOS 15 Crash on launch


Pages: 1 2

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

  • Subscriber - Stencyl Studio
  • *
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
  • *
September 22, 2021, 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
  • *
September 22, 2021, 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


Justin

  • Master Stencyler
  • *
September 27, 2021, 10:33:59 am
Ok, small update here.

I've been testing games on iOS 15 thanks to colburt letting me use his iPhone via remote desktop. I've found that, while the crash often manifests in the same place, it sometimes appears in a different place, and also sometimes (somewhat rarely) doesn't happen at all. These differences occur even if the game hasn't been recompiled. This makes the issue more difficult to debug, unfortunately.

The most recently published game I'm currently aware of that still works is Colburt's Battle Golf, which was built with Stencyl 4.0.1. For now, I'm going to try various combinations of Stencyl, Haxe, hxcpp, Xcode, and ios min/max versions to see if I can figure out what triggers this, beyond the A14 chip + iOS 15.


tommyill

  • Subscriber - Stencyl Studio
  • *
October 02, 2021, 01:55:28 am
Not sure if it's useful or not but here's a user's crash log from App Store Connect, just in case it sheds any more light on the problem:

Code: [Select]
Incident Identifier: 04D91095-0818-489F-AD2F-FC599B51FE25
Hardware Model:      iPhone13,2
Process:             SUPER FOWLST 2 [5210]
Path:                /private/var/containers/Bundle/Application/62AE15B0-BCBA-46D8-8B81-61476A02AF35/SUPER FOWLST 2.app/SUPER FOWLST 2
Identifier:          com.thomasyoung.superfowlsttwo
Version:             1.19.0 (34)
AppStoreTools:       12E262
AppVariant:          1:iPhone13,2:14
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.thomasyoung.superfowlsttwo [1169]

Date/Time:           2021-09-30 20:00:52.9858 +0200
Launch Time:         2021-09-30 20:00:52.6680 +0200
OS Version:          iPhone OS 15.0 (19A346)
Release Type:        User
Baseband Version:    2.09.10
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Codes: 0x0000000000000001, 0x0000000000000020
VM Region Info: 0x20 is not in any region.  Bytes before following region: 4336648160
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
---> 
      __TEXT                   1027c0000-102a38000 [ 2528K] r-x/r-x SM=COW  ...UPER FOWLST 2
Exception Note:  EXC_CORPSE_NOTIFY
Terminating Process: exc handler [5210]
Triggered by Thread:  0


Thread 0 name:
Thread 0 Crashed:
0   SUPER FOWLST 2                0x00000001030fbe24 0x1027c0000 + 9682468
1   SUPER FOWLST 2                0x00000001030fbde8 0x1027c0000 + 9682408
2   SUPER FOWLST 2                0x000000010341c4b0 0x1027c0000 + 12960944
3   SUPER FOWLST 2                0x00000001030fbe94 0x1027c0000 + 9682580
4   SUPER FOWLST 2                0x0000000102f0fb20 0x1027c0000 + 7666464
5   SUPER FOWLST 2                0x0000000102f0fa2c 0x1027c0000 + 7666220
6   SUPER FOWLST 2                0x00000001034bd5f4 0x1027c0000 + 13620724
7   SUPER FOWLST 2                0x000000010341c4b0 0x1027c0000 + 12960944
8   SUPER FOWLST 2                0x000000010341e550 0x1027c0000 + 12969296
9   SUPER FOWLST 2                0x000000010341e488 0x1027c0000 + 12969096
10  SUPER FOWLST 2                0x00000001034bd524 0x1027c0000 + 13620516
11  SUPER FOWLST 2                0x00000001033089ac 0x1027c0000 + 11831724
12  SUPER FOWLST 2                0x000000010377ec78 0x1027c0000 + 16510072
13  SUPER FOWLST 2                0x000000010345d4dc 0x1027c0000 + 13227228
14  SUPER FOWLST 2                0x000000010345d58c 0x1027c0000 + 13227404
15  SUPER FOWLST 2                0x0000000102dcbccc 0x1027c0000 + 6339788
16  SUPER FOWLST 2                0x00000001036be86c 0x1027c0000 + 15722604
17  SUPER FOWLST 2                0x00000001036bea0c 0x1027c0000 + 15723020
18  SUPER FOWLST 2                0x0000000102cb6be4 0x1027c0000 + 5204964
19  SUPER FOWLST 2                0x000000010374f4b4 0x1027c0000 + 16315572
20  SUPER FOWLST 2                0x00000001038435e0 0x1027c0000 + 17315296
21  SUPER FOWLST 2                0x00000001028009cc 0x1027c0000 + 264652
22  SUPER FOWLST 2                0x0000000102801cc8 0x1027c0000 + 269512
23  QuartzCore                    0x000000018466520c CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 756 (CADisplay.mm:4195)
24  QuartzCore                    0x00000001847bfc50 CA::Display::DisplayLink::dispatch_deferred_display_links() + 356 (CADisplay.mm:2633)
25  UIKitCore                      0x0000000183c03a30 __setupUpdateSequence_block_invoke + 216 (_UIUpdateCycleScheduler.m:932)
26  UIKitCore                      0x000000018358bad8 _UIUpdateSequenceRun + 84 (_UIUpdateSequence.mm:67)
27  UIKitCore                      0x0000000183c03294 schedulerStepScheduledMainSection + 144 (_UIUpdateCycleScheduler.m:1204)
28  UIKitCore                      0x0000000183c02760 runloopSourceCallback + 60 (_UIUpdateCycleScheduler.m:1292)
29  CoreFoundation                0x00000001809be030 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1972)
30  CoreFoundation                0x00000001809cecf0 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016)
31  CoreFoundation                0x0000000180908ff8 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2053)
32  CoreFoundation                0x000000018090e804 __CFRunLoopRun + 820 (CFRunLoop.c:2951)
33  CoreFoundation                0x00000001809223c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
34  GraphicsServices              0x000000019c13338c GSEventRunModal + 164 (GSEvent.c:2200)
35  UIKitCore                      0x00000001832c80bc -[UIApplication _run] + 1100 (UIApplication.m:3457)
36  UIKitCore                      0x0000000183045be8 UIApplicationMain + 2124 (UIApplication.m:5013)
37  SUPER FOWLST 2                0x0000000102a38f0c 0x1027c0000 + 2592524
38  dyld                          0x0000000104901a24 start + 520 (dyldMain.cpp:876)

Thread 1:
0   libsystem_pthread.dylib        0x00000001f0dd0f48 start_wqthread + 0

Thread 2 name:
Thread 2:
0   libsystem_kernel.dylib        0x00000001b73e3204 __ulock_wait + 8
1   libdispatch.dylib              0x000000018060f344 _dlock_wait + 56 (lock.c:326)
2   libdispatch.dylib              0x000000018060f6f4 _dispatch_group_wait_slow + 60 (semaphore.c:214)
3   GameCenterFoundation          0x00000001a7a84e04 __36-[GKServiceProxy buildServiceLookup]_block_invoke + 1356 (GKDaemonProxy.m:1588)
4   libdispatch.dylib              0x000000018060cc04 _dispatch_call_block_and_release + 32 (init.c:1516)
5   libdispatch.dylib              0x000000018060e950 _dispatch_client_callout + 20 (object.m:560)
6   libdispatch.dylib              0x00000001806160ac _dispatch_lane_serial_drain + 664 (inline_internal.h:2597)
7   libdispatch.dylib              0x0000000180616c44 _dispatch_lane_invoke + 444 (queue.c:3937)
8   libdispatch.dylib              0x0000000180621318 _dispatch_workloop_worker_thread + 656 (queue.c:6732)
9   libsystem_pthread.dylib        0x00000001f0dd11b0 _pthread_wqthread + 288 (pthread.c:2495)
10  libsystem_pthread.dylib        0x00000001f0dd0f50 start_wqthread + 8

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib        0x00000001b73e2ff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib        0x00000001f0dd8274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   SUPER FOWLST 2                0x00000001038e74c0 0x1027c0000 + 17986752
3   SUPER FOWLST 2                0x00000001038c3bf8 0x1027c0000 + 17841144
4   SUPER FOWLST 2                0x00000001038c6a58 0x1027c0000 + 17853016
5   SUPER FOWLST 2                0x00000001038c5b6c 0x1027c0000 + 17849196
6   Foundation                    0x0000000182169124 __NSOPERATION_IS_INVOKING_MAIN__ + 24 (NSOperation.m:2189)
7   Foundation                    0x000000018217a010 -[NSOperation start] + 804 (NSOperation.m:2206)
8   Foundation                    0x000000018217d5b8 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 24 (NSOperation.m:2220)
9   Foundation                    0x000000018218b630 __NSOQSchedule_f + 184 (NSOperation.m:2231)
10  libdispatch.dylib              0x000000018061d600 _dispatch_block_async_invoke2 + 148 (queue.c:548)
11  libdispatch.dylib              0x000000018060e950 _dispatch_client_callout + 20 (object.m:560)
12  libdispatch.dylib              0x0000000180611e04 _dispatch_continuation_pop + 504 (inline_internal.h:2597)
13  libdispatch.dylib              0x0000000180611460 _dispatch_async_redirect_invoke + 596 (queue.c:823)
14  libdispatch.dylib              0x000000018061ff48 _dispatch_root_queue_drain + 388 (inline_internal.h:0)
15  libdispatch.dylib              0x0000000180620768 _dispatch_worker_thread2 + 164 (queue.c:6935)
16  libsystem_pthread.dylib        0x00000001f0dd1174 _pthread_wqthread + 228 (pthread.c:2508)
17  libsystem_pthread.dylib        0x00000001f0dd0f50 start_wqthread + 8

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib        0x00000001b73e2564 mach_msg_trap + 8
1   libsystem_kernel.dylib        0x00000001b73e2bfc mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                0x000000018090a698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                0x000000018090e98c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4   CoreFoundation                0x00000001809223c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   Foundation                    0x0000000182145d54 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)
6   Foundation                    0x00000001821876a8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:420)
7   UIKitCore                      0x000000018324107c -[UIEventFetcher threadMain] + 524 (UIEventFetcher.m:1167)
8   Foundation                    0x000000018219595c __NSThread__start__ + 792 (NSThread.m:915)
9   libsystem_pthread.dylib        0x00000001f0dd1a60 _pthread_start + 148 (pthread.c:890)
10  libsystem_pthread.dylib        0x00000001f0dd0f5c thread_start + 8

Thread 5:
0   libsystem_pthread.dylib        0x00000001f0dd0f48 start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib        0x00000001f0dd0f48 start_wqthread + 0

Thread 7 name:
Thread 7:
0   libsystem_kernel.dylib        0x00000001b73e2564 mach_msg_trap + 8
1   libsystem_kernel.dylib        0x00000001b73e2bfc mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                0x000000018090a698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                0x000000018090e98c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4   CoreFoundation                0x00000001809223c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   CoreFoundation                0x00000001809a2a88 CFRunLoopRun + 64 (CFRunLoop.c:3293)
6   CoreMotion                    0x000000018d89e3ec CLMotionCore::runMotionThread(void*) + 1204 (CLMotionCore.mm:370)
7   libsystem_pthread.dylib        0x00000001f0dd1a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib        0x00000001f0dd0f5c thread_start + 8

Thread 8 name:
Thread 8:
0   libsystem_kernel.dylib        0x00000001b73e2564 mach_msg_trap + 8
1   libsystem_kernel.dylib        0x00000001b73e2bfc mach_msg + 76 (mach_msg.c:119)
2   libEmbeddedSystemAUs.dylib    0x00000001bc1479f0 caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, AURemoteIO::IOThread::IOThread(AURemoteIO&, caulk::thread::attributes const&, caulk::mach::os_workgroup const&)::'lambda'(), std::__1:... + 548 (AURemoteIO.cpp:2031)
3   libsystem_pthread.dylib        0x00000001f0dd1a60 _pthread_start + 148 (pthread.c:890)
4   libsystem_pthread.dylib        0x00000001f0dd0f5c thread_start + 8

Thread 9 name:
Thread 9:
0   libsystem_kernel.dylib        0x00000001b73e2ff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib        0x00000001f0dd8274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   SUPER FOWLST 2                0x0000000102a159b4 0x1027c0000 + 2447796
3   SUPER FOWLST 2                0x0000000102a5505c 0x1027c0000 + 2707548
4   SUPER FOWLST 2                0x0000000102a3a72c 0x1027c0000 + 2598700
5   SUPER FOWLST 2                0x0000000102a1275c 0x1027c0000 + 2434908
6   SUPER FOWLST 2                0x0000000102a15ac0 0x1027c0000 + 2448064
7   libsystem_pthread.dylib        0x00000001f0dd1a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib        0x00000001f0dd0f5c thread_start + 8

Thread 10:
0   libsystem_platform.dylib      0x00000001f0dc8e18 _platform_memset + 152
1   SUPER FOWLST 2                0x000000010386be58 0x1027c0000 + 17481304
2   SUPER FOWLST 2                0x000000010386bb8c 0x1027c0000 + 17480588
3   libsystem_pthread.dylib        0x00000001f0dd1a60 _pthread_start + 148 (pthread.c:890)
4   libsystem_pthread.dylib        0x00000001f0dd0f5c thread_start + 8

Thread 11:
0   libsystem_kernel.dylib        0x00000001b73e2ff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib        0x00000001f0dd8274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   SUPER FOWLST 2                0x000000010386c1ec 0x1027c0000 + 17482220
3   SUPER FOWLST 2                0x000000010386bca0 0x1027c0000 + 17480864
4   SUPER FOWLST 2                0x000000010386bb8c 0x1027c0000 + 17480588
5   libsystem_pthread.dylib        0x00000001f0dd1a60 _pthread_start + 148 (pthread.c:890)
6   libsystem_pthread.dylib        0x00000001f0dd0f5c thread_start + 8

Thread 12 name:
Thread 12:
0   libsystem_kernel.dylib        0x00000001b73e2564 mach_msg_trap + 8
1   libsystem_kernel.dylib        0x00000001b73e2bfc mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                0x000000018090a698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                0x000000018090e98c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4   CoreFoundation                0x00000001809223c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   CFNetwork                      0x00000001813938d0 +[__CFN_CoreSchedulingSetRunnable _run:] + 464 (CoreSchedulingSet.mm:1372)
6   Foundation                    0x000000018219595c __NSThread__start__ + 792 (NSThread.m:915)
7   libsystem_pthread.dylib        0x00000001f0dd1a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib        0x00000001f0dd0f5c thread_start + 8


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x00000000037c7bd4   x1: 0x0000000000000000   x2: 0x00000000000120a8   x3: 0x0000000000001001
    x4: 0x00000f0000001000   x5: 0x0000000000001001   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0000000000000000   x9: 0x0000000000000000  x10: 0x0000000000000002  x11: 0x00000000fffffffd
   x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x0000000000000001  x15: 0x0000000000000002
   x16: 0x0000000000000000  x17: 0x0000000000000000  x18: 0x000000010761cf40  x19: 0x000000010b48c1f8
   x20: 0x000000016d63dfa8  x21: 0x000000010b48d47c  x22: 0x000000010f3cb968  x23: 0x000000010b48d4a0
   x24: 0x0000000000000001  x25: 0x000000010b490340  x26: 0x0000000104e27050  x27: 0x0000000108008200
   x28: 0x0000000000000204   fp: 0x000000016d63df90   lr: 0x00000001030fbde8
    sp: 0x000000016d63df50   pc: 0x00000001030fbe24 cpsr: 0x20000000
   esr: 0x92000046 (Data Abort) byte write Translation fault


Binary Images:
0x1027c0000 - 0x103b67fff SUPER FOWLST 2 arm64  <1162acce9bef3f708b717ca9f369ba8d> /private/var/containers/Bundle/Application/62AE15B0-BCBA-46D8-8B81-61476A02AF35/SUPER FOWLST 2.app/SUPER FOWLST 2
0x1048e8000 - 0x10493ffff dyld arm64e  <d48c31ee061f370ba6f78391a1b53ed8> /usr/lib/dyld
0x18060b000 - 0x180650fff libdispatch.dylib arm64e  <959cd6e40ce73022b73c8b36f79f4745> /usr/lib/system/libdispatch.dylib
0x180903000 - 0x180d56fff CoreFoundation arm64e  <6174789ae88c3f5cba39de2e9edc0750> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x181119000 - 0x1815ddfff CFNetwork arm64e  <570aad29ce5c3cd9ab01ad21e1440ddb> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x18212d000 - 0x182431fff Foundation arm64e  <efbca2ff8b8c3227abbc154ba851d23c> /System/Library/Frameworks/Foundation.framework/Foundation
0x182dad000 - 0x18462ffff UIKitCore arm64e  <0e2d8679d5f13c0390107f6ce3662789> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x184655000 - 0x184938fff QuartzCore arm64e  <8ab30eebfb1536cb9c27918ed68500ee> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x18d88b000 - 0x18db96fff CoreMotion arm64e  <9d82cede6b9d36b3a8f8ba0c9782d328> /System/Library/Frameworks/CoreMotion.framework/CoreMotion
0x19c132000 - 0x19c13afff GraphicsServices arm64e  <0f7424f6bde5311aa3fac0e0c4c28d72> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1a79c0000 - 0x1a7b26fff GameCenterFoundation arm64e  <3e416b81a39c390a8991b38e36372428> /System/Library/PrivateFrameworks/GameCenterFoundation.framework/GameCenterFoundation
0x1b73e1000 - 0x1b7414fff libsystem_kernel.dylib arm64e  <d2476f74d204348d8d386165d0485c7c> /usr/lib/system/libsystem_kernel.dylib
0x1bc145000 - 0x1bc250fff libEmbeddedSystemAUs.dylib arm64e  <fc883698679536b291246ee7f37edb82> /System/Library/Frameworks/AudioToolbox.framework/libEmbeddedSystemAUs.dylib
0x1f0dc8000 - 0x1f0dcefff libsystem_platform.dylib arm64e  <9b829bd8a5ba3cd78e9313538dcd12b2> /usr/lib/system/libsystem_platform.dylib
0x1f0dd0000 - 0x1f0ddbfff libsystem_pthread.dylib arm64e  <bc1ce0c6a9f2396b9afb623d3acd5881> /usr/lib/system/libsystem_pthread.dylib

EOF

Hopefully we can find a fix for this soon, I'm starting to get quite a few angry emails and reviews  :(


tommyill

  • Subscriber - Stencyl Studio
  • *
October 07, 2021, 10:26:06 pm
I've been trying to work this out every day for about 2 weeks, but haven't had any luck so far :(. Interestingly though, today I tried building PiratePig from the OpenFL examples and running it on my iPhone 13 and it works just fine. I was using the same Haxe/Lime/OpenFL etc as Stencyl, and the same version of Xcode. So I think that means that the cause of the crash is something unique to Stencyl itself. Any ideas?


Justin

  • Master Stencyler
  • *
October 08, 2021, 09:59:19 am
Yes, I've heard that the BunnyMark sample works as well. I've heard other OpenFL users (not using Stencyl) have run into this issue as well, so it's not Stencyl-specific. This issue appears to have something to do with loading assets at the start of the game, so it's possible that some of the OpenFL sample games just have less assets to load.

I've just uploaded a new Stencyl build, could you clean your project and try it out? It's kind of a shot in the dark, but it appeared not to crash when I uploaded a game built with it to a remote iPhone 12 for testing.

https://www.stencyl.com/stencyl/getbeta/ios-crash-testing-2

Try testing normally, not in debug mode.
« Last Edit: October 08, 2021, 10:04:29 am by Justin »


Pages: 1 2

Details

  • Reported
    August 09, 2021, 03:54:09 am
  • Updated
    October 19, 2021, 03:13:34 pm

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

Tags


Attachments

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