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

Crash when editing cpp file (built with Qt6)

    XMLWordPrintable

Details

    • 448cdb7bb5ec58f55ea5065de5325e1be9eaf238 (qt-creator/qt-creator/4.14)

    Description

      Crash during editing cpp file, when typing a function name. It happened when a popup window appeared showing possible matching function names.

      1   __gnu_cxx::__ops::_Iter_equal_to_iter::operator()<QChar const *, QChar const *>                                                                                                                                                                                                                                                                                     predefined_ops.h           115  0x7fffbfcb9550 
      2   std::__mismatch<QChar const *, QChar const *, __gnu_cxx::__ops::_Iter_equal_to_iter>                                                                                                                                                                                                                                                                                stl_algobase.h             1744 0x7fffbfcb913d 
      3   std::mismatch<QChar const *, QChar const *>                                                                                                                                                                                                                                                                                                                         stl_algobase.h             1779 0x7fffbfcb8ef5 
      4   CppTools::commonPrefixLength                                                                                                                                                                                                                                                                                                                                        cppfileiterationorder.cpp  113  0x7fffbfcb871e 
      5   CppTools::FileIterationOrder::createEntryFromFilePath                                                                                                                                                                                                                                                                                                               cppfileiterationorder.cpp  122  0x7fffbfcb8791 
      6   CppTools::FileIterationOrder::insert                                                                                                                                                                                                                                                                                                                                cppfileiterationorder.cpp  128  0x7fffbfcb87e5 
      7   CppTools::SymbolFinder::insertCache                                                                                                                                                                                                                                                                                                                                 symbolfinder.cpp           503  0x7fffbfd8ac21 
      8   CppTools::SymbolFinder::fileIterationOrder                                                                                                                                                                                                                                                                                                                          symbolfinder.cpp           453  0x7fffbfd8a6cc 
      9   CppTools::SymbolFinder::findMatchingDefinition                                                                                                                                                                                                                                                                                                                      symbolfinder.cpp           172  0x7fffbfd885d8 
      10  CppEditor::Internal::findLinkHelper                                                                                                                                                                                                                                                                                                                                 cppfunctiondecldeflink.cpp 167  0x7fffbde83a5f 
      11  Utils::Internal::runAsyncReturnVoidDispatch<QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, QSharedPointer<CppEditor::Internal::FunctionDeclDefLink> ( *)(QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, CppTools::CppRefactoringChanges), QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, CppTools::CppRefactoringChanges>          runextensions.h            250  0x7fffbde9631a 
      12  Utils::Internal::runAsyncQFutureInterfaceDispatch<QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, QSharedPointer<CppEditor::Internal::FunctionDeclDefLink> ( *)(QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, CppTools::CppRefactoringChanges), QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, CppTools::CppRefactoringChanges>    runextensions.h            264  0x7fffbde9624d 
      13  Utils::Internal::runAsyncMemberDispatch<QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, QSharedPointer<CppEditor::Internal::FunctionDeclDefLink> ( *)(QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, CppTools::CppRefactoringChanges), QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, CppTools::CppRefactoringChanges, void>        runextensions.h            274  0x7fffbde96152 
      14  Utils::Internal::runAsyncImpl<QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, QSharedPointer<CppEditor::Internal::FunctionDeclDefLink> ( *)(QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, CppTools::CppRefactoringChanges), QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, CppTools::CppRefactoringChanges>                        runextensions.h            303  0x7fffbde9605f 
      15  Utils::Internal::AsyncJob<QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, QSharedPointer<CppEditor::Internal::FunctionDeclDefLink> (&)(QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, CppTools::CppRefactoringChanges), QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>&, CppTools::CppRefactoringChanges&>::runHelper<0ul, 1ul, 2ul> runextensions.h            372  0x7fffbde95f1c 
      16  Utils::Internal::AsyncJob<QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, QSharedPointer<CppEditor::Internal::FunctionDeclDefLink> (&)(QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>, CppTools::CppRefactoringChanges), QSharedPointer<CppEditor::Internal::FunctionDeclDefLink>&, CppTools::CppRefactoringChanges&>::run                      runextensions.h            352  0x7fffbde95db9 
      17  Utils::Internal::RunnableThread::run                                                                                                                                                                                                                                                                                                                                runextensions.cpp          39   0x7ffff7d412fd 
      18  QThreadPrivate::start                                                                                                                                                                                                                                                                                                                                               qthread_unix.cpp           329  0x7ffff5b680db 
      19  start_thread                                                                                                                                                                                                                                                                                                                                                                                        0x7ffff546e3f9 
      20  clone                                                                                                                                                                                                                                                                                                                                                                                               0x7ffff539b903 
      

      Attachments

        Issue Links

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

          Activity

            People

              jkobus Jarek Kobus
              jkobus Jarek Kobus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes