Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.11.1
-
None
-
-
29dc8e740f247fd6a0204bebd892c450aec2077f (qt-creator/qt-creator/4.12)
Description
Steps to reproduce
- Consider for example a checkout of Qt for Python https://code.qt.io/cgit/pyside/pyside-setup.git/
- Run qtcreator sources/pyside2/tests/QtWidgets/*.py
- note warnings flood
OFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 SOFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 SOFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 SOFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 SOFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 SOFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 SOFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 SOFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 SOFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 SOFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 SOFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 SOFT ASSERT: "m_state == Initialized" in file client.cpp, line 327 ...
The assumption is that it is a race condition in initialization of the LSP client.
Sometimes, crashes occur later on.
Attachments
For Gerrit Dashboard: QTCREATORBUG-23598 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
290868,3 | LanguageClient: fix soft assert for uninitialized server | 4.12 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |