Hang when loading a project

Jens Dagerbo jens.dagerbo at swipnet.se
Wed Nov 29 01:21:15 UTC 2006


On Wednesday 29 November 2006 00:17, Alexander Dymo wrote:
> On Tuesday 28 November 2006 20:10, Andras Mantia wrote:
> > Thanks for testing. Can you test some more:
> > - make sure Konsole plugin is loaded (enable it, restart KDevelop)
> > - make sure the quanta.kdevelop file has the following lines:
> >     <ignoreparts>
> >       <part>kdevkonsoleview</part>
> >       <part>kdevvalgrind</part>
> >     </ignoreparts>
> >
> > The <part>kdevkonsoleview</part> makes a difference between working and
> > not working.
>
> Yeah, indeed disabled konsole makes KDevelop loop forever. Jens (teatime)
> might  have some insight on why that happens.

No insight to speak of why it happens, but it does sound like the issue I ran 
into recently too. IIRC, adymo managed to reproduce it, but not apaku. 

A hunch says it's somehow related to the KProcess running inside konsolepart. 
IIRC, I noticed it did not happen if I loaded a non-c++ project, which might 
suggest it's a similar problem as the one apaku ran into recently with the 
qmake manager, where the use of QProcess and KProcess in the same program 
made one trample the signal handler of the other.

C++ language support uses QProcess with header file preprocessing these days, 
and konsolepart uses KProcess. I suspect it's a bad idea to mix them.


// jens




More information about the KDevelop-devel mailing list