Odd crash (is it CppSupportPart or ProblemReporter at fault?)

David Nolden david.nolden.kdevelop at art-master.de
Fri Dec 15 11:14:18 UTC 2006


Am Freitag, 15. Dezember 2006 10:03 schrieb Andras Mantia:
> On Friday 15 December 2006 02:07, Matthew Woehlke wrote:
> 1)- init m_backgroundParser to 0L in the constructor of CppSupportPart
> somewhere before the m_saveMemoryTimer is initialized
> 2)- disable this timer before initializing m_backgroundParser in
> CppSupportPart::projectOpened(). (delete and recreate it for example)
>
> Try first the 1) and if it doesn't help 2). I'd try it, but I don't know
> how to reproduce the crash. ;-)
>
> Andras

Initializing the background-parser to zero should do it(I just committed it), 
but this whole thing probably isn't the reason for Matthew's random crashes, 
because it can only happen when the delay between creation of the 
CppSupportPart and loading of the project is very long, which probably only 
happens when running kdevelop in valgrind. :)

I think the reason for the crashes was the kdDebug-thing.

greetings, David




More information about the KDevelop-devel mailing list