Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-42345

[REG] iOS: Launch Crash when Using Launch Images.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.4.0 Beta
    • Fix Version/s: 5.4.0 RC
    • Component/s: QPA
    • Labels:
      None
    • Environment:
      iPad-3, iOS 7.1.2, Xcode 6.1
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      git 5.4 branch, taken November 2014.
      Checked that it includes the fix:
      https://codereview.qt-project.org/#/c/98064/
      from QTBUG-41443

      Application is crashing but not in debugger
      and with a certain probability.

      Launch images are improving
      reproducibility of the issue.

      Compiling the application with dSym,
      the crash report from the device find below.

      THE STEPS TO REPRODUCE IN BRIEF:

      1.1 Use textedit example;
      1.2 Add launch images i.e. by opening the project in XCode
      and adding the lanch images (attached) to assets or by adding them
      in QCreator by following the recent guidelines
      https://codereview.qt-project.org/#/c/97813/

      • it doesn't matter since crash is ensured by both methods.

      1.3 Deploy to iPad-3 with iOS-7.1.2
      1.4 Run by tapping the deployed application,
      (without debugger, not from QtCreator and not from XCode);
      1.5 From several runs observe 30-50% of crashes;
      1.6 Repeat the procedure with textedit with added dSym - helps
      to symbolize the crash report.

      Date/Time: 2014-11-03 09:10:02.236 +0200
      OS Version: iOS 7.1.2 (11D257)
      Report Version: 104

      Exception Type: EXC_BAD_ACCESS (SIGBUS)
      Exception Subtype: KERN_PROTECTION_FAILURE at 0x3a711c3c
      Triggered by Thread: 0

      Thread 0 Crashed:
      0 ??? 0x3a711c3c 0 + 980491324
      1 MyApp 0x004467a4 QGuiApplicationPrivate::~QGuiApplicationPrivate() (qguiapplication.cpp:1394)
      2 MyApp 0x001c0662 QApplicationPrivate::~QApplicationPrivate() (qapplication.cpp:183)
      3 MyApp 0x001c067c QApplicationPrivate::~QApplicationPrivate() (qapplication.cpp:180)
      4 MyApp 0x001c0698 QApplicationPrivate::~QApplicationPrivate() (qapplication.cpp:180)
      5 MyApp 0x00921168 QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (qscopedpointer.h:54)
      6 MyApp 0x00921102 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (qscopedpointer.h:101)
      7 MyApp 0x0091dc4c QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (qscopedpointer.h:99)
      8 MyApp 0x00914d28 QObject::~QObject() (qobject.cpp:1038)
      9 MyApp 0x008e6aa8 QCoreApplication::~QCoreApplication() (qcoreapplication.cpp:807)
      10 MyApp 0x0044498e QGuiApplication::~QGuiApplication() (qguiapplication.cpp:597)
      11 MyApp 0x001c2748 QApplication::~QApplication() (qapplication.cpp:873)
      12 MyApp 0x001c27dc QApplication::~QApplication() (qapplication.cpp:804)
      13 MyApp 0x000a3386 qtmn (main.cpp:363)
      14 MyApp 0x00189866 user_main_trampoline() (qioseventdispatcher.mm:274)

        Attachments

        1. Default-Landscape.png
          Default-Landscape.png
          17 kB
        2. Default-Landscape@2x.png
          Default-Landscape@2x.png
          59 kB
        3. Default-Portrait.png
          Default-Portrait.png
          18 kB
        4. Default-Portrait@2x.png
          Default-Portrait@2x.png
          60 kB
        5. ios-launch-crash.patch
          6 kB

          Issue Links

          For Gerrit Dashboard: QTBUG-42345
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              richard Richard Moe Gustavsen
              Reporter:
              coroberti Robert Iakobashvili
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes