kdelibs tests (using valgrind)

Jaime jtamate at gmail.com
Wed Nov 17 19:59:13 GMT 2010


  I've done by hand an experiment:
  run some kdelibs tests using valgrind --trace-children=yes
--leak-check=full --tool=memcheck <test>

  most of them result in clean valgrind logs, but some of them not.

  What I do not have time (nor experience) is to modify the CMakeFile files
to run all of them using valgrind
(something like make valgrindtests), and to check if there is no error.

One failing valgrindtest is kledtest:

 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**)

The cause: two constructors does not initialize three members.

Best Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20101117/66fd93c0/attachment.htm>

More information about the kde-core-devel mailing list