KDevelop 5.3.2 released
René J.V. Bertin
rjvbertin at gmail.com
Tue Jul 9 13:45:10 BST 2019
On Monday July 08 2019 11:02:01 René J.V. Bertin wrote:
> >> What about thread going to an endless loop and eating 100% CPU time
> >> after several days of work. Was that fixed in 5.3?
> Thanks for reminding me to update my workaround patch there, and register a probably related issue (https://bugs.kde.org/show_bug.cgi?id=379004).
FWIW, with my patch in place I do see this kind of output on exit with certain projects, systematically and I presume I'd also see it when closing just the project in question:
```
unsigned short KDevelop::Bucket<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, 0>::followerIndex(unsigned short) const [Item = KDevelop::AbstractTypeData, ItemRequest = KDevelop::AbstractTypeDataRequest, markForReferenceCounting = true, fixedItemSize = 0] index= 0 ; returning 0
"Bucket::deleteItem(21956,2156885625,Type Repository)" : early return because currentIndex==0
didn't delete item of size 20
kdevplatform.language: Factory for this type not loaded: 18
unsigned short KDevelop::Bucket<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, 0>::followerIndex(unsigned short) const [Item = KDevelop::AbstractTypeData, ItemRequest = KDevelop::AbstractTypeDataRequest, markForReferenceCounting = true, fixedItemSize = 0] index= 0 ; returning 0
"Bucket::deleteItem(21956,2156885625,Type Repository)" : early return because currentIndex==0
didn't delete item of size 20
kdevplatform.language: Factory for this type not loaded: 18
unsigned short KDevelop::Bucket<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, 0>::followerIndex(unsigned short) const [Item = KDevelop::AbstractTypeData, ItemRequest = KDevelop::AbstractTypeDataRequest, markForReferenceCounting = true, fixedItemSize = 0] index= 0 ; returning 0
"Bucket::deleteItem(21956,2156885625,Type Repository)" : early return because currentIndex==0
didn't delete item of size 20
kdevplatform.language: Factory for this type not loaded: 18
"Bucket::deleteItem(14282,2156885563,Type Repository)" : early return because currentIndex==0
didn't delete item of size 20
kdevplatform.language: Factory for this type not loaded: 18
"Bucket::deleteItem(14260,2156885563,Type Repository)" : early return because currentIndex==0
didn't delete item of size 20
kdevplatform.language: Factory for this type not loaded: 18
"Bucket::deleteItem(14282,2156885563,Type Repository)" : early return because currentIndex==0
didn't delete item of size 20
kdevplatform.language: Factory for this type not loaded: 18
"Bucket::deleteItem(14260,2156885563,Type Repository)" : early return because currentIndex==0
didn't delete item of size 20
ProblemData::diagnostics There were items left on destruction: 2
```
This kind of event would lead to the 100% CPU hang (aka deadloop) experienced by Aleksey.
R.
More information about the KDevelop
mailing list