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

segfault in tst_qquickpixmapcache::lockingCrash on opensuse-15.6-host-asan

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.9
    • None

      https://codereview.qt-project.org/c/qt/qtdeclarative/+/667685/1#message-dddbdd92688d14cd244e446956ce3b8bd888dc51

      https://testresults.qt.io/logs/qt/qtdeclarative/dea4a5cb85dcabb8c6b2bb1b6086642ce7d5ae38/LinuxopenSUSE_15_6x86_64LinuxopenSUSE_15_6x86_64GCCqtci-linux-openSUSE-15.6-x86_64-51-89e407Sccache_UseAddressSanitizer_UseConfigure_WarningsAreErrors/3fa82a7b626203f48fcdbd2cee1879cf02b5ab2c/test_1755055952/log.txt.gz

      agent:2025/08/13 04:32:00 build.go:412: =================================================================
      agent:2025/08/13 04:32:00 build.go:412: ==6375==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f3531f9bf32 bp 0x7fffdc096830 sp 0x7fffdc096820 T0)
      agent:2025/08/13 04:32:00 build.go:412: ==6375==The signal is caused by a READ memory access.
      agent:2025/08/13 04:32:00 build.go:412: ==6375==Hint: address points to the zero page.
      agent:2025/08/13 04:32:00 build.go:412:     #0 0x7f3531f9bf31 in operator() /home/qt/work/qt/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:611
      agent:2025/08/13 04:32:00 build.go:412:     #1 0x7f3531f9c68c in QQuickPixmapReader::~QQuickPixmapReader() /home/qt/work/qt/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:618
      agent:2025/08/13 04:32:00 build.go:412:     #2 0x7f3531f9ce19 in QQuickPixmapReader::~QQuickPixmapReader() /home/qt/work/qt/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:661
      agent:2025/08/13 04:32:00 build.go:412:     #3 0x7f3529903a4f in QObjectPrivate::deleteChildren() /home/qt/work/qt/qtbase/src/corelib/kernel/qobject.cpp:2226
      agent:2025/08/13 04:32:00 build.go:412:     #4 0x7f35298ff770 in QObject::~QObject() /home/qt/work/qt/qtbase/src/corelib/kernel/qobject.cpp:1141
      agent:2025/08/13 04:32:00 build.go:412:     #5 0x7f352f15bfc0 in QJSEngine::~QJSEngine() /home/qt/work/qt/qtdeclarative/src/qml/jsapi/qjsengine.cpp:371
      agent:2025/08/13 04:32:00 build.go:412:     #6 0x7f352f7b8f89 in QQmlEngine::~QQmlEngine() /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlengine.cpp:538
      agent:2025/08/13 04:32:00 build.go:412:     #7 0x55aa119f4956 in tst_qquickpixmapcache::lockingCrash() /home/qt/work/qt/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:431
      agent:2025/08/13 04:32:00 build.go:412:     #8 0x55aa119f911f in tst_qquickpixmapcache::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache_autogen/include/tst_qquickpixmapcache.moc:120
      agent:2025/08/13 04:32:00 build.go:412:     #9 0x7f3529805f05 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/qt/work/qt/qtbase/src/corelib/kernel/qmetaobject.cpp:2843
      agent:2025/08/13 04:32:00 build.go:412:     #10 0x7f3529803d23 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) /home/qt/work/qt/qtbase/src/corelib/kernel/qmetaobject.cpp:2682
      agent:2025/08/13 04:32:00 build.go:412:     #11 0x7f352ad0094c in std::enable_if<!std::disjunction<>::value, bool>::type QMetaMethod::invoke<void>(QObject*, Qt::ConnectionType, QTemplatedMetaMethodReturnArgument<void>) const /home/qt/work/qt/qtbase/src/corelib/kernel/qmetaobject.h:150
      agent:2025/08/13 04:32:00 build.go:412:     #12 0x7f352acfab97 in std::enable_if<!std::disjunction<>::value, bool>::type QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const /home/qt/work/qt/qtbase/src/corelib/kernel/qmetaobject.h:162
      agent:2025/08/13 04:32:00 build.go:412:     #13 0x7f352acd2a94 in invokeTestMethodIfValid /home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp:434
      agent:2025/08/13 04:32:00 build.go:412:     #14 0x7f352acd8170 in QTest::TestMethods::invokeTestOnData(int) const /home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp:1050
      agent:2025/08/13 04:32:00 build.go:412:     #15 0x7f352acd9680 in operator() /home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp:1368
      agent:2025/08/13 04:32:00 build.go:412:     #16 0x7f352acee544 in runWithWatchdog<QTest::TestMethods::invokeTest(int, QLatin1StringView, std::optional<QTest::WatchDog>&) const::<lambda()> > /home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp:1251
      agent:2025/08/13 04:32:00 build.go:412:     #17 0x7f352acda267 in QTest::TestMethods::invokeTest(int, QLatin1String, std::optional<QTest::WatchDog>&) const /home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp:1367
      agent:2025/08/13 04:32:00 build.go:412:     #18 0x7f352acdd8aa in QTest::TestMethods::invokeTests(QObject*) const /home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp:1710
      agent:2025/08/13 04:32:00 build.go:412:     #19 0x7f352acdf364 in QTest::qRun() /home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp:1951
      agent:2025/08/13 04:32:00 build.go:412:     #20 0x7f352acddf6c in QTest::qExec(QObject*, int, char**) /home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp:1823
      agent:2025/08/13 04:32:00 build.go:412:     #21 0x55aa119f8e87 in main /home/qt/work/qt/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:630
      agent:2025/08/13 04:32:00 build.go:412:     #22 0x7f3528a40eeb in __libc_start_call_main (/lib64/libc.so.6+0x40eeb)
      agent:2025/08/13 04:32:00 build.go:412:     #23 0x7f3528a40fb4 in __libc_start_main_alias_2 (/lib64/libc.so.6+0x40fb4)
      agent:2025/08/13 04:32:00 build.go:412:     #24 0x55aa119e7320 in _start ../sysdeps/x86_64/start.S:115
      agent:2025/08/13 04:32:00 build.go:412: AddressSanitizer can not provide additional info.
      agent:2025/08/13 04:32:00 build.go:412: SUMMARY: AddressSanitizer: SEGV /home/qt/work/qt/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:611 in operator()
      agent:2025/08/13 04:32:00 build.go:412: ==6375==ABORTING
      

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes