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

Qt Creator crash in src\plugins\projectexplorer\runcontrol.cpp

    XMLWordPrintable

Details

    • Windows
    • f558810fd (15.0)

    Description

      nullptr access, stack trace:  

      ProjectExplorer.dll!ProjectExplorer::RunControl::setApplicationProcessHandle(const Utils::ProcessHandle & handle) line 1032
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\runcontrol.cpp (1032)
      ProjectExplorer.dll!ProjectExplorer::Internal::RunControlPrivate::checkAutoDeleteAndEmitStopped() line 1105
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\runcontrol.cpp (1105)
      ProjectExplorer.dll!ProjectExplorer::Internal::RunControlPrivate::setState(ProjectExplorer::Internal::RunControlState newState) line 1212
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\runcontrol.cpp (1212)
      ProjectExplorer.dll!ProjectExplorer::Internal::RunControlPrivate::onWorkerStopped(ProjectExplorer::RunWorker * worker) line 850
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\runcontrol.cpp (850)
      ProjectExplorer.dll!ProjectExplorer::RunWorker::reportStopped() line 1736
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\runcontrol.cpp (1736)
      ProjectExplorer.dll!ProjectExplorer::Internal::SimpleTargetRunnerPrivate::forwardDone() line 1492
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\runcontrol.cpp (1492)
      ProjectExplorer.dll!ProjectExplorer::Internal::SimpleTargetRunnerPrivate::~SimpleTargetRunnerPrivate() line 1322
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\runcontrol.cpp (1322)
      ProjectExplorer.dll!ProjectExplorer::Internal::SimpleTargetRunnerPrivate::`scalar deleting destructor'(unsigned int)
      [Inlineframe] ProjectExplorer.dll!std::default_delete<ProjectExplorer::Internal::SimpleTargetRunnerPrivate>::operator()(ProjectExplorer::Internal::SimpleTargetRunnerPrivate *) line 3090
      	at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\memory (3090)
      [Inlineframe] ProjectExplorer.dll!std::unique_ptr<ProjectExplorer::Internal::SimpleTargetRunnerPrivate,std::default_delete<ProjectExplorer::Internal::SimpleTargetRunnerPrivate>>::{dtor}() line 3198
      	at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\memory (3198)
      ProjectExplorer.dll!ProjectExplorer::SimpleTargetRunner::~SimpleTargetRunner() line 1476
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\runcontrol.cpp (1476)
      ProjectExplorer.dll!ProjectExplorer::SimpleTargetRunner::`vector deleting destructor'(unsigned int)
      [Inlineframe] ProjectExplorer.dll!qDeleteAll(QList<QPointer<ProjectExplorer::RunWorker>>::const_iterator begin, QList<QPointer<ProjectExplorer::RunWorker>>::const_iterator) line 27
      	at C:\Users\qt\work\build\qt_install_dir\include\QtCore\qalgorithms.h (27)
      [Inlineframe] ProjectExplorer.dll!qDeleteAll(const QList<QPointer<ProjectExplorer::RunWorker>> &) line 35
      	at C:\Users\qt\work\build\qt_install_dir\include\QtCore\qalgorithms.h (35)
      [Inlineframe] ProjectExplorer.dll!ProjectExplorer::Internal::RunControlPrivate::{dtor}() line 314
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\runcontrol.cpp (314)
      ProjectExplorer.dll!ProjectExplorer::Internal::RunControlPrivate::`scalar deleting destructor'(unsigned int)
      [Inlineframe] ProjectExplorer.dll!std::default_delete<ProjectExplorer::Internal::RunControlPrivate>::operator()(ProjectExplorer::Internal::RunControlPrivate *) line 3090
      	at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\memory (3090)
      [Inlineframe] ProjectExplorer.dll!std::unique_ptr<ProjectExplorer::Internal::RunControlPrivate,std::default_delete<ProjectExplorer::Internal::RunControlPrivate>>::{dtor}() line 3198
      	at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\memory (3198)
      ProjectExplorer.dll!ProjectExplorer::RunControl::~RunControl() line 453
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\runcontrol.cpp (453)
      ProjectExplorer.dll!ProjectExplorer::RunControl::`vector deleting destructor'(unsigned int)
      ProjectExplorer.dll!ProjectExplorer::Internal::AppOutputPane::closeTab(int tabIndex, ProjectExplorer::Internal::AppOutputPane::CloseTabMode closeTabMode) line 660
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\appoutputpane.cpp (660)
      ProjectExplorer.dll!ProjectExplorer::Internal::AppOutputPane::closeTabs(ProjectExplorer::Internal::AppOutputPane::CloseTabMode mode) line 613
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\appoutputpane.cpp (613)
      ProjectExplorer.dll!ProjectExplorer::Internal::AppOutputPane::contextMenuRequested(const QPoint & pos, int index) line 750
      	at C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\appoutputpane.cpp (750)
      Qt6Core.dll!00007fffc347e9bb()
      Qt6Core.dll!00007fffc3481484()
      ProjectExplorer.dll!ProjectExplorer::Internal::TabWidget::contextMenuRequested(const QPoint & _t1, int _t2) line 143
      	at C:\Users\qt\work\build\qt-creator_build\build\src\plugins\projectexplorer\ProjectExplorer_autogen\include\appoutputpane.moc (143)
      Qt6Core.dll!00007fffc347e9bb()
      Qt6Core.dll!00007fffc3481484()
      Qt6Widgets.dll!00007fffc429742a()
      Qt6Widgets.dll!00007fffc4299953()
      Qt6Widgets.dll!00007fffc4252a4e()
      Qt6Widgets.dll!00007fffc4251240()
      Qt6Core.dll!00007fffc343da5c()
      Qt6Widgets.dll!00007fffc42bd718()
      Qt6Widgets.dll!00007fffc42bacc2()
      Qt6Widgets.dll!00007fffc4252a4e()
      Qt6Widgets.dll!00007fffc4251b71()
      Qt6Core.dll!00007fffc343da5c()
      Qt6Gui.dll!00007fffc3a16818()
      Qt6Gui.dll!00007fffc3a748fa()
      Qt6Core.dll!00007fffc35ce600()
      Qt6Gui.dll!00007fffc3d0f549()
      Qt6Core.dll!00007fffc34452ef()
      Qt6Core.dll!00007fffc343af0d()
      qtcreator.exe!main(int argc, char * * argv) line 894
      	at C:\Users\qt\work\build\qt-creator\src\app\main.cpp (894)
      qtcreator.exe!qtEntryPoint() line 59
      	at C:\Users\qt\work\qt\qtbase\src\entrypoint\qtentrypoint_win.cpp (59)
      [Inlineframe] qtcreator.exe!invoke_main() line 102
      	unter D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (102)
      qtcreator.exe!__scrt_common_main_seh() line 288
      	unter D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (288)
      kernel32.dll!BaseThreadInitThunk()
      ntdll.dll!00007ff80d54af28()
      
      

      attached crash dump

      Attachments

        1. qtcreator.exe.12312.dmp.zip
          2.35 MB
          Bernhard Stöcker
        For Gerrit Dashboard: QTCREATORBUG-31801
        # Subject Branch Project Status CR V

        Activity

          People

            hjk hjk
            stoeckerb Bernhard Stöcker
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes