kdelibs tests (using valgrind)
christoph at maxiom.de
Wed Nov 17 20:46:25 GMT 2010
On Wednesday 17 November 2010 21:29:54 Christoph Feck wrote:
> 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)
Ah, no ... it is the kledtest.cpp that forgets to initialize "ledlook". The
KLed class is fine. Will commit a fix.
More information about the kde-core-devel