duchain seems to be broken

Jakob Petsovits jpetso at gmx.at
Sat May 5 15:07:24 UTC 2007


On Saturday, 5. May 2007, Jakob Petsovits wrote:
> On Saturday, 5. May 2007, Andreas Pakulat wrote:
> > Hi,
> >
> > somehow the duchain seems to be broken, opening a .cpp file in KDevelop
> > asserts in kateviewinternal:3180. According to Christoph Cullman its
> > probably wrong locking and indeed the assert checks that isSmartLocked()
> > is set.
>
> Ah right. This was the crash I asked you about (which did not happen on
> your system at that time), approximately two weeks ago.
>
> It's caused by a QMutexLocker which does not lock even if it really should,
> in lib/editor/editorintegrator.cpp:190 and the following lines:

Note that it isn't the QMutexLocker which does wrong here, it neither works 
when locking the QMutex directly.




More information about the KDevelop-devel mailing list