Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt Creator 15.0.0
-
None
-
6cf0d3142 (16.0)
Description
The getCompilerOptionsBuilder function in ClangToolsCompilationDb::Private::generate(), that is passed to and run by the asynchronously run generateCompilationDB function, makes various unsafe calls into functions that are not thread safe.
ClangToolsProjectSettings::getSettings(...), and then access to that settings object; is the call to "connect" safe?; the access to diagnosticConfigs; toolExecutable(...) accesses global settings; getClangIncludeDirAndVersion(...) accesses static data unsafely