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

Recursion crash in CMake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.3.0-beta1
    • None
    • Linux 64 gcc 5.4

    Description

      When trying to open the shiboken2 project from PySide (which does not have QML), a recursion crash occurs.

      1   __realpath                                                                                                                                                                                                                                                                             canonicalize.c              183  0x7fcc4057e6fa 
      2   QFileSystemEngine::canonicalName                                                                                                                                                                                                                                                       qfilesystemengine_unix.cpp  279  0x7fcc4135c548 
      3   QFileInfoPrivate::getFileName                                                                                                                                                                                                                                                          qfileinfo.cpp               58   0x7fcc412ef59b 
      4   QFileInfo::canonicalFilePath                                                                                                                                                                                                                                                           qfileinfo.cpp               558  0x7fcc412f09ec 
      5   QmlJSTools::Internal::ModelManager::defaultProjectInfoForProject                                                                                                                                                                                                                       qmljsmodelmanager.cpp       110  0x7fcc28101a12 
      6   CMakeProjectManager::CMakeProject::updateQmlJSCodeModel                                                                                                                                                                                                                                cmakeproject.cpp            205  0x7fcc25f0146a 
      7   CMakeProjectManager::CMakeProject::updateProjectData                                                                                                                                                                                                                                   cmakeproject.cpp            186  0x7fcc25f0129f 
      8   CMakeProjectManager::Internal::CMakeBuildConfiguration::<lambda(const QString&)>::operator()(const QString &) const                                                                                                                                                                    cmakebuildconfiguration.cpp 153  0x7fcc25f25f72 
      9   QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<const QString&>, void, CMakeProjectManager::Internal::CMakeBuildConfiguration::ctor()::<lambda(const QString&)>>::call(CMakeProjectManager::Internal::CMakeBuildConfiguration::<lambda(const QString&)> &, void * *) qobjectdefs_impl.h          137  0x7fcc25f2a158 
      10  QtPrivate::Functor<CMakeProjectManager::Internal::CMakeBuildConfiguration::ctor()::<lambda(const QString&)>, 1>::call<QtPrivate::List<QString const&>, void>(CMakeProjectManager::Internal::CMakeBuildConfiguration::<lambda(const QString&)> &, void *, void * *)                     qobjectdefs_impl.h          249  0x7fcc25f29fbc 
      11  QtPrivate::QFunctorSlotObject<CMakeProjectManager::Internal::CMakeBuildConfiguration::ctor()::<lambda(const QString&)>, 1, QtPrivate::List<const QString&>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                                                qobject_impl.h              168  0x7fcc25f29e3e 
      12  QtPrivate::QSlotObjectBase::call                                                                                                                                                                                                                                                       qobject_impl.h              101  0x7fcc414212dd 
      13  QMetaObject::activate                                                                                                                                                                                                                                                                  qobject.cpp                 3726 0x7fcc4141df97 
      14  QMetaObject::activate                                                                                                                                                                                                                                                                  qobject.cpp                 3605 0x7fcc4141d890 
      15  CMakeProjectManager::Internal::BuildDirManager::errorOccured                                                                                                                                                                                                                           moc_builddirmanager.cpp     164  0x7fcc25faaa76 
      16  QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, void (CMakeProjectManager::Internal::BuildDirManager:: *)(QString const&) const>::call                                                                                                        qobjectdefs_impl.h          149  0x7fcc25ee9916 
      17  QtPrivate::FunctionPointer<void (CMakeProjectManager::Internal::BuildDirManager:: *)(QString const&) const>::call<QtPrivate::List<QString const&>, void>                                                                                                                               qobjectdefs_impl.h          188  0x7fcc25ee898b 
      18  QtPrivate::QSlotObject<void (CMakeProjectManager::Internal::BuildDirManager:: *)(QString const&) const, QtPrivate::List<QString const&>, void>::impl                                                                                                                                   qobject_impl.h              120  0x7fcc25ee7c18 
      19  QtPrivate::QSlotObjectBase::call                                                                                                                                                                                                                                                       qobject_impl.h              101  0x7fcc414212dd 
      20  QMetaObject::activate                                                                                                                                                                                                                                                                  qobject.cpp                 3726 0x7fcc4141df97 
      

      It seems sth is connected to errorOccurred that tries to again update the project information.

      Only happens in 4.3 at d9a66a5406a760d5fc04e8396ab283c923f0b9fa, not in master.

      Attachments

        Issue Links

          Activity

            People

              hunger Tobias Hunger
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: