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
Attachments
For Gerrit Dashboard: QTCREATORBUG-32411 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
620523,2 | ClangTools: Create compilation databases per build configuration | 16.0 | qt-creator/qt-creator | Status: MERGED | +2 | +1 |