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

Infinite calls to setParentheses

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 6.0.0-beta1
    • C/C++/Obj-C++ Support
    • None

    Description

      Sometimes when I checkout another branch outside Qt Creator, it starts spinning endlessly when reloading a file.

      The traces I catch are in setParentheses and friends.

      Example:

                                                                                                                
      1  TextEditor::TextDocumentLayout::setParentheses               textdocumentlayout.cpp  390 0x7ffcedef2aec 
      2  CppEditor::SemanticHighlighter::onHighlighterResultAvailable semantichighlighter.cpp 207 0x7ffccfab5051 
      3  QObject::qt_static_metacall                                  Qt5Core                     0x7ffcee2a1d49 
      4  QFutureWatcherBase::resultsReadyAt                           Qt5Core                     0x7ffcee0dec9c 
      5  QFutureWatcherBase::resumed                                  Qt5Core                     0x7ffcee0dee62 
      6  QFutureWatcherBase::event                                    Qt5Core                     0x7ffcee0de85f 
      7  QApplicationPrivate::notify_helper                           Qt5Widgets                  0x7ffceed54990 
      8  QApplication::notify                                         Qt5Widgets                  0x7ffceed53a13 
      9  QCoreApplication::notifyInternal2                            Qt5Core                     0x7ffcee282aca 
      10 QCoreApplicationPrivate::sendPostedEvents                    Qt5Core                     0x7ffcee284845 
      11 qt_plugin_query_metadata                                     qwindows                    0x7ffcf13d2dff 
      12 QEventDispatcherWin32::processEvents                         Qt5Core                     0x7ffcee2cba5a 
      13 qt_plugin_query_metadata                                     qwindows                    0x7ffcf13d2dd9 
      14 QEventLoop::exec                                             Qt5Core                     0x7ffcee27ef2c 
      15 QCoreApplication::exec                                       Qt5Core                     0x7ffcee281a94 
      16 main                                                         main.cpp                771 0x7ff6039d1cd3 
      17 WinMain                                                      qtcreator                   0x7ff6039d84f7 
      18 __scrt_common_main_seh                                       exe_common.inl          288 0x7ff6039d725a 
      19 BaseThreadInitThunk                                          KERNEL32                    0x7ffd46b07034 
      20 RtlUserThreadStart                                           ntdll                       0x7ffd46de2651 

      Attachments

        1. backtrace.log
          25 kB
          Christian Stenger

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes