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

QmlDesigner: Crash when launching QmlPreview on qmake based project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 4.12.0, Qt Creator 4.12.1
    • QML Preview
    • None
    • Windows

    Description

      Open any qmake-based application. Select Build->QML Preview. Boom:

      003fc4c8 5d8ce5fe QmlProjectManager4!QmlProjectManager::QmlMainFileAspect::qmlBuildSystem(void)+0x14 [C:\Users\alportal\dev\tqtc-qtc-super\qtcreator\src\plugins\qmlprojectmanager\qmlmainfileaspect.cpp @ 270]
      003fc540 5ca64f65 QmlProjectManager4!QmlProjectManager::QmlMainFileAspect::mainScript(void)+0x4e [C:\Users\alportal\dev\tqtc-qtc-super\qtcreator\src\plugins\qmlprojectmanager\qmlmainfileaspect.cpp @ 200]
      003fc690 5ca62c26 QmlPreview4!<lambda_07dc9a6ca41653a76910faa92e845cdc>::operator()(void)+0x135 [C:\Users\alportal\dev\tqtc-qtc-super\qtcreator\src\plugins\qmlpreview\qmlpreviewruncontrol.cpp @ 138]
      003fc698 5ca63ea5 QmlPreview4!std::_Invoker_functor::_Call<<lambda_07dc9a6ca41653a76910faa92e845cdc> &>(class QmlPreview::LocalQmlPreviewSupport::{ctor}::__l2::<lambda_07dc9a6ca41653a76910faa92e845cdc> * _Obj = 0x1d76c8f4)+0x16 [C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\type_traits @ 1610]
      003fc6a4 5ca62c55 QmlPreview4!std::invoke<<lambda_07dc9a6ca41653a76910faa92e845cdc> &>(class QmlPreview::LocalQmlPreviewSupport::{ctor}::__l2::<lambda_07dc9a6ca41653a76910faa92e845cdc> * _Obj = 0x1d76c8f4)+0x15 [C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\type_traits @ 1610]
      003fc6b0 5ca6630a QmlPreview4!std::_Invoker_ret<void,1>::_Call<<lambda_07dc9a6ca41653a76910faa92e845cdc> &>(class QmlPreview::LocalQmlPreviewSupport::{ctor}::__l2::<lambda_07dc9a6ca41653a76910faa92e845cdc> * <_Vals_0> = 0x1d76c8f4)+0x15 [C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\type_traits @ 1628]
      003fc6c0 6337d556 QmlPreview4!std::_Func_impl_no_alloc<<lambda_07dc9a6ca41653a76910faa92e845cdc>,void>::_Do_call(void)+0x1a [C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\functional @ 926]
      003fc6d4 633aeda9 ProjectExplorer4!std::_Func_class<void>::operator()(void)+0x46 [C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\functional @ 976]
      003fc700 633ab4c0 ProjectExplorer4!ProjectExplorer::SimpleTargetRunner::start(void)+0x59 [C:\Users\alportal\dev\tqtc-qtc-super\qtcreator\src\plugins\projectexplorer\runcontrol.cpp @ 1143]
      003fc72c 633c2b24 ProjectExplorer4!ProjectExplorer::RunWorker::initiateStart(void)+0xd0 [C:\Users\alportal\dev\tqtc-qtc-super\qtcreator\src\plugins\projectexplorer\runcontrol.cpp @ 1374]
      003fc73c 633b6674 ProjectExplorer4!QtPrivate::FunctorCall<QtPrivate::IndexesList<>,QtPrivate::List<>,void,void (<function> * f = 0x62eec030, class ProjectExplorer::RunWorker * o = 0x0d700ff0, void ** arg = 0x1c7d76dc)+0x14 [C:\Users\alportal\dev\qt5\qtbase\src\corelib\kernel\qobjectdefs_impl.h @ 152]
      003fc750 633c4f29 ProjectExplorer4!QtPrivate::FunctionPointer<void (<function> * f = 0x62eec030, class ProjectExplorer::RunWorker * o = 0x0d700ff0, void ** arg = 0x1c7d76dc)+0x14 [C:\Users\alportal\dev\qt5\qtbase\src\corelib\kernel\qobjectdefs_impl.h @ 185]
      003fc774 6a034515 ProjectExplorer4!QtPrivate::QSlotObject<void (int which = 0n1, class QtPrivate::QSlotObjectBase * this_ = 0x12ac64e0, class QObject * r = 0x0d700ff0, void ** a = 0x1c7d76dc, bool * ret = 0x00000000)+0x69 [C:\Users\alportal\dev\qt5\qtbase\src\corelib\kernel\qobjectdefs_impl.h @ 418]
      003fc798 6a073acf Qt5Cored!QtPrivate::QSlotObjectBase::call(class QObject * r = 0x0d700ff0, void ** a = 0x1c7d76dc)+0x25 [C:\Users\alportal\dev\qt5\qtbase\src\corelib\kernel\qobjectdefs_impl.h @ 398]
      

      Attachments

        Issue Links

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

          Activity

            People

              tjenssen Tim Jenssen
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes