Crash in kdevelop master - KDevelop::IndexedString::index (this=0x0)

Milian Wolff mail at
Fri Jun 5 08:05:27 UTC 2015

On Thursday 04 June 2015 23:10:48 Sandro Andrade wrote:
> I've tried with a brand new development environment, installed from
> the scratch, but the error persists :(
> I can build and run other KF5-based applications fine, so it seems my
> development environment is sane.
> Backtrace:
> KDevelop's output:
> Valgrind's output:
> I'll dig further tomorrow.

This is super odd. Can you reproduce it inside GDB and get a "bt full" of the 
crashed thread please? Maybe the bug is in Cpp::ReferenceCountedStringSet - 
hm. Also try to output the string that is tried to be added in 
CppPreprocessEnvironment::merge, i.e. something like

const auto str = it.ref();
qDebug() << str.index(); // will this crash already?
qDebug() << str; // or this?

Milian Wolff
mail at

More information about the KDevelop-devel mailing list