Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.5.1, Qt Creator 3.6.0-beta1
-
None
-
Ubuntu 14.04 running in VMware Player 7.1.2 build-2780323
Mac OS 10.11.1 running Xcode 7.0 / clang 7.0.0
Description
Just typing the following code (without even saving the file) causes 1 of 4 CPU cores go to 100% load. After a minute or so, all 4 cores are 100%.
p->any_member_function();
p is declared as unique_ptr<Base>.
Derived class is defined as follows:
template<class T>
struct Derived : Base
unique_ptr<plain old data struct> does not cause any issues.
Attachments
Issue Links
- replaces
-
QTCREATORBUG-15308 CPU is hogged when using std::vector of std::unique_ptrs
- Closed
For Gerrit Dashboard: QTCREATORBUG-15257 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
140856,2 | C++: Revert "Fix explicit typedef from base type in templated class" | 3.6 | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
140857,3 | C++: Revert "Fix lookup for instantiation of using" | 3.6 | qt-creator/qt-creator | Status: ABANDONED | -2 | 0 |
141022,10 | C++: Do not resolve typedefs for instantiation arguments | 3.6 | qt-creator/qt-creator | Status: ABANDONED | -2 | 0 |
141442,2 | C++: Revert lookup to 3.4.2 | 3.6 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |