Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.8.0-beta1
-
None
-
Kubuntu 18.10
Description
QtCreator crashes at seemingly random moments while I'm typing C++ code. I've attached a stack backtrace of one such crash. The crash happened when I was typing code like this:
void my_class::foo()
{
std::unique_lock lock(m_mutex);
while (!m_stop_thread)
{}
}
The crash happened when the cursor was between the curly braces after "while" and I pressed Enter. In this particular case the crash happened twice as I was typing this piece of code, which allowed me to capture the backtrace.
In other instances I was typing different code, but I can't remember exactly what it looked like, and it didn't reproduce reliably. I think, the crash is more likely to happen when I'm typing fast (i.e. it might be related to how fast QtCreator updates its internal code model), but I might be wrong about this. I couldn't create a small reproducing code sample.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-21471 Crash when pressing return inside curly braces
- Closed