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

Crash in cpprefactoringchanges.cpp

    XMLWordPrintable

Details

    • Windows
    • 66a6cceaf (11.0)

    Description

      Qt Creator can crash (0xC0000005) when pressing Alt+Enter on a class name

      ast was nullptr

       

      Stacktrace:

      CppEditor.dll!CppEditor::CppRefactoringFile::startOf(const CPlusPlus::AST * ast) Zeile 159    C++
      CppEditor.dll!CppEditor::CppRefactoringFile::isCursorOn(const CPlusPlus::AST * ast) Zeile 130    C++
      CppEditor.dll!CppEditor::Internal::CppQuickFixInterface::isCursorOn(const CPlusPlus::AST * ast) Zeile 102    C++
      CppEditor.dll!CppEditor::Internal::AddDeclarationForUndeclaredIdentifier::handleCall(const CPlusPlus::CallAST * call, const CppEditor::Internal::CppQuickFixInterface & interface, QList<QSharedPointer<TextEditor::QuickFixOperation>> & result) Zeile 3116    C++
      CppEditor.dll!CppEditor::Internal::AddDeclarationForUndeclaredIdentifier::collectOperations(const CppEditor::Internal::CppQuickFixInterface & interface, QList<QSharedPointer<TextEditor::QuickFixOperation>> & result) Zeile 3030    C++
      [Inlineframe] CppEditor.dll!std::_Func_class<void,Utils::Link const &>::operator()(const Utils::Link &) Zeile 869    C++
      CppEditor.dll!CppEditor::FollowSymbolUnderCursor::findLink(const CppEditor::CursorInEditor & data, const std::function<void __cdecl(Utils::Link const &)> & processLinkCallback, bool resolveTarget, const CPlusPlus::Snapshot & theSnapshot, const QSharedPointer<CPlusPlus::Document> & documentFromSemanticInfo, CppEditor::SymbolFinder * symbolFinder, bool inNextSplit) Zeile 775    C++
      CppEditor.dll!CppEditor::Internal::BuiltinModelManagerSupport::followSymbol(const CppEditor::CursorInEditor & data, const std::function<void __cdecl(Utils::Link const &)> & processLinkCallback, bool resolveTarget, bool inNextSplit) Zeile 108    C++
      CppEditor.dll!CppEditor::Internal::AddDeclarationForUndeclaredIdentifier::match(const CppEditor::Internal::CppQuickFixInterface & interface, QList<QSharedPointer<TextEditor::QuickFixOperation>> & result) Zeile 3019    C++
      CppEditor.dll!CppEditor::Internal::quickFixOperations(const TextEditor::AssistInterface * interface) Zeile 155    C++
      CppEditor.dll!CppEditor::quickFixOperations(const TextEditor::AssistInterface * interface) Zeile 317    C++

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            stoeckerb Bernhard Stöcker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes