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

Qt Creator crashes when parsing Qt Creator sources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 2.5.0-rc
    • C/C++/Obj-C++ Support
    • None
    • Windows 32

    Description

      The crash happens on Windows 32-bit. Shortly before the crash, the memory consumption goes up above 1 Gig.

      0 RaiseException kernel32 0x7c812afb
      1 _CxxThrowException throw.cpp 157 0x102fc382
      2 qBadAlloc qglobal.cpp 1992 0x6705a68c
      3 QByteArray::realloc qbytearray.cpp 1470 0x6707d088
      4 QByteArray::append qbytearray.cpp 1690 0x6707d6fe
      5 CPlusPlus::Preprocessor::out pp-engine.h 172 0x38f8071
      6 CPlusPlus::Preprocessor::preprocess pp-engine.cpp 1008 0x3944bd6
      7 CPlusPlus::Preprocessor::operator() pp-engine.cpp 614 0x3942edf
      8 CPlusPlus::Preprocessor::operator() pp-engine.cpp 601 0x3942e0f
      9 CppTools::Internal::CppPreprocessor::sourceNeeded cppmodelmanager.cpp 626 0x36a95cc
      10 CppTools::Internal::CppPreprocessor::run cppmodelmanager.cpp 344 0x36a75a1
      11 CppTools::Internal::CppModelManager::parse cppmodelmanager.cpp 1308 0x36af021
      12 QtConcurrent::StoredInterfaceFunctionCall2<void,void (__cdecl*)(QFutureInterface<void> &,CppTools::Internal::CppPreprocessor *,QStringList),CppTools::Internal::CppPreprocessor *,QStringList>::run runextensions.h 165 0x36bac74
      13 QThreadPoolThread::run qthreadpool.cpp 107 0x67054ff8
      14 QThreadPrivate::start qthread_win.cpp 348 0x670761bf
      15 _callthreadstartex threadex.c 314 0x1024a293
      16 _threadstartex threadex.c 297 0x1024a224
      17 BaseThreadStart kernel32 0x7c80b729

      Looks like a memory issue in the preprocessor code.

      Attachments

        Issue Links

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

          Activity

            People

              erikv Erik Verbruggen
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes