[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [kdevelop] [Bug 264931] KDevelop crashes when I change a method iinterface in the .h file and click
From: Milian Wolff <mail () milianw ! de>
Date: 2014-08-09 16:07:20
Message-ID: bug-264931-17878-2Y10L3qQpP () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=264931
--- Comment #13 from Milian Wolff <mail@milianw.de> ---
OK, I finally figured out the reason for this bug, the fix is not yet clear to
me, lets see.
1) we create a QID and store its Indexed form in memory
2) since we never serialize this item it never plays a role in the on-disk
refcounting
3) on shutdown, globalItemRepositoryRegistry().finalCleanup() is called in
DUChain::shutdown
4) later in that function, sdDUChainPrivate->doMoreCleanup(); and
sdDUChainPrivate->clear(); are called, the latter of which will again call
doMoreCleanup
5) eventually in-memory DUContexts will get unloaded, if they happen to have an
IndexedQID stored which was cleaned up (since it never was serialized, its
refcount was not increased), we will access a deleted item in the itemrepo
-> havoc.
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic