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

Crash switchign sessions (recent git)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 2.7.1
    • Qt Creator 2.7.0
    • Editors
    • None
    • 64bit linux.
    • 19bfd1bcd40a05f74c1f6f339f64a9e830664ec6

    Description

      Recently I've been having a crash switching sessions, using git master.

      I ran with a debugger and heres the stack trace.

      Each session has a generic project open (incase that matters).


      Stack trace from commit 1169693c5552caa32df01c41f13fccb915c0a839

      Program received signal SIGSEGV, Segmentation fault.
      0x00007fffe03a87a6 in Core::EditorManager::viewForEditor (editor=0x0) at editormanager/editormanager.cpp:557
      (gdb) bt
      #0 0x00007fffe03a87a6 in Core::EditorManager::viewForEditor (editor=0x0) at editormanager/editormanager.cpp:557
      #1 0x00007fffe03ac2bf in Core::EditorManager::activateEditor (editor=0x0, flags=...) at editormanager/editormanager.cpp:1054
      #2 0x00007fffe03b421d in Core::EditorManager::removeAllSplits (this=0x941330) at editormanager/editormanager.cpp:2218
      #3 0x00007fffe03b25b5 in Core::EditorManager::restoreState (this=0x941330, state=...) at editormanager/editormanager.cpp:1982
      #4 0x00007fffd8ead72b in ProjectExplorer::SessionManager::restoreEditors (this=0xa261e0, reader=...) at session.cpp:779
      #5 0x00007fffd8eae310 in ProjectExplorer::SessionManager::loadSession (this=0xa261e0, session=...) at session.cpp:881
      #6 0x00007fffd8e07ad5 in ProjectExplorer::ProjectExplorerPlugin::setSession (this=0x99ad90, action=0x23688c0) at projectexplorer.cpp:3002
      #7 0x00007fffd8faee4a in ProjectExplorer::ProjectExplorerPlugin::qt_static_metacall (_o=0x99ad90, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0x7fffffffc480) at .moc/debug-shared/moc_projectexplorer.cpp:500
      #8 0x00007ffff66b2126 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
      #9 0x00007ffff74b7c7f in QActionGroup::triggered(QAction*) () from /usr/lib/libQt5Widgets.so.5
      #10 0x00007ffff74b87c9 in ?? () from /usr/lib/libQt5Widgets.so.5
      #11 0x00007ffff66b2126 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
      #12 0x00007ffff74b4a32 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
      #13 0x00007ffff74b6d48 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
      #14 0x00007ffff7621f5a in ?? () from /usr/lib/libQt5Widgets.so.5
      #15 0x00007ffff7625f46 in ?? () from /usr/lib/libQt5Widgets.so.5
      #16 0x00007ffff7629eda in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
      #17 0x00007ffff74f4ef9 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
      #18 0x00007ffff762a51b in QMenu::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
      #19 0x00007ffff74bb8dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
      #20 0x00007ffff74c104d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
      #21 0x00007ffff668e2fd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
      #22 0x00007ffff74bf261 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
      #23 0x00007ffff751054b in ?? () from /usr/lib/libQt5Widgets.so.5
      #24 0x00007ffff7512003 in ?? () from /usr/lib/libQt5Widgets.so.5
      #25 0x00007ffff74bb8dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
      #26 0x00007ffff74c05f2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
      #27 0x00007ffff668e2fd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
      #28 0x00007ffff6b4a977 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
      #29 0x00007ffff6b4c17d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
      #30 0x00007ffff6b38fd8 in QWindowSystemInterface::sendWindowSystemEventsImplementation(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
      #31 0x00007fffee329240 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
      #32 0x00007ffff52b2f06 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
      #33 0x00007ffff52b3258 in ?? () from /usr/lib/libglib-2.0.so.0
      #34 0x00007ffff52b32fc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
      #35 0x00007ffff66d2a0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
      #36 0x00007ffff668d1ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
      #37 0x00007ffff66922b1 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
      #38 0x000000000040df27 in main (argc=1, argv=0x7fffffffdfe8) at main.cpp:517

      Attachments

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

        Activity

          People

            davschul David Schulz
            ideasman42 Campbell Barton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes