Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 4.14.0-beta1
-
None
Description
When debugging qt-creator from the command line using lldb I get a nullptr access as soon as I open a recent project (even when waiting for a long time after creator is initialized).
The call to KitManager::registerKit from src/plugins/projectexplorer/project.cpp returns a nullptr because of a firing QTC_ASSERT in kitmanager.cpp:599 (isLoaded())
It seems that this is caused by a race condition due to a deferred call of ProjectExplorerPlugin::restoreKits in projectexplorer.cpp:2044 - at least, moving the function call out of the QTimer::singleShot allows me to debug again.