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

Crash on Follow Symbol

    XMLWordPrintable

    Details

    • Commits:
      755932eca792011531a28c7bdae227ff2449c014 (qt-creator/qt-creator/6.0)

      Description

      Hi,

      I pressed F2 on a symbol in a macro, and Qt Creator crashed.

      #define MAC \
          foo->bar = 42; // Press F2 on bar
      

      Trace:

      1 UnhandledExceptionFilter                                                 KERNELBASE                         0x7ffd4692c247 
      2 memset                                                                   ntdll                              0x7ffd46e35270 
      3 _C_specific_handler                                                      ntdll                              0x7ffd46e1c776 
      4 _chkstk                                                                  ntdll                              0x7ffd46e3217f 
      5 RtlRaiseException                                                        ntdll                              0x7ffd46de1454 
      6 KiUserExceptionDispatcher                                                ntdll                              0x7ffd46e30cae 
      7 CppEditor::`anonymous namespace'::isCursorOnTrailingReturnType           cppfollowsymbolundercursor.cpp 423 0x7ffccd3776a1 
      8 CppEditor::`anonymous namespace'::maybeFixExpressionInTrailingReturnType cppfollowsymbolundercursor.cpp 449 0x7ffccd377a36 
      9 CppEditor::`anonymous namespace'::expressionUnderCursorAsString          cppfollowsymbolundercursor.cpp 462 0x7ffccd374b2f 
      10 CppEditor::FollowSymbolUnderCursor::findLink                             cppfollowsymbolundercursor.cpp 692 0x7ffccd37592d 
      11 CppEditor::Internal::CppRefactoringEngine::globalFollowSymbol            cpprefactoringengine.cpp       115 0x7ffccd4cb711 
      12 ClangCodeModel::Internal::RefactoringEngine::globalFollowSymbol          clangrefactoringengine.cpp     145 0x7ffcd4970a56 
      13 <lambda_ffe3e5c77bb281cd14620c6d51ace041>::operator()                    clangfollowsymbol.cpp          238 0x7ffcd49333e8 
      14 QObject::qt_static_metacall                                              Qt6Core                            0x7ffcd8bd1ab0 
      15 QMetaObject::activate                                                    Qt6Core                            0x7ffcd8bd3c54 
      16 QFutureWatcherBase::event                                                Qt6Core                            0x7ffcd8cf78a8 
      17 QApplicationPrivate::notify_helper                                       Qt6Widgets                         0x7ffccf7221fe 
      18 QApplication::notify                                                     Qt6Widgets                         0x7ffccf7212fb 
      19 QCoreApplication::notifyInternal2                                        Qt6Core                            0x7ffcd8b9a395 
      20 QCoreApplicationPrivate::sendPostedEvents                                Qt6Core                            0x7ffcd8b9c737 
      21 QWindowsGuiEventDispatcher::sendPostedEvents                             Qt6Gui                             0x7ffcd9b1624f 
      22 QEventDispatcherWin32::processEvents                                     Qt6Core                            0x7ffcd8ce8bd2 
      23 QWindowsGuiEventDispatcher::processEvents                                Qt6Gui                             0x7ffcd9b16229 
      24 QEventLoop::exec                                                         Qt6Core                            0x7ffcd8b9f03f 
      25 QCoreApplication::exec                                                   Qt6Core                            0x7ffcd8b9845c 
      26 main                                                                     main.cpp                       771 0x7ff6c5f88e0a 
      27 WinMain                                                                  qtcreator                          0x7ff6c5f8fee7 
      28 __scrt_common_main_seh                                                   exe_common.inl                 288 0x7ff6c5f8ec3a 
      29 BaseThreadInitThunk                                                      KERNEL32                           0x7ffd46b07034 
      30 RtlUserThreadStart                                                       ntdll                              0x7ffd46de2651 

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes