https://bugs.kde.org/show_bug.cgi?id=454309
Bug ID: 454309 Summary: Hangs and consumes 100% when shutting down Product: kdevelop Version: 5.8.220401 Platform: openSUSE RPMs OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: kdevelop-bugs-n...@kde.org Reporter: aar...@doofus.org Target Milestone: --- Created attachment 149155 --> https://bugs.kde.org/attachment.cgi?id=149155&action=edit Backtrace of all threads when in this condition SUMMARY Every time I shut down kdevelop, either by logging out, file->quit, or any other method the process becomes stuck consuming 100% of the CPU. The process will never terminate unless kill -9 is applied. Even logging out of the X session does not kill it. It does this with all of my various sessions. Clearing the cache does not help either. This has been going on for some time. Here is the stacktrace: STEPS TO REPRODUCE 1. Start develop with a project 2. quit 3. OBSERVED RESULT I observe kdevelop getting stuck trying to exit like it's in an endless loop. I do not see this behavior with other KDE applications. It never exits from KDevelop::Bucket<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, 0u>::deleteItem<KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, true, 0u, 1048576u> > (repository=..., hash=<optimized out>, index=29676, this=0x55850f6084f0) at /usr/src/debug/kdevelop5-22.04.1-lp153.19.1.x86_64/kdevplatform/serialization/itemrepository.h:525 When stepping through the code, index is set to 29676 but currentIndex is always zero which indicates that the assert in deleteItem in itemrepository.h around line 527 should trigger. It might make sense to bail out of currentIndex is 0. EXPECTED RESULT I expect kdevelop to shut down cleanly SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.