Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-110597

tst_qquickpixmapcache leaks memory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.5.0 Beta1
    • None
    • Linux/Wayland

    Description

      ASAN report here:

      =================================================================
      ==43565==ERROR: LeakSanitizer: detected memory leaks
      
      Direct leak of 960 byte(s) in 12 object(s) allocated from:
          #0 0x7f3176271037 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
          #1 0x7f316855cee9 in zalloc ../src/wayland-private.h:232
          #2 0x7f316855cee9 in proxy_create ../src/wayland-client.c:422
          #3 0x7f316855cee9 in create_outgoing_proxy ../src/wayland-client.c:651
          #4 0x7f316855cee9 in wl_proxy_marshal_array_constructor_versioned ../src/wayland-client.c:736
      
      Indirect leak of 192 byte(s) in 1 object(s) allocated from:
          #0 0x7f3176272647 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
          #1 0x7f316f718110 in QUrl::resolved(QUrl const&) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/io/qurl.cpp:2740
          #2 0x55dda0443c81 in TestHTTPServer::url(QString const&) const /home/ulf/dev/qt6dev-src/qtdeclarative/src/quicktestutils/qml/testhttpserver.cpp:95
          #3 0x55dda0417a57 in tst_qquickpixmapcache::lockingCrash() /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:384
          #4 0x55dda041986d in tst_qquickpixmapcache::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/ulf/dev/qt6dev/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache_autogen/include/tst_qquickpixmapcache.moc:208
          #5 0x7f316f7ad17a in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2702
          #6 0x7f316f7aadf2 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2541
          #7 0x7f31760c93a4 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType, QMetaMethodReturnArgument) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:148
          #8 0x7f31760c4685 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:160
          #9 0x7f31760a3d08 in QTest::TestMethods::invokeTestOnData(int) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1134
          #10 0x7f31760a5a53 in QTest::TestMethods::invokeTest(int, QLatin1String, QTest::WatchDog*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1426
          #11 0x7f31760a8833 in QTest::TestMethods::invokeTests(QObject*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1752
          #12 0x7f31760ab2d6 in QTest::qRun() /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2365
          #13 0x7f31760aa060 in QTest::qExec(QObject*, int, char**) /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2251
          #14 0x55dda04195fa in main /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:506
          #15 0x7f316f05ad09 in __libc_start_main ../csu/libc-start.c:308
      
      Indirect leak of 120 byte(s) in 1 object(s) allocated from:
          #0 0x7f3176272647 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
          #1 0x7f316f88766e in QObject::QObject(QObject*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qobject.cpp:898
          #2 0x7f31750588e4 in QQuickPixmapReply::QQuickPixmapReply(QQuickPixmapData*) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:1226
          #3 0x7f3175056aa0 in QQuickPixmapReader::getImage(QQuickPixmapData*) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:978
          #4 0x7f3175060b03 in QQuickPixmap::load(QQmlEngine*, QUrl const&, QRect const&, QSize const&, QFlags<QQuickPixmap::Option>, QQuickImageProviderOptions const&, int, int, double) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:1739
          #5 0x7f317505f481 in QQuickPixmap::load(QQmlEngine*, QUrl const&, QRect const&, QSize const&, QFlags<QQuickPixmap::Option>) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:1655
          #6 0x7f317505f072 in QQuickPixmap::load(QQmlEngine*, QUrl const&) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:1640
          #7 0x55dda0417a77 in tst_qquickpixmapcache::lockingCrash() /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:384
          #8 0x55dda041986d in tst_qquickpixmapcache::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/ulf/dev/qt6dev/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache_autogen/include/tst_qquickpixmapcache.moc:208
          #9 0x7f316f7ad17a in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2702
          #10 0x7f316f7aadf2 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2541
          #11 0x7f31760c93a4 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType, QMetaMethodReturnArgument) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:148
          #12 0x7f31760c4685 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:160
          #13 0x7f31760a3d08 in QTest::TestMethods::invokeTestOnData(int) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1134
          #14 0x7f31760a5a53 in QTest::TestMethods::invokeTest(int, QLatin1String, QTest::WatchDog*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1426
          #15 0x7f31760a8833 in QTest::TestMethods::invokeTests(QObject*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1752
          #16 0x7f31760ab2d6 in QTest::qRun() /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2365
          #17 0x7f31760aa060 in QTest::qExec(QObject*, int, char**) /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2251
          #18 0x55dda04195fa in main /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:506
          #19 0x7f316f05ad09 in __libc_start_main ../csu/libc-start.c:308
      
      Indirect leak of 88 byte(s) in 1 object(s) allocated from:
          #0 0x7f3176272647 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
          #1 0x7f3175056a8e in QQuickPixmapReader::getImage(QQuickPixmapData*) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:978
          #2 0x7f3175060b03 in QQuickPixmap::load(QQmlEngine*, QUrl const&, QRect const&, QSize const&, QFlags<QQuickPixmap::Option>, QQuickImageProviderOptions const&, int, int, double) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:1739
          #3 0x7f317505f481 in QQuickPixmap::load(QQmlEngine*, QUrl const&, QRect const&, QSize const&, QFlags<QQuickPixmap::Option>) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:1655
          #4 0x7f317505f072 in QQuickPixmap::load(QQmlEngine*, QUrl const&) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:1640
          #5 0x55dda0417a77 in tst_qquickpixmapcache::lockingCrash() /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:384
          #6 0x55dda041986d in tst_qquickpixmapcache::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/ulf/dev/qt6dev/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache_autogen/include/tst_qquickpixmapcache.moc:208
          #7 0x7f316f7ad17a in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2702
          #8 0x7f316f7aadf2 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2541
          #9 0x7f31760c93a4 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType, QMetaMethodReturnArgument) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:148
          #10 0x7f31760c4685 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:160
          #11 0x7f31760a3d08 in QTest::TestMethods::invokeTestOnData(int) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1134
          #12 0x7f31760a5a53 in QTest::TestMethods::invokeTest(int, QLatin1String, QTest::WatchDog*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1426
          #13 0x7f31760a8833 in QTest::TestMethods::invokeTests(QObject*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1752
          #14 0x7f31760ab2d6 in QTest::qRun() /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2365
          #15 0x7f31760aa060 in QTest::qExec(QObject*, int, char**) /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2251
          #16 0x55dda04195fa in main /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:506
          #17 0x7f316f05ad09 in __libc_start_main ../csu/libc-start.c:308
      
      Indirect leak of 42 byte(s) in 1 object(s) allocated from:
          #0 0x7f3176270e8f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
          #1 0x7f316fbb24af in allocateData /home/ulf/dev/qt6dev-src/qtbase/src/corelib/tools/qarraydata.cpp:142
          #2 0x7f316fbb2811 in QArrayData::allocate(QArrayData**, long long, long long, long long, QArrayData::AllocationOption) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/tools/qarraydata.cpp:191
          #3 0x7f316fb1a17f in QTypedArrayData<char16_t>::allocate(long long, QArrayData::AllocationOption) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/tools/qarraydata.h:105
          #4 0x7f316fad8288 in QString::reallocData(long long, QArrayData::AllocationOption) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/text/qstring.cpp:2763
          #5 0x7f316f5dd776 in QString::detach() /home/ulf/dev/qt6dev-src/qtbase/src/corelib/text/qstring.h:983
          #6 0x7f316f5dd6d5 in QString::data() /home/ulf/dev/qt6dev-src/qtbase/src/corelib/text/qstring.h:976
          #7 0x7f316f712a76 in removeDotsFromPath /home/ulf/dev/qt6dev-src/qtbase/src/corelib/io/qurl.cpp:1534
          #8 0x7f316f718f6f in QUrl::resolved(QUrl const&) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/io/qurl.cpp:2781
          #9 0x55dda0443c81 in TestHTTPServer::url(QString const&) const /home/ulf/dev/qt6dev-src/qtdeclarative/src/quicktestutils/qml/testhttpserver.cpp:95
          #10 0x55dda0417a57 in tst_qquickpixmapcache::lockingCrash() /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:384
          #11 0x55dda041986d in tst_qquickpixmapcache::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/ulf/dev/qt6dev/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache_autogen/include/tst_qquickpixmapcache.moc:208
          #12 0x7f316f7ad17a in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2702
          #13 0x7f316f7aadf2 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2541
          #14 0x7f31760c93a4 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType, QMetaMethodReturnArgument) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:148
          #15 0x7f31760c4685 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:160
          #16 0x7f31760a3d08 in QTest::TestMethods::invokeTestOnData(int) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1134
          #17 0x7f31760a5a53 in QTest::TestMethods::invokeTest(int, QLatin1String, QTest::WatchDog*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1426
          #18 0x7f31760a8833 in QTest::TestMethods::invokeTests(QObject*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1752
          #19 0x7f31760ab2d6 in QTest::qRun() /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2365
          #20 0x7f31760aa060 in QTest::qExec(QObject*, int, char**) /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2251
          #21 0x55dda04195fa in main /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:506
          #22 0x7f316f05ad09 in __libc_start_main ../csu/libc-start.c:308
      
      Indirect leak of 40 byte(s) in 1 object(s) allocated from:
          #0 0x7f3176272647 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
          #1 0x7f316f8a7efc in QObjectPrivate::ensureConnectionData() (/home/ulf/dev/qt6dev/qtbase/lib/libQt6Core.so.6+0x4b4efc)
          #2 0x7f316f8a8172 in QObjectPrivate::addConnection(int, QObjectPrivate::Connection*) (/home/ulf/dev/qt6dev/qtbase/lib/libQt6Core.so.6+0x4b5172)
          #3 0x7f316f89721f in QMetaObjectPrivate::connect(QObject const*, int, QMetaObject const*, QObject const*, int, QMetaObject const*, int, int*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qobject.cpp:3493
          #4 0x7f316f896a6d in QMetaObject::connect(QObject const*, int, QObject const*, int, int, int*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qobject.cpp:3427
          #5 0x7f31750565c0 in QQuickPixmapReader::processJob(QQuickPixmapReply*, QUrl const&, QString const&, QQmlImageProviderBase::ImageType, QSharedPointer<QQuickImageProvider> const&) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:946
          #6 0x7f3175051987 in QQuickPixmapReader::processJobs() /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:745
          #7 0x7f3175057453 in QQuickPixmapReader::run() /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:1031
          #8 0x7f316fd25572 in operator() /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:321
          #9 0x7f316fd286e8 in terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:257
          #10 0x7f316fd2578b in QThreadPrivate::start(void*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:280
          #11 0x7f316f016ea6 in start_thread nptl/pthread_create.c:477
      
      Indirect leak of 36 byte(s) in 1 object(s) allocated from:
          #0 0x7f3176270e8f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
          #1 0x7f316fbb24af in allocateData /home/ulf/dev/qt6dev-src/qtbase/src/corelib/tools/qarraydata.cpp:142
          #2 0x7f316fbb2811 in QArrayData::allocate(QArrayData**, long long, long long, long long, QArrayData::AllocationOption) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/tools/qarraydata.cpp:191
          #3 0x7f316fb1a17f in QTypedArrayData<char16_t>::allocate(long long, QArrayData::AllocationOption) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/tools/qarraydata.h:105
          #4 0x7f316fad8288 in QString::reallocData(long long, QArrayData::AllocationOption) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/text/qstring.cpp:2763
          #5 0x7f316f5dd930 in QString::reserve(long long) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/text/qstring.h:1055
          #6 0x7f316f6c0eda in QString& operator+=<QStringBuilder<QStringBuilder<QStringBuilder<QStringBuilder<QStringBuilder<QString, char16_t>, QString>, char16_t>, QString>, char16_t>, QString>(QString&, QStringBuilder<QStringBuilder<QStringBuilder<QStringBuilder<QStringBuilder<QStringBuilder<QString, char16_t>, QString>, char16_t>, QString>, char16_t>, QString> const&) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/text/qstringbuilder.h:447
          #7 0x7f316f6be9b1 in QIPAddressUtils::toString(QString&, unsigned int) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/io/qipaddress.cpp:101
          #8 0x7f316f72c818 in QUrlPrivate::setHost(QString const&, long long, long long, QUrl::ParsingMode) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/io/qurl.cpp:1316
          #9 0x7f316f71577d in QUrl::setHost(QString const&, QUrl::ParsingMode) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/io/qurl.cpp:2301
          #10 0x55dda0443643 in localHostUrl /home/ulf/dev/qt6dev-src/qtdeclarative/src/quicktestutils/qml/testhttpserver.cpp:67
          #11 0x55dda0443b33 in TestHTTPServer::baseUrl() const /home/ulf/dev/qt6dev-src/qtdeclarative/src/quicktestutils/qml/testhttpserver.cpp:85
          #12 0x55dda0443c28 in TestHTTPServer::url(QString const&) const /home/ulf/dev/qt6dev-src/qtdeclarative/src/quicktestutils/qml/testhttpserver.cpp:95
          #13 0x55dda0417a57 in tst_qquickpixmapcache::lockingCrash() /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:384
          #14 0x55dda041986d in tst_qquickpixmapcache::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/ulf/dev/qt6dev/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache_autogen/include/tst_qquickpixmapcache.moc:208
          #15 0x7f316f7ad17a in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2702
          #16 0x7f316f7aadf2 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2541
          #17 0x7f31760c93a4 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType, QMetaMethodReturnArgument) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:148
          #18 0x7f31760c4685 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:160
          #19 0x7f31760a3d08 in QTest::TestMethods::invokeTestOnData(int) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1134
          #20 0x7f31760a5a53 in QTest::TestMethods::invokeTest(int, QLatin1String, QTest::WatchDog*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1426
          #21 0x7f31760a8833 in QTest::TestMethods::invokeTests(QObject*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1752
          #22 0x7f31760ab2d6 in QTest::qRun() /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2365
          #23 0x7f31760aa060 in QTest::qExec(QObject*, int, char**) /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2251
          #24 0x55dda04195fa in main /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:506
          #25 0x7f316f05ad09 in __libc_start_main ../csu/libc-start.c:308
      
      Indirect leak of 24 byte(s) in 1 object(s) allocated from:
          #0 0x7f3176272647 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
          #1 0x7f31750476a8 in QQuickImageProviderOptions::QQuickImageProviderOptions() /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickimageprovider.cpp:504
          #2 0x7f317505f435 in QQuickPixmap::load(QQmlEngine*, QUrl const&, QRect const&, QSize const&, QFlags<QQuickPixmap::Option>) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:1655
          #3 0x7f317505f072 in QQuickPixmap::load(QQmlEngine*, QUrl const&) /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:1640
          #4 0x55dda0417a77 in tst_qquickpixmapcache::lockingCrash() /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:384
          #5 0x55dda041986d in tst_qquickpixmapcache::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/ulf/dev/qt6dev/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache_autogen/include/tst_qquickpixmapcache.moc:208
          #6 0x7f316f7ad17a in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2702
          #7 0x7f316f7aadf2 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2541
          #8 0x7f31760c93a4 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType, QMetaMethodReturnArgument) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:148
          #9 0x7f31760c4685 in std::enable_if<!QtPrivate::Invoke::AreOldStyleArgs<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:160
          #10 0x7f31760a3d08 in QTest::TestMethods::invokeTestOnData(int) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1134
          #11 0x7f31760a5a53 in QTest::TestMethods::invokeTest(int, QLatin1String, QTest::WatchDog*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1426
          #12 0x7f31760a8833 in QTest::TestMethods::invokeTests(QObject*) const /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1752
          #13 0x7f31760ab2d6 in QTest::qRun() /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2365
          #14 0x7f31760aa060 in QTest::qExec(QObject*, int, char**) /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2251
          #15 0x55dda04195fa in main /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:506
          #16 0x7f316f05ad09 in __libc_start_main ../csu/libc-start.c:308
      
      SUMMARY: AddressSanitizer: 1502 byte(s) leaked in 19 allocation(s).
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes