Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.8.1
-
None
-
Kubuntu 18.10, x86_64
-
-
c00c9d19fa7a8dd141d610b1c771a5acd2f1d952 (qt-creator/qt-creator/4.8)
Description
Occasionally, I can see clangbackend process starting to continuously consume 100% of one CPU core. When this happens, QtCreator stops applying code coloring in the editor. This situation does not recover by itself, I have to restart QtCreator or kill clangbackend so it is restarted.
I do not have a reliable way to reproduce the issue, it just happens at random times while I'm editing C++ code, most often template function bodies. I cannot create a small reproducer project.
I've attached a bactrace of clangbackend during one of these busy loops.
Attachments
For Gerrit Dashboard: QTCREATORBUG-22010 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
253966,1 | Clang: Fix potential infinite loop when resolving pointer type | 4.9 | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
253970,3 | Clang: Fix infinite loop when resolving pointer type | 4.8 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |