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

Designer crashes at start up on macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 5.11.0 Beta 1
    • Fix Version/s: None
    • Component/s: Tools: Designer
    • Labels:
    • Environment:
      macOS 10.12 (Xcode 9.2)
    • Platform/s:
      macOS

      Description

      Designer crashes at start up on macOS 10.12 (Xcode 9.2)

      Steps to reproduce:

      1. Install 5.11 beta1 macOS binary
      2. Launch Designer

      Expected result:

      Designer opensĀ 

      Actual result:

      Designer crashes with:

      Exception Type: EXC_CRASH (SIGABRT)
      Exception Codes: 0x0000000000000000, 0x0000000000000000
      Exception Note: EXC_CORPSE_NOTIFY
      
      Application Specific Information:
      *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[QCocoaNSMenuDelegate qpaMenu]: unrecognized selector sent to instance 0x600000203880'
      abort() called
      terminating with uncaught exception of type NSException
      
      Application Specific Backtrace 1:
      0 CoreFoundation 0x00007fff32e9400b __exceptionPreprocess + 171
      1 libobjc.A.dylib 0x00007fff59b21c76 objc_exception_throw + 48
      2 CoreFoundation 0x00007fff32f2ccd4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
      3 CoreFoundation 0x00007fff32e0a3f0 ___forwarding___ + 1456
      4 CoreFoundation 0x00007fff32ea92f8 __forwarding_prep_1___ + 120
      5 libqcocoa.dylib 0x0000000109c9199b qt_plugin_instance + 158363
      6 AppKit 0x00007fff303f36ec _NSTargetForSendAction + 227
      7 AppKit 0x00007fff30b88446 -[NSApplication(NSResponder) targetForAction:to:from:] + 326
      8 AppKit 0x00007fff30567533 -[NSMenu _enableItem:] + 261
      9 AppKit 0x00007fff305673cf -[NSMenu _enableItems] + 218
      10 QtCore 0x0000000107c68f96 _ZN7QObject5eventEP6QEvent + 102
      11 QtWidgets 0x0000000106fc0152 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 306
      12 QtWidgets 0x0000000106fc146f _ZN12QApplication6notifyEP7QObjectP6QEvent + 383
      13 QtCore 0x0000000107c3fd6f _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 159
      14 QtCore 0x0000000107c9773a _ZN14QTimerInfoList14activateTimersEv + 890
      15 libqcocoa.dylib 0x0000000109c8c1b2 qt_plugin_instance + 135858
      16 CoreFoundation 0x00007fff32e2c5a1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      17 CoreFoundation 0x00007fff32ee635c __CFRunLoopDoSource0 + 108
      18 CoreFoundation 0x00007fff32e0f09c __CFRunLoopDoSources0 + 300
      19 CoreFoundation 0x00007fff32e0e4bd __CFRunLoopRun + 1293
      20 CoreFoundation 0x00007fff32e0dd23 CFRunLoopRunSpecific + 483
      21 HIToolbox 0x00007fff32125e26 RunCurrentEventLoopInMode + 286
      22 HIToolbox 0x00007fff32125a9f ReceiveNextEventCommon + 366
      23 HIToolbox 0x00007fff32125914 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      24 AppKit 0x00007fff303f0f5f _DPSNextEvent + 2085
      25 AppKit 0x00007fff30b86b4c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
      26 AppKit 0x00007fff30623267 -[NSApplication _doModalLoop:peek:] + 476
      27 AppKit 0x00007fff30808ec1 __33-[NSApplication runModalSession:]_block_invoke_2 + 69
      28 AppKit 0x00007fff30808e69 __33-[NSApplication runModalSession:]_block_invoke + 83
      29 AppKit 0x00007fff30cb5ee6 _NSTryRunModal + 100
      30 AppKit 0x00007fff30808d5a -[NSApplication runModalSession:] + 133
      31 libqcocoa.dylib 0x0000000109c8cd86 qt_plugin_instance + 138886
      32 QtCore 0x0000000107c3b8c2 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 418
      33 QtCore 0x0000000107c40482 _ZN16QCoreApplication4execEv + 402
      34 Designer 0x000000010689fc41 _ZN17QtMetaTypePrivate19IteratorOwnerCommonIN5QListIP7QActionE14const_iteratorEE6assignEPPvPKS7_ + 9345
      35 libdyld.dylib 0x00007fff5a711115 start + 1

      When testing this, at first launch the Designer crashed when closing the application, on second try the Designer crashed at start up.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              mipohjan Milla Pohjanheimo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes