What is this warning about: KDevelop::TopDUContextDynamicData::load: Cannot open top-context for reading: , , ,

Milian Wolff mail at milianw.de
Tue Jan 18 18:39:11 UTC 2011


Milian Wolff, 18.01.2011:
> Hey David, yet another mail :)
> 
> Whenever I shutdown KDevelop, or run a unit test, I see warnings like this:
> 
> kdevelop(18668)/kdevplatform (language)
> KDevelop::TopDUContextDynamicData::load: Cannot open top-context for
> reading: "/home/milian/.kdevduchain/{dda39186-350d-4789-bf7d-
> f4888ed9adf1}/0/topcontexts/4095"
> 
> What is it about? I've placed a break point and it was in the duchain
> cleanup. And yes, the warning is "correct", that path does *not* exist.
> Can we somehow prevent this warning, or is it valid and there is something
> odd going on?
> 
> Bye

ah, it's because of this assert in DUChain::removeDocumentChain:


  sdDUChainPrivate->removeDocumentChainFromMemory(context);
  Q_ASSERT(!indexed.data());

first we remove the folder, then we try to load it again. Can I just comment 
out that assert?

Bye

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110118/0222658a/attachment.sig>


More information about the KDevelop-devel mailing list