Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-6950

Crash when closing editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 2.5.0-beta
    • Qt Creator 2.5.0-beta
    • Editors
    • None
    • bdb89079930048bd6842dc2dd250e25a29632d00

    Description

      Closing an editor with cmd+w got me this crash (not easily reproducible it seems):

      Exception Type: EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes: 0x000000000000000d, 0x0000000000000000
      Crashed Thread: 0 Dispatch queue: com.apple.main-thread

      Thread 0 Crashed: Dispatch queue: com.apple.main-thread
      0 libTextEditor_debug.dylib 0x00000001174f61f2 TextEditor::Internal::QTipLabel::isInteractive() const + 60 (tips.cpp:84)
      1 libTextEditor_debug.dylib 0x00000001174f4860 TextEditor::ToolTip::eventFilter(QObject*, QEvent*) + 374 (tooltip.cpp:259)
      2 QtCore 0x000000010022cb27 QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) + 167
      3 QtGui 0x00000001004d0a16 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 38
      4 QtGui 0x00000001004d7144 QApplication::notify(QObject*, QEvent*) + 1060
      5 QtCore 0x000000010022cfac QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
      6 QtGui 0x00000001004d4dce QApplicationPrivate::dispatchEnterLeave(QWidget*, QWidget*) + 1774
      7 QtGui 0x00000001004712b4 QWidgetPrivate::hide_sys() + 838
      8 QtGui 0x0000000100525c9a QWidgetPrivate::hide_helper() + 252
      9 QtGui 0x0000000100525136 QWidget::setVisible(bool) + 882
      10 QtGui 0x0000000100521ba1 QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) + 315
      11 QtGui 0x00000001005255d0 QWidget::~QWidget() + 930
      12 libTextEditor_debug.dylib 0x00000001174f7f81 TextEditor::Internal::QTipLabel::~QTipLabel() + 149 (tips.cpp:80)
      13 libTextEditor_debug.dylib 0x00000001174f8087 TextEditor::Internal::TextTip::~TextTip() + 75 (tips.cpp:155)
      14 QtCore 0x000000010024073f QObjectPrivate::deleteChildren() + 95
      15 QtGui 0x0000000100525701 QWidget::~QWidget() + 1235
      16 libTextEditor_debug.dylib 0x00000001173e7184 TextEditor::BaseTextEditorWidget::~BaseTextEditorWidget() + 146 (basetexteditor.cpp:294)
      17 libCppEditor_debug.dylib 0x0000000119da98ef CppEditor::Internal::CPPEditorWidget::~CPPEditorWidget() + 2387 (cppeditor.cpp:480)
      18 libTextEditor_debug.dylib 0x00000001173a59c4 TextEditor::BaseTextEditor::~BaseTextEditor() + 144 (basetexteditor.cpp:6114)
      19 libCppEditor_debug.dylib 0x0000000119e51915 CppEditor::Internal::CPPEditor::~CPPEditor() + 51 (cppeditor.h:149)
      20 libCore_debug.dylib 0x0000000116157589 Core::EditorManager::closeEditors(QList<Core::IEditor*> const&, bool) + 5987 (editormanager.cpp:925)
      21 libCore_debug.dylib 0x0000000116159622 Core::EditorManager::closeEditor(Core::IEditor*) + 86 (editormanager.cpp:830)
      22 libCore_debug.dylib 0x0000000116159ee1 Core::EditorManager::closeEditor() + 155 (editormanager.cpp:774)
      23 libCore_debug.dylib 0x00000001162fa73e Core::EditorManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 818 (moc_editormanager.cpp:207)
      24 QtCore 0x0000000100244eee QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1566
      25 QtGui 0x00000001004cab97 QAction::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 59
      26 QtCore 0x0000000100244eee QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1566
      27 QtGui 0x00000001004ccbd2 QAction::activate(QAction::ActionEvent) + 194
      28 QtGui 0x000000010047f827 -[QCocoaMenuLoader qtDispatcherToQAction:] + 71
      29 com.apple.AppKit 0x00007fff82869eda -[NSApplication sendAction:to:from:] + 95
      30 com.apple.AppKit 0x00007fff8288e46a -[NSMenuItem _corePerformAction] + 365
      31 com.apple.AppKit 0x00007fff8288e1d4 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 121
      32 com.apple.AppKit 0x00007fff82873e45 -[NSMenu performKeyEquivalent:] + 272
      33 com.apple.AppKit 0x00007fff82872bed -[NSApplication _handleKeyEquivalent:] + 559
      34 com.apple.AppKit 0x00007fff827436b9 -[NSApplication sendEvent:] + 3630
      35 QtGui 0x0000000100480824 -[QNSApplication sendEvent:] + 84
      36 com.apple.AppKit 0x00007fff826da6de -[NSApplication run] + 474
      37 QtGui 0x000000010048bae0 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1824
      38 QtCore 0x000000010022bea4 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
      39 QtCore 0x000000010022c254 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324
      40 QtCore 0x000000010022e95c QCoreApplication::exec() + 188
      41 com.nokia.qtcreator 0x000000010000f1a2 main + 17074 (main.cpp:421)
      42 com.nokia.qtcreator 0x0000000100004de4 start + 52

      Attachments

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

        Activity

          People

            davschul David Schulz
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes