KDE/kdevplatform/language/duchain

Andreas Pakulat apaku at gmx.de
Tue Dec 16 07:40:44 UTC 2008


On 16.12.08 06:07:20, Hamish Rodda wrote:
> SVN commit 897461 by rodda:
> 
> Try to fix crash on close:
> 
> #4  0x00007f75b2ee55c8 in KDevelop::DUChainPrivate::doMoreCleanup (
>     this=0xf4d140, retries=0, needLockRepository=true)
>     at /opt/kde4/src/kdevplatform/language/duchain/duchain.cpp:519
> #5  0x00007f75b2ed3daf in KDevelop::DUChain::aboutToQuit
> 
> I found that ICore::self() was null here.

Thats correct, I think. The duchain repository stuff is created before the
shell is created/initialized (global statics) and they're deleted after the
shell has been destroyed, so this code must not access anything from ICore.

Andreas

-- 
You have a truly strong individuality.




More information about the KDevelop-devel mailing list