Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.4.0
-
None
-
Windows 7, MSVC
Description
I renamed several symbols successfully, then when I renamed another symbol (a class member variable) it crashed. I might have triggered it before the document was fully parsed.
I'm able to reproduce.
00000000`0016ab18 000007fe`d69fd81c Qt5Core!QArrayData::data
(Inline Function) --------`-------- CppEditor4!QTypedArrayData<CppTools::CursorInfo>::data+0x9
(Inline Function) --------`-------- CppEditor4!QTypedArrayData<CppTools::CursorInfo>::begin+0x9
(Inline Function) --------`-------- CppEditor4!QVector<CppTools::CursorInfo>::at+0x9
(Inline Function) --------`-------- CppEditor4!QtPrivate::ResultIteratorBase::pointer+0x1a
(Inline Function) --------`-------- CppEditor4!QtPrivate::ResultIteratorBase::value+0x1a
00000000`0016ab20 000007fe`d69fd75a CppEditor4!QFutureInterface<CppTools::CursorInfo>::resultReference(int index = <Value unavailable error>)+0x6c [c:\qt\qt5.9.1\5.9.1\msvc2015_64\include\qtcore\qfutureinterface.h @ 247]
00000000`0016ab70 000007fe`d69fdd9e CppEditor4!QFuture<CppTools::CursorInfo>::result(void)+0x2a [c:\qt\qt5.9.1\5.9.1\msvc2015_64\include\qtcore\qfuture.h @ 157]
00000000`0016abb0 000007fe`d69ae8dc CppEditor4!CppEditor::Internal::CppUseSelectionsUpdater::update(CppEditor::Internal::CppUseSelectionsUpdater::CallType callType = Synchronous (0n0))+0x2ee [f:\projects\qt-creator\qt-creator\src\plugins\cppeditor\cppuseselectionsupdater.cpp @ 112]
(Inline Function) --------`-------- CppEditor4!CppEditor::Internal::CppEditorWidget::updateSemanticInfo+0x4a
00000000`0016acf0 00000000`5ef53281 CppEditor4!CppEditor::Internal::CppEditorWidget::renameSymbolUnderCursorBuiltin(void)+0x7c [f:\projects\qt-creator\qt-creator\src\plugins\cppeditor\cppeditor.cpp @ 460]
00000000`0016ad80 00000000`619fe763 Qt5Core!QMetaObject::activate+0x4a1
00000000`0016aea0 00000000`5ef53281 Qt5Widgets!QAction::triggered+0x33