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

Hang/Crash on local var rename

XMLWordPrintable

    • 1cac517c8 (18.0)

      Rename a local variable with Right Click -> Rename Symbol Under Cursor -> Qt Creator hangs (with 100% CPU) or crashes.

      Crash trace (not sure if it's correct, it sometimes get corrupted):

      00007FFF4E67B681: Tasking::TaskTree::cancel
      00007FFECD35415F: QObject::qt_static_metacall
      00007FFECD356F64: QMetaObject::activate
      00007FFF4E665F0A: Tasking::TaskInterface::done
      00007FFECD35415F: QObject::qt_static_metacall
      00007FFECD356F64: QMetaObject::activate
      00007FFEF6A35834: CppEditor::CppCodeModelSettings::hasCustomSettings
      00007FFECD35415F: QObject::qt_static_metacall
      00007FFECD356F64: QMetaObject::activate
      00007FFECD4B5738: QFutureWatcherBase::event
      00007FFED01E36A6: QApplicationPrivate::notify_helper
      00007FFED01E27D6: QApplication::notify
      00007FFECD314721: QCoreApplication::notifyInternal2
      00007FFECD316DD7: QCoreApplicationPrivate::sendPostedEvents
      00007FFED201BB8F: QWindowsGuiEventDispatcher::sendPostedEvents
      00007FFECD4A2CC9: QEventDispatcherWin32::processEvents
      00007FFED201BAF9: QWindowsGuiEventDispatcher::processEvents
      00007FFECD31B194: QEventLoop::exec
      00007FFECD312DEA: QCoreApplication::exec
      00007FF7E13EB7E1: [unknown function]
      00007FF7E13EFEF0: [unknown function]
      00007FF7E13EF4E6: [unknown function]
      00007FFF761D7374: BaseThreadInitThunk
      00007FFF764BCC91: RtlUserThreadStart

      Hang trace:

      0x0000000000000000
      Tasking.dll!Tasking::TaskTree::start+0x6d4
      Tasking.dll!Tasking::TaskTree::cancel+0x214
      Tasking.dll!Tasking::TaskTree::cancel+0x1e4
      Tasking.dll!Tasking::TaskTree::cancel+0x2603
      Qt6Core.dll!QObject::qt_static_metacall+0x146f
      Qt6Core.dll!QMetaObject::activate+0x84
      Tasking.dll!Tasking::TaskInterface::done+0x4a
      Qt6Core.dll!QObject::qt_static_metacall+0x146f
      Qt6Core.dll!QMetaObject::activate+0x84
      CppEditor.dll!CppEditor::CppCodeModelSettings::hasCustomSettings+0xa4
      Qt6Core.dll!QObject::qt_static_metacall+0x146f
      Qt6Core.dll!QMetaObject::activate+0x84
      Qt6Core.dll!QFutureWatcherBase::event+0x18
      Qt6Widgets.dll!QApplicationPrivate::notify_helper+0x156
      Qt6Widgets.dll!QApplication::notify+0x1656
      Qt6Core.dll!QCoreApplication::notifyInternal2+0x101
      Qt6Core.dll!QCoreApplicationPrivate::sendPostedEvents+0x247
      Qt6Gui.dll!QWindowsGuiEventDispatcher::sendPostedEvents+0xf
      Qt6Core.dll!QEventDispatcherWin32::processEvents+0x99
      Qt6Gui.dll!QWindowsGuiEventDispatcher::processEvents+0x19
      Qt6Core.dll!QEventLoop::exec+0x1c4
      Qt6Core.dll!QCoreApplication::exec+0x16a
      qtcreator.exe+0xb7e1
      qtcreator.exe+0xfef0
      qtcreator.exe+0xf4e6
      KERNEL32.DLL!BaseThreadInitThunk+0x14
      ntdll.dll!RtlUserThreadStart+0x21

        For Gerrit Dashboard: QTCREATORBUG-33471
        # Subject Branch Project Status CR V

            jkobus Jarek Kobus
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes