https://bugs.kde.org/show_bug.cgi?id=480526

--- Comment #5 from Igor Kushnir <igor...@gmail.com> ---
Analyzed the backtraces. My conclusion is that this bug is a direct successor
to the infamous Bug 272408. The circumstances that lead to the crash and parts
of the backtrace are similar. Before Milian's fix of Bug 272408, the crash
occurred in ItemRepository::findIndex() or ItemRepository::deleteItem() called
from PersistentSymbolTable::addDeclaration():
KDevelop::ItemRepository<KDevelop::PersistentSymbolTableItem,
KDevelop::PersistentSymbolTableRequestItem, true, false, 0u,
1048576u>::findIndex
KDevelop::PersistentSymbolTable::addDeclaration
KDevelop::Declaration::setInSymbolTable
OR
KDevelop::ItemRepository<KDevelop::PersistentSymbolTableItem,
KDevelop::PersistentSymbolTableRequestItem, true, false, 0u,
1048576u>::convertMonsterBucket(int, int)
KDevelop::ItemRepository<KDevelop::PersistentSymbolTableItem,
KDevelop::PersistentSymbolTableRequestItem, true, false, 0u,
1048576u>::deleteItem(unsigned int)
KDevelop::PersistentSymbolTable::addDeclaration(KDevelop::IndexedQualifiedIdentifier
const&, KDevelop::IndexedDeclaration const&)
KDevelop::Declaration::setInSymbolTable(bool)

And this new crash always occurs later - at the end of the lambda in
PersistentSymbolTable::addDeclaration(), in ItemRepository::index() invoked
from PersistentSymbolTable::addDeclaration():
KDevelop::ItemRepository<KDevelop::(anonymous
namespace)::PersistentSymbolTableItem, KDevelop::(anonymous
namespace)::PersistentSymbolTableRequestItem, true, QRecursiveMutex, 0u,
1048576u>::convertMonsterBucket(int, int)
KDevelop::ItemRepository<KDevelop::(anonymous
namespace)::PersistentSymbolTableItem, KDevelop::(anonymous
namespace)::PersistentSymbolTableRequestItem, true, QRecursiveMutex, 0u,
1048576u>::index(KDevelop::(anonymous
namespace)::PersistentSymbolTableRequestItem const&)
operator()
KDevelop::LockedItemRepository::write<KDevelop::PersistentSymbolTable,
KDevelop::PersistentSymbolTable::addDeclaration(const
KDevelop::IndexedQualifiedIdentifier&, const
KDevelop::IndexedDeclaration&)::<lambda(KDevelop::(anonymous
namespace)::PersistentSymbolTableRepo&)> >
KDevelop::PersistentSymbolTable::addDeclaration
KDevelop::Declaration::setInSymbolTable

Unfortunately, I don't have a good enough understanding of the item repository
to figure out what is still wrong there.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to