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

Crash when switching run configurations

    XMLWordPrintable

Details

    Description

      The master started to crash several days ago, selecting any other run config crashes constantly in the same place, the backtrace is below, it does it in gdb or not, debug or release, Runnable seems corrupted.

      Program received signal SIGSEGV, Segmentation fault.
      0x000000010db33e3b in bool ProjectExplorer::Runnable::is<ProjectExplorer::StandardRunnable>() const ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      (gdb) p d
      Cannot access memory at address 0x61b90
      (gdb) bt
      #0 0x000000010db33e3b in bool ProjectExplorer::Runnable::is<ProjectExplorer::StandardRunnable>() const ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #1 0x000000010db3338a in ProjectExplorer::Internal::LocalApplicationRunControlFactory::canRun(ProjectExplorer::RunConfiguration*, Core::Id) const ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #2 0x000000010d8dea89 in ProjectExplorer::findRunControlFactory(ProjectExplorer::RunConfiguration*, Core::Id)::$_37::operator()(ProjectExplorer::IRunControlFactory*) const () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #3 0x000000010d8de959 in ProjectExplorer::IRunControlFactory* ExtensionSystem::PluginManager::getObject<ProjectExplorer::IRunControlFactory, ProjectExplorer::findRunControlFactory(ProjectExplorer::RunConfiguration*, Core::Id)::$_37>(ProjectExplorer::findRunControlFactory(ProjectExplorer::RunConfiguration*, Core::Id)::$_37) ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #4 0x000000010d8d906d in ProjectExplorer::findRunControlFactory(ProjectExplorer::RunConfiguration*, Core::Id) ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #5 0x000000010d8dcbcc in ProjectExplorer::ProjectExplorerPlugin::canRunStartupProject(Core::Id, QString*) ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #6 0x000000010d8d43ae in ProjectExplorer::ProjectExplorerPluginPrivate::slotUpdateRunActions() ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #7 0x000000010d90418a in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ProjectExplorer::ProjectExplorerPluginPrivate::)()>::call(void (ProjectExplorer::ProjectExplorerPluginPrivate::)(), ProjectExplorer::ProjectExplorerPluginPrivate*, void**) ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #8 0x000000010d9040e0 in void QtPrivate::FunctionPointer<void (ProjectExplorer::ProjectExplorerPluginPrivate::)()>::call<QtPrivate::List<>, void>(void (ProjectExplorer::ProjectExplorerPluginPrivate::)(), ProjectExplorer::ProjectExplorerPluginPrivate*, void**) ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #9 0x000000010d904006 in QtPrivate::QSlotObject<void (ProjectExplorer::ProjectExplorerPluginPrivate::)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase, QObject*, void*, bool) () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #10 0x000000010149b0b1 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/local/qt/current/lib/QtCore.framework/Versions/5/QtCore
      #11 0x000000010dc19a25 in ProjectExplorer::ProjectExplorerPlugin::updateRunActions (this=0x102463f20) at .moc/debug-shared/moc_projectexplorer.cpp:433
      #12 0x000000010d8da293 in ProjectExplorer::ProjectExplorerPluginPrivate::updateDeployActions() ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #13 0x000000010d8d566e in ProjectExplorer::ProjectExplorerPluginPrivate::updateActions() ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #14 0x000000010d90418a in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ProjectExplorer::ProjectExplorerPluginPrivate::)()>::call(void (ProjectExplorer::ProjectExplorerPluginPrivate::)(), ProjectExplorer::ProjectExplorerPluginPrivate*, void**) ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #15 0x000000010d9040e0 in void QtPrivate::FunctionPointer<void (ProjectExplorer::ProjectExplorerPluginPrivate::)()>::call<QtPrivate::List<>, void>(void (ProjectExplorer::ProjectExplorerPluginPrivate::)(), ProjectExplorer::ProjectExplorerPluginPrivate*, void**) ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #16 0x000000010d904006 in QtPrivate::QSlotObject<void (ProjectExplorer::ProjectExplorerPluginPrivate::)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase, QObject*, void*, bool) () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #17 0x000000010149b0b1 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/local/qt/current/lib/QtCore.framework/Versions/5/QtCore
      #18 0x000000010dc25745 in ProjectExplorer::Project::buildConfigurationEnabledChanged (this=0x12a34b150) at .moc/debug-shared/moc_project.cpp:312
      #19 0x000000010da35352 in ProjectExplorer::Project::changeBuildConfigurationEnabled() ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #20 0x000000010da3c20a in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ProjectExplorer::Project::)()>::call(void (ProjectExplorer::Project::)(), ProjectExplorer::Project*, void**) () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #21 0x000000010da3c160 in void QtPrivate::FunctionPointer<void (ProjectExplorer::Project::)()>::call<QtPrivate::List<>, void>(void (ProjectExplorer::Project::)(), ProjectExplorer::Project*, void**) () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #22 0x000000010da3c086 in QtPrivate::QSlotObject<void (ProjectExplorer::Project::)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase, QObject*, void**,--Type <return> to continue, or q <return> to quit--
      bool*) () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #23 0x000000010149b0b1 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/local/qt/current/lib/QtCore.framework/Versions/5/QtCore
      #24 0x000000010dc215c5 in ProjectExplorer::Target::buildConfigurationEnabledChanged (this=0x10aebab70) at .moc/debug-shared/moc_target.cpp:469
      #25 0x000000010d9d48f2 in ProjectExplorer::Target::changeBuildConfigurationEnabled() ()
      from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #26 0x000000010d9e46fa in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ProjectExplorer::Target::)()>::call(void (ProjectExplorer::Target::)(), ProjectExplorer::Target*, void**) () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #27 0x000000010d9e4650 in void QtPrivate::FunctionPointer<void (ProjectExplorer::Target::)()>::call<QtPrivate::List<>, void>(void (ProjectExplorer::Target::)(), ProjectExplorer::Target*, void**) () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #28 0x000000010d9e4576 in QtPrivate::QSlotObject<void (ProjectExplorer::Target::)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase, QObject*, void*, bool) () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libProjectExplorer_debug.dylib
      #29 0x000000010149b0b1 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/local/qt/current/lib/QtCore.framework/Versions/5/QtCore
      #30 0x000000010dc272e5 in ProjectExplorer::BuildConfiguration::enabledChanged (this=0x10aecc5e0) at .moc/debug-shared/moc_buildconfiguration.cpp:172
      #31 0x000000011c51ac13 in ?? () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libQmakeProjectManager_debug.dylib
      #32 0x000000011c46af32 in ?? () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libQmakeProjectManager_debug.dylib
      #33 0x000000011c46b12a in ?? () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libQmakeProjectManager_debug.dylib
      #34 0x000000011c49779e in ?? () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libQmakeProjectManager_debug.dylib
      #35 0x000000011c4a3318 in ?? () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libQmakeProjectManager_debug.dylib
      #36 0x000000011c4a32e9 in ?? () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libQmakeProjectManager_debug.dylib
      #37 0x000000011c4a32a1 in ?? () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libQmakeProjectManager_debug.dylib
      #38 0x000000011c4a322d in ?? () from /Users/vlad/src/QtCreator/bin/Qt Creator.app/Contents/PlugIns/libQmakeProjectManager_debug.dylib
      #39 0x000000010149b0b1 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/local/qt/current/lib/QtCore.framework/Versions/5/QtCore
      #40 0x00000001012a5b29 in QFutureWatcherBase::event(QEvent*) () from /opt/local/qt/current/lib/QtCore.framework/Versions/5/QtCore
      #41 0x0000000100589ec6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/local/qt/current/lib/QtWidgets.framework/Versions/5/QtWidgets
      #42 0x000000010058c985 in QApplication::notify(QObject*, QEvent*) () from /opt/local/qt/current/lib/QtWidgets.framework/Versions/5/QtWidgets
      #43 0x0000000101467f24 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/local/qt/current/lib/QtCore.framework/Versions/5/QtCore
      #44 0x0000000101468b44 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/local/qt/current/lib/QtCore.framework/Versions/5/QtCore
      #45 0x000000010713584e in QCocoaEventDispatcherPrivate::processPostedEvents() () from /opt/local/qt56/5.6/clang_64/plugins/platforms/libqcocoa.dylib
      #46 0x0000000107136121 in QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) () from /opt/local/qt56/5.6/clang_64/plugins/platforms/libqcocoa.dylib
      #47 0x00007fff8c3fa881 in _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ ()
      from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
      #48 0x00007fff8c3d9fbc in __CFRunLoopDoSources0 () from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
      #49 0x00007fff8c3d94df in __CFRunLoopRun () from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
      #50 0x00007fff8c3d8ed8 in CFRunLoopRunSpecific () from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
      #51 0x00007fff8628a935 in RunCurrentEventLoopInMode () from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
      #52 0x00007fff8628a677 in ReceiveNextEventCommon () from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
      #53 0x00007fff8628a5af in _BlockUntilNextEventMatchingListInModeWithFilter ()
      from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
      #54 0x00007fff8e603df6 in _DPSNextEvent () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
      #55 0x00007fff8e603226 in -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
      #56 0x00007fff8e5f7d80 in -[NSApplication run] () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
      #57 0x000000010713501f in QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
      from /opt/local/qt56/5.6/clang_64/plugins/platforms/libqcocoa.dylib
      #58 0x00000001014642f1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/local/qt/current/lib/QtCore.framework/Versions/5/QtCore
      #59 0x0000000101468595 in QCoreApplication::exec() () from /opt/local/qt/current/lib/QtCore.framework/Versions/5/QtCore
      #60 0x000000010000cb1a in main (argc=1, argv=0x7fff5fbff6e0) at main.cpp:527
      (gdb)

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            vseryakov Vlad Seryakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes