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

Mac: File browser crashes when selecting file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • 5.0.0 Beta 1
    • None
    • Mac OS X 10.8.2, Qt5 8f9fcfdcb58075a211d1fb0de2fece6d5cb74dbd (qtbase 0fbb41dea783d15797fa2af2d3d8737fe770bcfb)
      Qt Creator 2.6
    • macOS

      File browser crashes when selecting a "qt file type" in the Qt Creator open dialog. Doesn't happen with Qt 4.8.3.

      How to reproduce:
      1) create a dummy project, e.g. File > New > Applications > Qt Gui Application
      2) close the project again
      3) File > Open File or Project
      4) navigate to the dummy project and select one of the Qt file types (pro, ui, ...) by single clicking on it
      5) after a short moment --> crash

      The crash doesn't happen when directly double-clicking the .pro file.

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 libobjc.A.dylib 0x00007fff84feb250 objc_msgSend + 16
      1 com.apple.AppKit 0x00007fff8cefe9de -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3540
      2 com.apple.AppKit 0x00007fff8cec8d73 -[NSView displayIfNeeded] + 1830
      3 com.apple.AppKit 0x00007fff8cec82ac _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 738
      4 com.apple.AppKit 0x00007fff8d493971 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke_01208 + 46
      5 com.apple.CoreFoundation 0x00007fff8a1fb9b7 _CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION_ + 23
      6 com.apple.CoreFoundation 0x00007fff8a1fb921 __CFRunLoopDoObservers + 369
      7 com.apple.CoreFoundation 0x00007fff8a1d6d88 __CFRunLoopRun + 728
      8 com.apple.CoreFoundation 0x00007fff8a1d66b2 CFRunLoopRunSpecific + 290
      9 com.apple.HIToolbox 0x00007fff83f3e0a4 RunCurrentEventLoopInMode + 209
      10 com.apple.HIToolbox 0x00007fff83f3de42 ReceiveNextEventCommon + 356
      11 com.apple.HIToolbox 0x00007fff83f3dcd3 BlockUntilNextEventMatchingListInMode + 62
      12 com.apple.AppKit 0x00007fff8cec5613 _DPSNextEvent + 685
      13 com.apple.AppKit 0x00007fff8cec4ed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
      14 com.apple.AppKit 0x00007fff8d10f709 -[NSApplication _realDoModalLoop:peek:] + 485
      15 com.apple.AppKit 0x00007fff8d10f9ce -[NSApplication runModalForWindow:] + 120
      16 com.apple.AppKit 0x00007fff8d35adb6 -[NSSavePanel runModal] + 302
      17 libqcocoa.dylib 0x0000000102f249b7 -[QNSOpenSavePanelDelegate runApplicationModalPanel] + 279
      18 libqcocoa.dylib 0x0000000102f2754a QCocoaFileDialogHelper::exec() + 26
      19 QtWidgets 0x00000001002d22b5 QDialog::exec() + 261
      20 QtWidgets 0x00000001002dd1c6 QFileDialog::getOpenFileNames(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>) + 358
      21 libCore_debug.dylib 0x0000000108166776 Core::DocumentManager::getOpenFileNames(QString const&, QString, QString*) + 614 (documentmanager.cpp:805)
      22 libCore_debug.dylib 0x0000000108052116 Core::EditorManager::getOpenFileNames() const + 118 (editormanager.cpp:1354)
      23 libCore_debug.dylib 0x00000001080142d5 Core::Internal::MainWindow::openFile() + 37 (mainwindow.cpp:815)
      24 libCore_debug.dylib 0x000000010817512f Core::Internal::MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 2399 (moc_mainwindow.cpp:201)
      25 QtCore 0x0000000100cce380 QMetaObject::activate(QObject*, int, int, void**) + 2656
      26 QtWidgets 0x00000001000edd49 QAction::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 153
      27 QtCore 0x0000000100cce380 QMetaObject::activate(QObject*, int, int, void**) + 2656
      28 QtWidgets 0x00000001000ed998 QAction::activate(QAction::ActionEvent) + 264
      29 QtWidgets 0x00000001000edd98 QAction::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 232
      30 QtCore 0x0000000100cce380 QMetaObject::activate(QObject*, int, int, void**) + 2656
      31 com.apple.AppKit 0x00007fff8cfb5a59 -[NSApplication sendAction:to:from:] + 342
      32 com.apple.AppKit 0x00007fff8d0eb44c -[NSMenuItem _corePerformAction] + 406
      33 com.apple.AppKit 0x00007fff8d0eb13a -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 133
      34 com.apple.AppKit 0x00007fff8d0e9dc0 -[NSMenu performKeyEquivalent:] + 271
      35 com.apple.AppKit 0x00007fff8d0e9283 -[NSApplication _handleKeyEquivalent:] + 829
      36 com.apple.AppKit 0x00007fff8cfa6243 -[NSApplication sendEvent:] + 4480
      37 com.apple.AppKit 0x00007fff8cebc2fa -[NSApplication run] + 636
      38 libqcocoa.dylib 0x0000000102f10d3b QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1259
      39 QtCore 0x0000000100c9dd53 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 355
      40 QtCore 0x0000000100ca0985 QCoreApplication::exec() + 357
      41 com.nokia.qtcreator 0x000000010000c4ec main + 12700 (main.cpp:435)
      42 com.nokia.qtcreator 0x0000000100005894 start + 52

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

            Unassigned Unassigned
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes