kdelibs tests (using valgrind)

Christoph Feck christoph at maxiom.de
Wed Nov 17 20:29:54 GMT 2010


On Wednesday 17 November 2010 20:59:13 Jaime wrote:
>  Conditional jump or move depends on uninitialised value(s)
>     at 0x5362167: KLed::setLook(KLed::Look) (kled.cpp:225)
>     by 0x403433: KLedTest::qt_metacall(QMetaObject::Call, int, void**)
> (kledtest.moc:77)
> 
> The cause: two constructors does not initialize three members.

My fault :) There are two members "ce_xx" in Private that are never 
initialized (and never used). I had the intention to add 
KStyle::customControlElement() support, but did not finish it yet.

Is there a way to find out which third member is not initialized? The code 
looks good :)

Christoph Feck (kdepepo)




More information about the kde-core-devel mailing list