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

Creator crashes on session switch

    XMLWordPrintable

Details

    • ee36b049634d7bf21650153960e85d3e76a6d29a

    Description

      To reproduce:

      1) Open a session with an installer framework
      2) Open a session with creator - crash

      Call stack:

      #0 0x00007ffff5e87a60 in typeinfo for QObjectData () from /home/jkobus/dev/qt-53-stable/qtbase/lib/libQt5Core.so.5
      #1 0x00007fffe4d762ca in ProjectExplorer::Internal::ProjectWindow::registerProject (this=0x8fcf10, project=0x3890460)
      at /home/jkobus/dev/creator-master/src/plugins/projectexplorer/projectwindow.cpp:328
      #2 0x00007fffe4f1301c in ProjectExplorer::Internal::ProjectWindow::qt_static_metacall (_o=0x8fcf10,
      _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffffff8e80) at .moc/debug-shared/moc_projectwindow.cpp:165
      #3 0x00007ffff59567fc in QMetaObject::activate (sender=0x8fbee0, signalOffset=3, local_signal_index=0,
      argv=0x7fffffff8e80) at kernel/qobject.cpp:3680
      #4 0x00007ffff595600a in QMetaObject::activate (sender=0x8fbee0,
      m=0x7fffe5312440 <ProjectExplorer::SessionManager::staticMetaObject>, local_signal_index=0, argv=0x7fffffff8e80)
      at kernel/qobject.cpp:3546
      #5 0x00007fffe4f1a24f in ProjectExplorer::SessionManager::projectAdded (this=0x8fbee0, _t1=0x3890460)
      at .moc/debug-shared/moc_session.cpp:275
      #6 0x00007fffe4de9481 in ProjectExplorer::SessionManager::addProjects (projects=...)
      at /home/jkobus/dev/creator-master/src/plugins/projectexplorer/session.cpp:313
      #7 0x00007fffe4de90f0 in ProjectExplorer::SessionManager::addProject (project=0x3890460)
      at /home/jkobus/dev/creator-master/src/plugins/projectexplorer/session.cpp:288
      #8 0x00007fffe4d24966 in ProjectExplorer::ProjectExplorerPlugin::openProjects (this=0x7d75e0, fileNames=...,
      errorString=0x7fffffff9370) at /home/jkobus/dev/creator-master/src/plugins/projectexplorer/projectexplorer.cpp:1430
      #9 0x00007fffe4dee598 in ProjectExplorer::SessionManagerPrivate::restoreProjects (this=0x8fc450, fileList=...)
      at /home/jkobus/dev/creator-master/src/plugins/projectexplorer/session.cpp:843
      #10 0x00007fffe4deeef1 in ProjectExplorer::SessionManager::loadSession (session=...)
      at /home/jkobus/dev/creator-master/src/plugins/projectexplorer/session.cpp:927
      #11 0x00007fffe4d26762 in ProjectExplorer::ProjectExplorerPlugin::loadSession (this=0x7d75e0, session=...)
      at /home/jkobus/dev/creator-master/src/plugins/projectexplorer/projectexplorer.cpp:1663
      #12 0x00007fffe4f10f10 in ProjectExplorer::ProjectExplorerPlugin::qt_static_metacall (_o=0x7d75e0,
      _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0x7fffffff98b0) at .moc/debug-shared/moc_projectexplorer.cpp:523
      #13 0x00007ffff59567fc in QMetaObject::activate (sender=0x8fbc90, signalOffset=3, local_signal_index=1,
      argv=0x7fffffff98b0) at kernel/qobject.cpp:3680
      #14 0x00007ffff595600a in QMetaObject::activate (sender=0x8fbc90,
      m=0x7fffe5320ae0 <ProjectExplorer::Internal::ProjectWelcomePage::staticMetaObject>, local_signal_index=1,
      argv=0x7fffffff98b0) at kernel/qobject.cpp:3546
      --Type <return> to continue, or q <return> to quit--
      #15 0x00007fffe4f302b3 in ProjectExplorer::Internal::ProjectWelcomePage::requestSession (this=0x8fbc90, _t1=...)
      at .moc/debug-shared/moc_projectwelcomepage.cpp:366
      #16 0x00007fffe4f30004 in ProjectExplorer::Internal::ProjectWelcomePage::qt_static_metacall (_o=0x8fbc90,
      _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffff99c0) at .moc/debug-shared/moc_projectwelcomepage.cpp:289
      #17 0x00007fffe4f301f0 in ProjectExplorer::Internal::ProjectWelcomePage::qt_metacall (this=0x8fbc90,
      _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffff99c0) at .moc/debug-shared/moc_projectwelcomepage.cpp:345
      #18 0x00007ffff591cd2f in QMetaObject::metacall (object=0x8fbc90, cl=QMetaObject::InvokeMetaMethod, idx=6,
      argv=0x7fffffff99c0) at kernel/qmetaobject.cpp:308
      #19 0x00007fffe3abc17c in CallMethod (object=0x8fbc90, index=6, returnType=43, argCount=1, argTypes=0x38a63b4, engine=
      0x1044e40, callArgs=0x7fffd2fff600) at jsruntime/qv4qobjectwrapper.cpp:1131
      #20 0x00007fffe3abcc8d in CallPrecise (object=0x8fbc90, data=..., engine=0x1044e40, callArgs=0x7fffd2fff600)
      at jsruntime/qv4qobjectwrapper.cpp:1383
      #21 0x00007fffe3abf310 in QV4::QObjectMethod::callInternal (this=0x7fffd003dc70, callData=0x7fffd2fff600)
      at jsruntime/qv4qobjectwrapper.cpp:1872
      #22 0x00007fffe3abedcf in QV4::QObjectMethod::call (m=0x7fffd003dc70, callData=0x7fffd2fff600)
      at jsruntime/qv4qobjectwrapper.cpp:1801
      #23 0x00007fffe39ba606 in QV4::Object::call (this=0x7fffd003dc70, d=0x7fffd2fff600)
      at /home/jkobus/dev/qt-53-stable/qtbase/include/QtQml/5.3.1/QtQml/private/../../../../../../qtdeclarative/src/qml/jsruntime/qv4object_p.h:270
      #24 0x00007fffe3ad1364 in QV4::Runtime::callProperty (context=0x7fffffffa140, name=..., callData=...)
      at jsruntime/qv4runtime.cpp:938
      #25 0x00007fffd80d3ec4 in ?? ()
      #26 0x00007fffffffa0f0 in ?? ()
      #27 0x00007fffe3a379ef in QV4::ExecutionContext::ExecutionContext (this=0x0, engine=0x7fffd2fff318, t=0)
      at jsruntime/qv4context_p.h:93
      #28 0x00007fffe3a668cd in QV4::SimpleScriptFunction::call (that=0x7fff3ff0cff0, callData=0x7fffd2fff330)
      at jsruntime/qv4functionobject.cpp:529
      #29 0x00007fffe39ba606 in QV4::Object::call (this=0x7fff3ff0cff0, d=0x7fffd2fff330)
      at /home/jkobus/dev/qt-53-stable/qtbase/include/QtQml/5.3.1/QtQml/private/../../../../../../qtdeclarative/src/qml/jsruntime/qv4object_p.h:270
      #30 0x00007fffe3b88337 in QQmlJavaScriptExpression::evaluate (this=0x13cd480, context=0x1110910, function=...,
      --Type <return> to continue, or q <return> to quit--
      callData=0x7fffd2fff330, isUndefined=0x0) at qml/qqmljavascriptexpression.cpp:166
      #31 0x00007fffe3b1c7d8 in QQmlBoundSignalExpression::evaluate (this=0x13cd460, a=0x7fffffffaed0)
      at qml/qqmlboundsignal.cpp:289
      #32 0x00007fffe3b1ce1e in QQmlBoundSignal_callback (e=0x13cd428, a=0x7fffffffaed0) at qml/qqmlboundsignal.cpp:416
      #33 0x00007fffe3b68cb5 in QQmlNotifier::emitNotify (endpoint=0x13cd428, a=0x7fffffffaed0) at qml/qqmlnotifier.cpp:81
      #34 0x00007fffe3af0518 in QQmlData::signalEmitted (object=0x143f0b0, index=60, a=0x7fffffffaed0) at qml/qqmlengine.cpp:720
      #35 0x00007ffff5956204 in QMetaObject::activate (sender=0x143f0b0, signalOffset=57, local_signal_index=3,
      argv=0x7fffffffaed0) at kernel/qobject.cpp:3567
      #36 0x00007fffe3aec894 in QQmlVMEMetaObject::activate (this=0x13148c0, object=0x143f0b0, index=77, args=0x7fffffffaed0)
      at qml/qqmlvmemetaobject.cpp:1333
      #37 0x00007fffe3aea8a1 in QQmlVMEMetaObject::metaCall (this=0x13148c0, c=QMetaObject::InvokeMetaMethod, _id=77,
      a=0x7fffffffaed0) at qml/qqmlvmemetaobject.cpp:922
      #38 0x00007fffe38f38ca in QAbstractDynamicMetaObject::metaCall (this=0x13148c0, c=QMetaObject::InvokeMetaMethod, _id=77,
      a=0x7fffffffaed0)
      at /home/jkobus/dev/qt-53-stable/qtbase/include/QtCore/5.3.1/QtCore/private/../../../../../src/corelib/kernel/qobject_p.h:428
      #39 0x00007ffff591cd0f in QMetaObject::metacall (object=0x143f0b0, cl=QMetaObject::InvokeMetaMethod, idx=77,
      argv=0x7fffffffaed0) at kernel/qmetaobject.cpp:306
      #40 0x00007fffe3abc28b in CallMethod (object=0x143f0b0, index=77, returnType=43, argCount=0, argTypes=0x0,
      engine=0x1044e40, callArgs=0x7fffd2fff2d8) at jsruntime/qv4qobjectwrapper.cpp:1149
      #41 0x00007fffe3abccdd in CallPrecise (object=0x143f0b0, data=..., engine=0x1044e40, callArgs=0x7fffd2fff2d8)
      at jsruntime/qv4qobjectwrapper.cpp:1387
      #42 0x00007fffe3abf310 in QV4::QObjectMethod::callInternal (this=0x7fffd003dc20, callData=0x7fffd2fff2d8)
      at jsruntime/qv4qobjectwrapper.cpp:1872
      #43 0x00007fffe3abedcf in QV4::QObjectMethod::call (m=0x7fffd003dc20, callData=0x7fffd2fff2d8)
      at jsruntime/qv4qobjectwrapper.cpp:1801
      #44 0x00007fffe39ba606 in QV4::Object::call (this=0x7fffd003dc20, d=0x7fffd2fff2d8)
      at /home/jkobus/dev/qt-53-stable/qtbase/include/QtQml/5.3.1/QtQml/private/../../../../../../qtdeclarative/src/qml/jsruntime/qv4object_p.h:270
      #45 0x00007fffe3ad1364 in QV4::Runtime::callProperty (context=0x7fffffffb480, name=..., callData=...)
      at jsruntime/qv4runtime.cpp:938
      --Type <return> to continue, or q <return> to quit--
      #46 0x00007fffd81702f7 in ?? ()
      #47 0x00007fffffffb430 in ?? ()
      #48 0x00007fffe3a379ef in QV4::ExecutionContext::ExecutionContext (this=0x1, engine=0x1, t=0)
      at jsruntime/qv4context_p.h:93
      #49 0x00007fffe3a668cd in QV4::SimpleScriptFunction::call (that=0x7fff3ff0cd50, callData=0x7fffd2fff008)
      at jsruntime/qv4functionobject.cpp:529
      #50 0x00007fffe39ba606 in QV4::Object::call (this=0x7fff3ff0cd50, d=0x7fffd2fff008)
      at /home/jkobus/dev/qt-53-stable/qtbase/include/QtQml/5.3.1/QtQml/private/../../../../../../qtdeclarative/src/qml/jsruntime/qv4object_p.h:270
      #51 0x00007fffe3b88337 in QQmlJavaScriptExpression::evaluate (this=0x3d000e0, context=0x381c640, function=...,
      callData=0x7fffd2fff008, isUndefined=0x0) at qml/qqmljavascriptexpression.cpp:166
      #52 0x00007fffe3b1c7d8 in QQmlBoundSignalExpression::evaluate (this=0x3d000c0, a=0x7fffffffbc70)
      at qml/qqmlboundsignal.cpp:289
      #53 0x00007fffe3b1ce1e in QQmlBoundSignal_callback (e=0x3d00088, a=0x7fffffffbc70) at qml/qqmlboundsignal.cpp:416
      #54 0x00007fffe3b68cb5 in QQmlNotifier::emitNotify (endpoint=0x3d00088, a=0x7fffffffbc70) at qml/qqmlnotifier.cpp:81
      #55 0x00007fffe3af0518 in QQmlData::signalEmitted (object=0x1314440, index=44, a=0x7fffffffbc70) at qml/qqmlengine.cpp:720
      #56 0x00007ffff5956204 in QMetaObject::activate (sender=0x1314440, signalOffset=29, local_signal_index=15,
      argv=0x7fffffffbc70) at kernel/qobject.cpp:3567
      #57 0x00007ffff595600a in QMetaObject::activate (sender=0x1314440, m=0x7fffe471ef60 <QQuickMouseArea::staticMetaObject>,
      local_signal_index=15, argv=0x7fffffffbc70) at kernel/qobject.cpp:3546
      #58 0x00007fffe438b375 in QQuickMouseArea::clicked (this=0x1314440, _t1=0x7fffffffbcb0)
      at .moc/moc_qquickmousearea_p.cpp:531
      #59 0x00007fffe42a6b1e in QQuickMouseArea::setPressed (this=0x1314440, button=Qt::LeftButton, p=false)
      at items/qquickmousearea.cpp:1137
      #60 0x00007fffe42a51dd in QQuickMouseArea::mouseReleaseEvent (this=0x1314440, event=0x3d6e680)
      at items/qquickmousearea.cpp:745
      #61 0x00007fffe41f8d31 in QQuickItem::event (this=0x1314440, ev=0x3d6e680) at items/qquickitem.cpp:7091
      #62 0x00007ffff6fda32e in QApplicationPrivate::notify_helper (this=0x61b480, receiver=0x1314440, e=0x3d6e680)
      at kernel/qapplication.cpp:3522
      #63 0x00007ffff6fd7ac0 in QApplication::notify (this=0x7fffffffd490, receiver=0x1314440, e=0x3d6e680)
      at kernel/qapplication.cpp:2975
      --Type <return> to continue, or q <return> to quit--
      #64 0x00007ffff591427a in QCoreApplication::notifyInternal (this=0x7fffffffd490, receiver=0x1314440, event=0x3d6e680)
      at kernel/qcoreapplication.cpp:935
      #65 0x00007fffe41fd23b in QCoreApplication::sendEvent (receiver=0x1314440, event=0x3d6e680)
      at /home/jkobus/dev/qt-53-stable/qtbase/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
      #66 0x00007fffe421210e in QQuickWindow::sendEvent (this=0x1040960, item=0x1314440, e=0x3d6e680)
      at items/qquickwindow.cpp:2382
      #67 0x00007fffe420df0b in QQuickWindowPrivate::deliverMouseEvent (this=0x1040e60, event=0x7fffffffcf90)
      at items/qquickwindow.cpp:1467
      #68 0x00007fffe420e064 in QQuickWindow::mouseReleaseEvent (this=0x1040960, event=0x7fffffffcf90)
      at items/qquickwindow.cpp:1512
      #69 0x00007fffe42e6236 in QQuickView::mouseReleaseEvent (this=0x1040960, e=0x7fffffffcf90) at items/qquickview.cpp:640
      #70 0x00007ffff5f9469a in QWindow::event (this=0x1040960, ev=0x7fffffffcf90) at kernel/qwindow.cpp:1889
      #71 0x00007fffe420d675 in QQuickWindow::event (this=0x1040960, e=0x7fffffffcf90) at items/qquickwindow.cpp:1348
      #72 0x00007ffff6fda32e in QApplicationPrivate::notify_helper (this=0x61b480, receiver=0x1040960, e=0x7fffffffcf90)
      at kernel/qapplication.cpp:3522
      #73 0x00007ffff6fd7ac0 in QApplication::notify (this=0x7fffffffd490, receiver=0x1040960, e=0x7fffffffcf90)
      at kernel/qapplication.cpp:2975
      #74 0x00007ffff591427a in QCoreApplication::notifyInternal (this=0x7fffffffd490, receiver=0x1040960, event=0x7fffffffcf90)
      at kernel/qcoreapplication.cpp:935
      #75 0x00007ffff5f8bf0b in QCoreApplication::sendSpontaneousEvent (receiver=0x1040960, event=0x7fffffffcf90)
      at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:240
      #76 0x00007ffff5f85706 in QGuiApplicationPrivate::processMouseEvent (e=0x3c7dec0) at kernel/qguiapplication.cpp:1711
      #77 0x00007ffff5f84d4a in QGuiApplicationPrivate::processWindowSystemEvent (e=0x3c7dec0) at kernel/qguiapplication.cpp:1512
      #78 0x00007ffff5f6f127 in QWindowSystemInterface::sendWindowSystemEvents (flags=...)
      at kernel/qwindowsysteminterface.cpp:579
      #79 0x00007fffee6590dd in QUnixEventDispatcherQPA::processEvents (this=0x63f780, flags=...)
      at eventdispatchers/qunixeventdispatcher.cpp:71
      #80 0x00007ffff5910f96 in QEventLoop::processEvents (this=0x7fffffffd3a0, flags=...) at kernel/qeventloop.cpp:136
      #81 0x00007ffff5911279 in QEventLoop::exec (this=0x7fffffffd3a0, flags=...) at kernel/qeventloop.cpp:212
      #82 0x00007ffff5914963 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
      #83 0x00007ffff5f84af6 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1446
      --Type <return> to continue, or q <return> to quit--
      #84 0x00007ffff6fd72ed in QApplication::exec () at kernel/qapplication.cpp:2767
      #85 0x000000000040e535 in main (argc=1, argv=0x7fffffffe058) at /home/jkobus/dev/creator-master/src/app/main.cpp:533

      Attachments

        Activity

          People

            dt Daniel Teske
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: