many duchain at the same time

David Nolden david.nolden.kdevelop at art-master.de
Wed Aug 12 23:50:58 UTC 2009


Am Donnerstag 13 August 2009 00:55:41 schrieb Aleix Pol:
> hi,
> so looks like it works fine on kdevelop to have many processes (with their
> own duchain without problem), but when it comes i always get the
> .kdevduchain/0 directory, so I wonder what's wrong...
>
> Here we have some proof (exkdevelop4.sh just runs kdevelop in background
> and redirects the output somewhere useful):
> kde-devel at tatil:~/build-kdevplatform/shell/kross$ sh ~/exkdevelop4.sh
> kde-devel at tatil:~/build-kdevplatform/shell/kross$ ls
> /home/kde-devel/.kdevduchain/
> 0
> kde-devel at tatil:~/build-kdevplatform/shell/kross$ sh ~/exkdevelop4.sh
> kde-devel at tatil:~/build-kdevplatform/shell/kross$ ls
> /home/kde-devel/.kdevduchain/
> 0  1
> kde-devel at tatil:~/build-kdevplatform/shell/kross$ make krossprojectmodel
> <unknown program name>(909)/ KDevelop::allocateRepository: picked duchain
> directory "/home/kde-devel/.kdevduchain/0"
> pp_macro::formals There were items left on destruction: 1
> pp_macro::definition There were items left on destruction: 131
> Built target krossprojectmodel
> kde-devel at tatil:~/build-kdevplatform/shell/kross$

There is nothing suspcious on that command line. This needs some debugging of 
what happens during the initialization in itemrepository.cpp.

Greetings, David





More information about the KDevelop-devel mailing list