Note on persistent duchain

David Nolden zwabel at googlemail.com
Mon Aug 4 21:37:48 UTC 2008


Whenever KDevelop crashes, it leaves a lock-file in .kdevduchain/NUM. Somehow 
KLockFile seems not to work correctly, and does not detect that the 
lock-holder does not exist anymore. For that reason, if you actually want to 
re-use the duchain data after a crash, you have to remove the lock-file 
manually.

I recommend time by time doing this:
cd ~/.kdevduchain
find | grep lock | xargs rm

If anyone thinks he can fix the KLockFile problem, look into 
kdevplatform/language/repositories/itemrepository.cpp.

Greetings, David




More information about the KDevelop-devel mailing list