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

Qt mac application crashes when /usr/local/Trolltech/Qt-4.8.1 folder exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.8.1
    • None
    • Mac OS X 10.6.6, iMac Core i3
    • macOS

      Any simple application deployed with macdeployqt with main window (including the qt mainwindow sample) crashes after it's bundled with QT libraries using the following command:

      /usr/local/Trolltech/Qt-4.8.1/bin/macdeployqt <app_name> -no-plugins -verbose=0

      It crashes right after main window appears if "/usr/local/Trolltech/Qt-4.8.1" folder (local QT compiled copy) exists.
      If I remove this folder - it works fine. Qt is build using -universal switch.
      This problem never happened on Qt 4.7.4, and also appears in 4.8.0.

      Call stack:

      Version: ??? (???)
      Code Type: X86 (Native)
      Parent Process: launchd [1312]

      Date/Time: 2012-04-13 16:47:57.802 +0300
      OS Version: Mac OS X 10.6.8 (10K549)
      Report Version: 6

      Interval Since Last Report: 591575 sec
      Crashes Since Last Report: 12
      Per-App Interval Since Last Report: 4674 sec
      Per-App Crashes Since Last Report: 10
      Anonymous UUID: 4A23B1D0-D9A1-48DE-8C78-E989AAD595F0

      Exception Type: EXC_BAD_ACCESS (SIGBUS)
      Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
      Crashed Thread: 0 Dispatch queue: com.apple.main-thread

      Thread 0 Crashed: Dispatch queue: com.apple.main-thread
      0 QtGui 0x1539380d -[NSApplication(QApplicationIntegration) qt_filterEvent:] + 29
      1 QtGui 0x00177bb3 QMacInputContext::reset() + 45379
      2 com.apple.AppKit 0x95047253 -[NSApplication run] + 917
      3 QtGui 0x00182e2a QDesktopWidget::resizeEvent(QResizeEvent*) + 12890
      4 QtCore 0x00d7bfc1 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 65
      5 QtCore 0x00d7c39a QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 314
      6 QtCore 0x00d7ea36 QCoreApplication::exec() + 182
      7 com.mycompany.myapp 0x0000ec91 main + 225
      8 com.mycompany.myapp 0x00008dbd _start + 208
      9 com.mycompany.myapp 0x00008cec start + 40

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            ilyadufreyne Elias Dufour
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes