Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.15.0
-
None
Description
To reproduce:
1. Apply this patch https://codereview.qt-project.org/c/qt-creator/qt-creator/+/348660.
2. Load creator project into creator. Wait, until QML and C++ parsing finished. Open any qml file. Execute "Find References to Symbol Under Cursor" from popup menu.
3. As soon as you see the "Shutdown now" printout, close creator (or switch the session). It should crash.
The reason is that FindReferences::findUsages() installs the future watcher for the running task, but in case of shutdown it doesn't stop the running task.
BTW, the same happens when "Rename Symbol Under Cursor" is executed. The reason is then lack of synchronization in FindReferences::renameUsages().
Attachments
Issue Links
- is required for
-
QTCREATORBUG-25709 Reduce crashes on exit / session switch
- Closed