Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26391

iOS: App randomly freezes on iOS 12 beta when using built-in JSCore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.4.2
    • Component/s: iOS
    • Labels:
    • Environment:

      Ti SDK 7.4.0.RC or 7.1.0.GA
      iOS 12 Beta

    • Sprint:
      2018 Sprint 20 SDK, 2018 Sprint 21, 2018 Sprint 25, 2018 Sprint 26

      Description

      Hi there,
      before Apple's event on September 12th we've decided to test our apps on iOS 12 beta and everything seems to work fine
      except that the app freezes randomly on different parts of it. It could be writing some data on the database or downloading images from web.
      We then have tried to isolate and make a test case where it always freezes but we could not find it.
      But what we've found so far is that it always freezes when:

      "run-on-main-thread" is set to true. Never freezes when this is disabled
      Running on iOS 12. Everything is fine on iOS 11
      Running with Ti SDK - 7.1.0.GA and latest release 7.4.0.RC
      Building from both Xcode 9 and 10. This also happens on iOS 12 simulators

      We also tried checking Instruments and Console to see if we can find some errors before it freezes but nothing weird
      is displayed on them nor a memory warning/leak.

      The biggest challenge here is to find a very isolated and reproducible case where it will always freeze.
      We found another community member with the same problem but maybe not so many members have iOS beta versions installed on their devices.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvennemann Jan Vennemann
                Reporter:
                chmiiller Carlos Henrique Zinato
                Reviewer:
                Vijay Singh
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-6583
                    Sync status:
                    PENDING
                    Last received:
                    Last sent:

                    Git Source Code