Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.8.0 FF
-
None
-
-
9d5611dc9 (dev), ae44b283a (6.8), 49b83dc77 (6.7)
Description
Running tst_qstringconverter under Valgrind, I get
********* Start testing of tst_QStringConverter ********* Config: Using QtTest library 6.9.0, Qt 6.9.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 11.2.1 20211211), ubuntu 20.04 QINFO : tst_QStringConverter::initTestCase() System locale is UTF-8 PASS : tst_QStringConverter::initTestCase() PASS : tst_QStringConverter::threadSafety() PASS : tst_QStringConverter::constructByName() ==3769588== Conditional jump or move depends on uninitialised value(s) ==3769588== at 0x483FEDC: strcmp (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==3769588== by 0x4C41EB6: qstrcmp(char const*, char const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Core.so.6.9.0) ==3769588== by 0x48975D8: QTest::compare_string_helper(char const*, char const*, char const*, char const*, char const*, int) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x12B12A: QTest::qCompare(char*, char*, char const*, char const*, char const*, int) (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x10EE94: tst_QStringConverter::invalidConverter() (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x127071: tst_QStringConverter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x4B336BD: QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Core.so.6.9.0) ==3769588== by 0x4B329E5: QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Core.so.6.9.0) ==3769588== by 0x489E66D: std::enable_if<!std::disjunction<>::value, bool>::type QMetaMethod::invoke<void>(QObject*, Qt::ConnectionType, QTemplatedMetaMethodReturnArgument<void>) const (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x489C11B: std::enable_if<!std::disjunction<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x488DA44: QTest::invokeTestMethodIfValid(QMetaMethod, QObject*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x48902D3: QTest::TestMethods::invokeTestOnData(int) const (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== ==3769588== Conditional jump or move depends on uninitialised value(s) ==3769588== at 0x483FEFB: strcmp (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==3769588== by 0x4C41EB6: qstrcmp(char const*, char const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Core.so.6.9.0) ==3769588== by 0x48975D8: QTest::compare_string_helper(char const*, char const*, char const*, char const*, char const*, int) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x12B12A: QTest::qCompare(char*, char*, char const*, char const*, char const*, int) (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x10EE94: tst_QStringConverter::invalidConverter() (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x127071: tst_QStringConverter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x4B336BD: QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Core.so.6.9.0) ==3769588== by 0x4B329E5: QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Core.so.6.9.0) ==3769588== by 0x489E66D: std::enable_if<!std::disjunction<>::value, bool>::type QMetaMethod::invoke<void>(QObject*, Qt::ConnectionType, QTemplatedMetaMethodReturnArgument<void>) const (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x489C11B: std::enable_if<!std::disjunction<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x488DA44: QTest::invokeTestMethodIfValid(QMetaMethod, QObject*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x48902D3: QTest::TestMethods::invokeTestOnData(int) const (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== ==3769588== Conditional jump or move depends on uninitialised value(s) ==3769588== at 0x48B2DB9: QTestResult::reportResult(bool, void const*, void const*, char const* (*)(void const*), char const* (*)(void const*), char const*, char const*, QTest::ComparisonOperation, char const*, int, char const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x489662C: QTest::compare_helper(bool, char const*, void const*, void const*, char const* (*)(void const*), char const* (*)(void const*), char const*, char const*, char const*, int) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x4897611: QTest::compare_string_helper(char const*, char const*, char const*, char const*, char const*, int) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x12B12A: QTest::qCompare(char*, char*, char const*, char const*, char const*, int) (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x10EE94: tst_QStringConverter::invalidConverter() (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x127071: tst_QStringConverter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x4B336BD: QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Core.so.6.9.0) ==3769588== by 0x4B329E5: QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Core.so.6.9.0) ==3769588== by 0x489E66D: std::enable_if<!std::disjunction<>::value, bool>::type QMetaMethod::invoke<void>(QObject*, Qt::ConnectionType, QTemplatedMetaMethodReturnArgument<void>) const (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x489C11B: std::enable_if<!std::disjunction<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x488DA44: QTest::invokeTestMethodIfValid(QMetaMethod, QObject*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x48902D3: QTest::TestMethods::invokeTestOnData(int) const (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== ==3769588== Conditional jump or move depends on uninitialised value(s) ==3769588== at 0x48B1EC6: checkStatement(bool, char const*, char const*, int) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x48B2E27: QTestResult::reportResult(bool, void const*, void const*, char const* (*)(void const*), char const* (*)(void const*), char const*, char const*, QTest::ComparisonOperation, char const*, int, char const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x489662C: QTest::compare_helper(bool, char const*, void const*, void const*, char const* (*)(void const*), char const* (*)(void const*), char const*, char const*, char const*, int) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x4897611: QTest::compare_string_helper(char const*, char const*, char const*, char const*, char const*, int) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x12B12A: QTest::qCompare(char*, char*, char const*, char const*, char const*, int) (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x10EE94: tst_QStringConverter::invalidConverter() (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x127071: tst_QStringConverter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/marc/Qt/qtbase-submit-build/tests/auto/corelib/text/qstringconverter/tst_qstringconverter) ==3769588== by 0x4B336BD: QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Core.so.6.9.0) ==3769588== by 0x4B329E5: QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Core.so.6.9.0) ==3769588== by 0x489E66D: std::enable_if<!std::disjunction<>::value, bool>::type QMetaMethod::invoke<void>(QObject*, Qt::ConnectionType, QTemplatedMetaMethodReturnArgument<void>) const (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x489C11B: std::enable_if<!std::disjunction<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== by 0x488DA44: QTest::invokeTestMethodIfValid(QMetaMethod, QObject*) (in /home/marc/Qt/qtbase-submit-build/lib/libQt6Test.so.6.9.0) ==3769588== PASS : tst_QStringConverter::invalidConverter()
Posting here to not forget about it.