Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.0 Beta1
-
None
-
-
0d8b27004 (dev), 1862c4a09 (6.5)
Description
agent:2023/01/24 21:52:24 build.go:403: Start 126: tst_qquickpixmapcache agent:2023/01/24 21:52:24 build.go:403: 126: Test command: /opt/cmake-3.24.2/bin/cmake "-P" "/home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcacheWrapperDebug.cmake" agent:2023/01/24 21:52:24 build.go:403: 126: Working Directory: /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/qquickpixmapcache agent:2023/01/24 21:52:24 build.go:403: 126: Test timeout computed to be: 1500 agent:2023/01/24 21:52:24 build.go:403: 126: qt-testrunner.py INFO: Will write XML test logs to directory COIN_CTEST_RESULTSDIR=/home/qt/work/testresults agent:2023/01/24 21:52:24 build.go:403: 126: qt-testrunner.py DEBUG: Running test command line: ['/home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache', '-o', '/home/qt/work/testresults/tst_qquickpixmapcache-1674597144972.xml,xml', '-o', '/home/qt/work/testresults/tst_qquickpixmapcache-1674597144972.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_qquickpixmapcache-1674597144972.txt,txt', '-o', '-,txt'] agent:2023/01/24 21:52:25 build.go:403: 126: qt.dbus.integration: Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString) agent:2023/01/24 21:52:25 build.go:403: 126: ********* Start testing of tst_qquickpixmapcache ********* agent:2023/01/24 21:52:25 build.go:403: 126: Config: Using QtTest library 6.6.0, Qt 6.6.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 9.3.0), ubuntu 20.04 agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::initTestCase() agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::single(local) agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::single(local) agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::single(remote) agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::single(remote) agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::parallel(local) agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::parallel(remote) agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::parallel(remoteagain) agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::parallel(remotecopy) agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::parallel(remotecopycancel) agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::massive() agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::cancelcrash() agent:2023/01/24 21:52:25 build.go:403: 126: PASS : tst_qquickpixmapcache::shrinkcache() agent:2023/01/24 21:52:26 build.go:403: 126: PASS : tst_qquickpixmapcache::networkCrash() agent:2023/01/24 21:52:26 build.go:403: 126: QFATAL : tst_qquickpixmapcache::lockingCrash() ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 0x0x1837d80. Receiver '' (of type 'QNetworkAccessManager') was created in thread 0x0x7fe75c0044e0", file /home/qt/work/qt/qtbase/src/corelib/kernel/qcoreapplication.cpp, line 520 agent:2023/01/24 21:52:26 build.go:403: 126: FAIL! : tst_qquickpixmapcache::lockingCrash() Received a fatal error. agent:2023/01/24 21:52:26 build.go:403: 126: Loc: [/home/qt/work/qt/qtbase/src/corelib/kernel/qcoreapplication.cpp(520)] agent:2023/01/24 21:52:26 build.go:403: 126: Totals: 14 passed, 1 failed, 0 skipped, 0 blacklisted, 913ms agent:2023/01/24 21:52:26 build.go:403: 126: ********* Finished testing of tst_qquickpixmapcache ********* agent:2023/01/24 21:52:26 build.go:403: 126: Received signal 6 (SIGABRT) agent:2023/01/24 21:52:26 build.go:403: 126: lockingCrash function time: 16ms, total time: 913ms agent:2023/01/24 21:52:26 build.go:403: 126: agent:2023/01/24 21:52:26 build.go:403: 126: === Stack trace === agent:2023/01/24 21:52:26 build.go:403: 126: Could not attach to process. If your uid matches the uid of the target agent:2023/01/24 21:52:26 build.go:403: 126: process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try agent:2023/01/24 21:52:26 build.go:403: 126: again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf agent:2023/01/24 21:52:26 build.go:403: 126: ptrace: Operation not permitted. agent:2023/01/24 21:52:26 build.go:403: 126: === End of stack trace === agent:2023/01/24 21:52:26 build.go:403: 126: qt-testrunner.py INFO: Test process exited with code: -6 agent:2023/01/24 21:52:26 build.go:403: 126: qt-testrunner.py INFO: Parsed XML file /home/qt/work/testresults/tst_qquickpixmapcache-1674597144972.xml in 0.001 seconds agent:2023/01/24 21:52:26 build.go:403: 126: qt-testrunner.py INFO: Found 14 passes and 1 failures agent:2023/01/24 21:52:26 build.go:403: 126: qt-testrunner.py INFO: Some tests failed, will re-run at most 5 times. agent:2023/01/24 21:52:26 build.go:403: 126: agent:2023/01/24 21:52:26 build.go:403: 126: qt-testrunner.py INFO: Re-running testcase: lockingCrash agent:2023/01/24 21:52:26 build.go:403: 126: qt-testrunner.py DEBUG: Running test command line: ['/home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache', '-o', '/home/qt/work/testresults/tst_qquickpixmapcache-1674597146129.xml,xml', '-o', '/home/qt/work/testresults/tst_qquickpixmapcache-1674597146129.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_qquickpixmapcache-1674597146129.txt,txt', '-o', '-,txt', 'lockingCrash'] agent:2023/01/24 21:52:26 build.go:403: 126: qt.dbus.integration: Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString) agent:2023/01/24 21:52:26 build.go:403: 126: ********* Start testing of tst_qquickpixmapcache ********* agent:2023/01/24 21:52:26 build.go:403: 126: Config: Using QtTest library 6.6.0, Qt 6.6.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 9.3.0), ubuntu 20.04 agent:2023/01/24 21:52:26 build.go:403: 126: PASS : tst_qquickpixmapcache::initTestCase() agent:2023/01/24 21:52:26 build.go:403: 126: QFATAL : tst_qquickpixmapcache::lockingCrash() ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 0x0x16aad80. Receiver '' (of type 'QNetworkAccessManager') was created in thread 0x0x1a03420", file /home/qt/work/qt/qtbase/src/corelib/kernel/qcoreapplication.cpp, line 520 agent:2023/01/24 21:52:26 build.go:403: 126: FAIL! : tst_qquickpixmapcache::lockingCrash() Received a fatal error. agent:2023/01/24 21:52:26 build.go:403: 126: Loc: [/home/qt/work/qt/qtbase/src/corelib/kernel/qcoreapplication.cpp(520)] agent:2023/01/24 21:52:26 build.go:403: 126: Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 15ms agent:2023/01/24 21:52:26 build.go:403: 126: ********* Finished testing of tst_qquickpixmapcache ********* agent:2023/01/24 21:52:26 build.go:403: 126: Received signal 6 (SIGABRT)
Grafana says this has been happening since 2022-09-14 with a pause between 2022-11-09 and 2022-12-11.
Stack trace from local reproduction:
Received signal 6 (SIGABRT) lockingCrash function time: 21ms, total time: 22ms === Stack trace === [New LWP 35201] [New LWP 35202] [New LWP 35203] [New LWP 35204] [New LWP 35205] [New LWP 35208] warning: internal error: string "StringData<3, 12, 7, 7, 6, 6, 9, 5, 10, 4, 6, 5, 5, 8, 7, 8, 10, 9, 9, 12, 11, 12, 11, 8, 6, 5, 13, 12, 9, 11, 12, 13, 11, 9, 13, 14, 9, 13, 11, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 11, 15, 16, 12, 11, 9, 13, 12, 8, 9, 11, 12, 11, 17, 11, 21, 21, 20, 10, 15, 16, 14, 19, 15, 15, 10, 14, 10, 13, 11, 14, 13, 13, 14, 21, 9, 12, 13, 14, 19, 12, 9, 15, 13, 15, 17, 13, 17, 14, 26, 17, 24, 21, 21, 19, 14, 10, 11, 12, 10, 11, 7, 7, 7, 6, 7, 6, 5, 8, 13, 8, 10, 14, 12, 16, 29, 15, 24, 27, 20, 16, 21, 25, 25, 24, 28, 22, 21, 26, 30, 25, 36, 20, 24, 22, 27, 26, 23, 27, 12, 12, 14, 16, 16, 17, 13, 13, 17, 21, 18, 20, 18, 18, 19, 20, 21, 28, 29, 19, 16, 12, 14, 17, 20, 18, 11, 17, 22, 19, 10, 22, 18, 17, 17, 18, 20, 22, 14, 11, 13, 29, 18, 11, 9, 17, 15, 19, 22, 18, 19, 29, 18, 17, 17, 17, 15, 22, 26, 24, 18, 23, 23, 21, 24, 19, 24, 27, 13, 15, 22, 9, 26, 15, 23, 15, 22, 21, 25, 20, 20, 22, 21, 12, 13, 20, 17, 16, 15, 24, 20, 32, 27, 14, 25, 29, 16, 29, 20, 29, 26, 29, 26, 29, 28, 28, 34, 31, 29, 34, 27, 25, 21, 27, 25, 21, 34, 35, 23, 20, 18, 35, 20, 18, 21, 24, 17, 34, 21, 24, 26, 12, 32, 42, 42, 21, 22, 20, 15, 21, 23, 14, 24, 25, 42, 24, 43, 31, 40, 26, 35, 24, 25, 18, 21, 20, 15, 10, 10, 9, 17, 21, 19, 19, 8, 12, 14, 14, 16, 16, 11, 13, 12, 18, 19, 7, 16, 11, 4, 10, 8, 11, 13, 15, 11, 12, 14, 15, 14, 15, 13, 9, 10, 10, 11, 10, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 10, 14, 9, 10, 12, 13, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 16, 14, 17, 16, 15, 14, 14, 8, 15, 15, 17, 15, 9, 13, 13, 8, 14, 12, 14, 14, 16, 18, 12, 11, 15, 11, 11, 14, 16, 18, 10, 7, 14, 19, 12, 16, 14, 19, 15, 12, 18, 17, 11, 11, 16, 11, 15, 10, 7, 13, 11, 11, 16, 15, 11, 11, 16, 15, 8, 11, 11, 11, 16, 11, 15, 13, 13, 11, 11, 16, 15, 11, 10, 11, 13, 15, 11, 8, 12, 14, 11, 10, 11, 11, 10, 10, 11, 10, 9, 8, 9, 7, 10, 9, 11, 13, 10, 12, 9, 8, 13, 12, 15, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 12, 12, 9, 12, 12, 9, 16, 16, 10, 14, 14, 20, 22, 22, 16, 10, 13, 11, 11, 13, 13, 22, 12, 12, 20, 12, 11, 14, 15, 15, 16, 11, 17, 15, 17, 16, 18, 18, 17, 20, 21, 19, 15, 15, 20, 15, 16, 15, 18, 19, 19, 21, 15, 17, 16, 14, 22, 26, 18, 14, 14, 16, 20, 28, 21, 19, 21, 25, 20, 20, 24, 23, 20, 18, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 21, 23, 15, 17, 27, 27, 28, 9, 12, 9, 12, 15, 15, 13, 14, 11, 13, 13, 15, 14, 14, 18, 14, 16, 15, 25, 13, 14, 11, 12, 12, 15, 16, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 20, 22, 23, 25, 27, 13, 11, 10, 16, 8, 9, 14, 9, 12, 16, 13, 21, 12, 14, 16, 16, 20, 21, 9, 7, 15, 13, 14, 10, 9, 8, 12, 8, 14, 10, 13, 9, 7, 11, 11, 11, 12, 11, 11, 12, 9, 15, 11, 10, 10, 13, 10, 11, 18, 15, 15, 9, 9, 10, 16, 12, 13, 13, 10, 11, 10, 9, 9, 11, 12, 9, 14, 11, 16, 13, 10, 12, 14, 9, 8, 17, 16, 20, 13, 20, 9, 14, 9, 12, 14, 12, 19, 12, 12, 19, 15, 16, 12, 8, 10, 11, 9, 14, 16, 10, 9, 13, 16, 18, 8, 9, 9, 9, 9, 14, 11, 8, 7, 11, 12, 12, 10, 9, 9, 9, 13, 13, 13, 13, 9, 11, 9, 21, 14, 21, 11, 16, 12, 17, 11, 14, 16, 12, 13, 15, 20, 21, 18, 9, 5, 6, 5, 4, 14, 10, 10, 8, 8, 10, 10, 11, 9, 6, 10, 9, 8, 12, 15, 15, 12, 8, 10, 9, 13, 13, 10, 10, 10, 13, 14, 11, 8, 13, 14, 14, 14, 14, 14, 14, 14, 11, 11, 13, 13, 13, 17, 22, 22, 23, 15, 9, 13, 13, 12, 12, 14, 12, 11, 12, 14, 14, 16, 16, 14, 12, 13, 13, 19, 16, 16, 11, 15, 17, 15, 15, 15, 11, 13, 13, 11, 10, 9, 9, 13, 16, 18, 16, 27, 15, 19, 20, 18, 21, 20, 19, 17, 16, 12, 16, 17, 15, 18, 17, 16, 14, 13, 11, 9, 8, 12, 14, 9, 10, 4, 14, 9, 10, 7, 8, 10, 9, 7, 9, 7, 16, 18, 19, 18, 16, 16, 14, 7, 14, 15, 17, 18, 5, 8, 9, 10, 11, 6, 15, 15, 17, 17, 25, 17, 21, 16, 15, 15, 20, 27, 9, 12, 12, 9, 12, 13, 14, 7, 12, 14, 18, 18, 20, 25, 27, 23, 17, 15, 19, 19, 21, 5, 6, 6, 6, 12, 17, 15, 19, 24, 17, 20, 19, 17, 14, 18, 14, 19, 19, 18, 19, 17, 10, 18, 7, 17, 18, 19, 20, 17, 8, 20, 19, 19, 18, 15, 18, 25, 11, 15, 13, 11, 19, 16, 8, 14, 17, 19, 17, 19, 19, 20, 8, 8, 15, 13, 14, 17, 14, 24, 17, 17, 26, 23, 21, 13, 22, 17, 13, 16, 15, 13, 11, 13, 15, 13, 17, 16, 19, 19, 25, 24, 22, 16, 12, 12, 20, 11, 11, 11, 11, 11, 17, 13, 12, 11, 10, 17, 8, 13, 12, 15, 9, 12, 14, 14, 9, 18, 15, 15, 15, 19, 26, 13, 21, 20, 23, 20, 22, 22, 9, 10, 9, 12, 17, 15, 18, 18, 20, 14, 19, 21, 19, 11, 10, 13, 14, 16, 14, 23, 14, 17, 14, 19, 10, 15, 15, 9, 12, 17, 20, 18, 22, 25, 23, 26, 13, 22, 23, 21, 9, 12, 14, 12, 15, 11, 17, 16, 23, 18, 16, 21, 19, 13, 10, 15, 15, 16, 16, 12, 11, 18, 11, 13, 13, 14, 16, 18, 19, 17, 17, 18, 23, 20, 19, 16, 17, 16, 10, 13, 12, 16, 12, 14, 12, 13, 10, 15, 17, 25, 30, 26, 35, 16, 15, 17, 29, 19, 13, 16, 15, 33, 6, 6, 5, 6, 17, 12, 17, 13, 8, 7>" failed to be canonicalized [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007f49cedf0b07 in __GI___wait4 (pid=35209, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27 27 ../sysdeps/unix/sysv/linux/wait4.c: No such file or directory. Thread 7 (Thread 0x7f49c44d8700 (LWP 35208) "QNetworkAccessM"): #0 0x00007f49cee18d2f in __GI___poll (fds=0x602000008090, nfds=1, timeout=119914) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f49d5f161b2 in __interceptor_poll (fds=0x602000008090, nfds=1, timeout=119914) at ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:3904 #2 0x00007f49ce1d40ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f49ce1d41cf in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f49cfda6074 in QEventDispatcherGlib::processEvents (this=0x602000008070, flags=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #5 0x00007f49cf483845 in QEventLoop::processEvents (this=0x7f49c44d7a00, flags=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qeventloop.cpp:100 #6 0x00007f49cf4841b0 in QEventLoop::exec (this=0x7f49c44d7a00, flags=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qeventloop.cpp:182 #7 0x00007f49cf84ecbc in QThread::exec (this=0x60200000a070) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread.cpp:578 #8 0x00007f49cf84f908 in QThread::run (this=0x60200000a070) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread.cpp:699 #9 0x00007f49cfa16573 in operator() (__closure=0x7f49c44d7c50) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:321 #10 0x00007f49cfa196e9 in (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >(struct {...} &&) (t=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:257 #11 0x00007f49cfa1678c in QThreadPrivate::start (arg=0x60200000a070) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:280 #12 0x00007f49ced07ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477 #13 0x00007f49cee24a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7f49c4cd9700 (LWP 35205) "QtTest Watchdog"): #0 futex_abstimed_wait_cancelable (private=0, abstime=0x7f49c4cd86c0, clockid=-993163952, expected=0, futex_word=0x60b000005480) at ../sysdeps/nptl/futex-internal.h:323 #1 __pthread_cond_wait_common (abstime=0x7f49c4cd86c0, clockid=-993163952, mutex=0x60b000005430, cond=0x60b000005458) at pthread_cond_wait.c:520 #2 __pthread_cond_clockwait (abstime=0x7f49c4cd86c0, clockid=-993163952, mutex=0x60b000005430, cond=0x60b000005458) at pthread_cond_wait.c:677 #3 __pthread_cond_clockwait (cond=0x60b000005458, mutex=0x60b000005430, clockid=-993163952, abstime=0x7f49c4cd86c0) at pthread_cond_wait.c:665 #4 0x00007f49d5dc4d95 in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x60b000005458, __lock=..., __atime=...) at /usr/include/c++/10/condition_variable:209 #5 0x00007f49d5dc17cb in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x60b000005458, __lock=..., __atime=...) at /usr/include/c++/10/condition_variable:119 #6 0x00007f49d5dbdf54 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> >, QTest::WatchDog::waitFor(std::unique_lock<std::mutex>&, QTest::WatchDog::Expectation)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, QTest::WatchDog::waitFor(std::unique_lock<std::mutex>&, QTest::WatchDog::Expectation)::{lambda()#1}) (this=0x60b000005458, __lock=..., __atime=..., __p=...) at /usr/include/c++/10/condition_variable:158 #7 0x00007f49d5db8c70 in std::condition_variable::wait_for<long, std::ratio<1l, 1000l>, QTest::WatchDog::waitFor(std::unique_lock<std::mutex>&, QTest::WatchDog::Expectation)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::duration<long, std::ratio<1l, 1000l> > const&, QTest::WatchDog::waitFor(std::unique_lock<std::mutex>&, QTest::WatchDog::Expectation)::{lambda()#1}) (this=0x60b000005458, __lock=..., __rtime=..., __p=...) at /usr/include/c++/10/condition_variable:185 #8 0x00007f49d5db59e4 in QTest::WatchDog::waitFor (this=0x60b000005420, m=..., e=QTest::WatchDog::TestFunctionEnd) at /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1239 #9 0x00007f49d5db6389 in QTest::WatchDog::run (this=0x60b000005420) at /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1302 #10 0x00007f49cfa16573 in operator() (__closure=0x7f49c4cd8c50) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:321 #11 0x00007f49cfa196e9 in (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >(struct {...} &&) (t=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:257 #12 0x00007f49cfa1678c in QThreadPrivate::start (arg=0x60b000005420) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:280 #13 0x00007f49ced07ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477 #14 0x00007f49cee24a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f49c5f1e700 (LWP 35204) "QQmlThread"): #0 0x00007f49cee18d2f in __GI___poll (fds=0x602000005030, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f49d5f161b2 in __interceptor_poll (fds=0x602000005030, nfds=1, timeout=-1) at ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:3904 #2 0x00007f49ce1d40ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f49ce1d41cf in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f49cfda6074 in QEventDispatcherGlib::processEvents (this=0x602000005010, flags=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #5 0x00007f49cf483845 in QEventLoop::processEvents (this=0x7f49c5f1da00, flags=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qeventloop.cpp:100 #6 0x00007f49cf4841b0 in QEventLoop::exec (this=0x7f49c5f1da00, flags=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qeventloop.cpp:182 #7 0x00007f49cf84ecbc in QThread::exec (this=0x60c000005ec0) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread.cpp:578 #8 0x00007f49cf84f908 in QThread::run (this=0x60c000005ec0) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread.cpp:699 #9 0x00007f49cfa16573 in operator() (__closure=0x7f49c5f1dc50) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:321 #10 0x00007f49cfa196e9 in (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >(struct {...} &&) (t=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:257 #11 0x00007f49cfa1678c in QThreadPrivate::start (arg=0x60c000005ec0) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:280 #12 0x00007f49ced07ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477 #13 0x00007f49cee24a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f49c671f700 (LWP 35203) "WaylandEventThr"): #0 0x00007f49cee18d2f in __GI___poll (fds=0x7f49c671ea30, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f49d5f161b2 in __interceptor_poll (fds=0x7f49c671ea30, nfds=2, timeout=-1) at ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:3904 #2 0x00007f49c7800931 in QtWaylandClient::EventThread::run (this=0x6070000071e0) at /home/ulf/dev/qt6dev-src/qtwayland/src/client/qwaylanddisplay.cpp:189 #3 0x00007f49cfa16573 in operator() (__closure=0x7f49c671ec50) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:321 #4 0x00007f49cfa196e9 in (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >(struct {...} &&) (t=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:257 #5 0x00007f49cfa1678c in QThreadPrivate::start (arg=0x6070000071e0) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:280 #6 0x00007f49ced07ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477 #7 0x00007f49cee24a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f49c6f20700 (LWP 35202) "WaylandEventThr"): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x6080000012f0) at ../sysdeps/nptl/futex-internal.h:186 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x6080000012a0, cond=0x6080000012c8) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x6080000012c8, mutex=0x6080000012a0) at pthread_cond_wait.c:638 #3 0x00007f49cfa45529 in QWaitConditionPrivate::wait (this=0x6080000012a0, deadline=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:111 #4 0x00007f49cfa44d45 in QWaitCondition::wait (this=0x6070000071b0, mutex=0x6070000071a8, deadline=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:182 #5 0x00007f49c7800d4b in QtWaylandClient::EventThread::waitForReading (this=0x607000007170) at /home/ulf/dev/qt6dev-src/qtwayland/src/client/qwaylanddisplay.cpp:223 #6 0x00007f49c7800736 in QtWaylandClient::EventThread::run (this=0x607000007170) at /home/ulf/dev/qt6dev-src/qtwayland/src/client/qwaylanddisplay.cpp:184 #7 0x00007f49cfa16573 in operator() (__closure=0x7f49c6f1fc50) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:321 #8 0x00007f49cfa196e9 in (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >(struct {...} &&) (t=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:257 #9 0x00007f49cfa1678c in QThreadPrivate::start (arg=0x607000007170) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:280 #10 0x00007f49ced07ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477 #11 0x00007f49cee24a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f49c7721700 (LWP 35201) "QDBusConnection"): #0 0x00007f49cee18d2f in __GI___poll (fds=0x602000001590, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f49d5f161b2 in __interceptor_poll (fds=0x602000001590, nfds=2, timeout=-1) at ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:3904 #2 0x00007f49ce1d40ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f49ce1d41cf in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f49cfda6074 in QEventDispatcherGlib::processEvents (this=0x602000001010, flags=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #5 0x00007f49cf483845 in QEventLoop::processEvents (this=0x7f49c7720950, flags=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qeventloop.cpp:100 #6 0x00007f49cf4841b0 in QEventLoop::exec (this=0x7f49c7720950, flags=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qeventloop.cpp:182 #7 0x00007f49cf84ecbc in QThread::exec (this=0x7f49ce17e8c0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread.cpp:578 #8 0x00007f49cdec2688 in QDBusConnectionManager::run (this=0x7f49ce17e8c0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /home/ulf/dev/qt6dev-src/qtbase/src/dbus/qdbusconnection.cpp:123 #9 0x00007f49cfa16573 in operator() (__closure=0x7f49c7720c50) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:321 #10 0x00007f49cfa196e9 in (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >(struct {...} &&) (t=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:257 #11 0x00007f49cfa1678c in QThreadPrivate::start (arg=0x7f49ce17e8c0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/thread/qthread_unix.cpp:280 #12 0x00007f49ced07ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477 #13 0x00007f49cee24a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f49cb2e3940 (LWP 35200) "tst_qquickpixma"): #0 0x00007f49cedf0b07 in __GI___wait4 (pid=35209, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27 #1 0x00007f49d5f1e17f in __interceptor_waitpid (pid=<optimized out>, status=0x0, options=<optimized out>) at ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:2414 #2 0x00007f49d5d90829 in generateStackTrace () at /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:409 #3 0x00007f49d5d9cc44 in (anonymous namespace)::FatalSignalHandler::actionHandler (signum=6, info=0x7f49c7eaf5b0) at /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2157 #4 <signal handler called> #5 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #6 0x00007f49ced4a537 in __GI_abort () at abort.c:79 #7 0x00007f49cf2a8767 in qAbort () at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/global/qglobal.cpp:161 #8 0x00007f49cf2cb72a in qt_message_fatal (context=..., message=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/global/qlogging.cpp:2041 #9 0x00007f49cf2c26a1 in QMessageLogger::fatal (this=0x7ffd9d86b3e0, msg=0x7f49cfe33b80 "ASSERT failure in %s: \"%s\", file %s, line %d") at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/global/qlogging.cpp:930 #10 0x00007f49cf2a3a79 in qt_assert_x (where=0x7f49cfe806e0 "QCoreApplication::sendEvent", what=0x61600000b490 "Cannot send events to objects owned by a different thread. Current thread 0x0x602000000510. Receiver '' (of type 'QNetworkAccessManager') was created in thread 0x0x60c0000316c0", file=0x7f49cfe7fda0 "/home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qcoreapplication.cpp", line=520) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/global/qassert.cpp:77 #11 0x00007f49cf45665e in QCoreApplicationPrivate::checkReceiverThread (receiver=0x60200000a030) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qcoreapplication.cpp:520 #12 0x00007f49cf4588c4 in doNotify (receiver=0x60200000a030, event=0x7ffd9d86b880) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1160 #13 0x00007f49cf4587be in QCoreApplication::notify (this=0x7ffd9d86dfe0, receiver=0x60200000a030, event=0x7ffd9d86b880) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1146 #14 0x00007f49d08b13ef in QGuiApplication::notify (this=0x7ffd9d86dfe0, object=0x60200000a030, event=0x7ffd9d86b880) at /home/ulf/dev/qt6dev-src/qtbase/src/gui/kernel/qguiapplication.cpp:1954 #15 0x00007f49cf4585ca in QCoreApplication::notifyInternal2 (receiver=0x60200000a030, event=0x7ffd9d86b880) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1067 #16 0x00007f49cf459cad in QCoreApplication::sendEvent (receiver=0x60200000a030, event=0x7ffd9d86b880) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1485 #17 0x00007f49cf57e49c in QObjectPrivate::setParent_helper (this=0x619000082a80, o=0x0) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qobject.cpp:2206 #18 0x00007f49cf57964a in QObject::~QObject (this=0x60200000a050, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qobject.cpp:1107 #19 0x00007f49cf39da03 in QIODevice::~QIODevice (this=0x60200000a050, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/io/qiodevice.cpp:462 #20 0x00007f49d23e2e75 in QNetworkReply::~QNetworkReply (this=0x60200000a050, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtbase/src/network/access/qnetworkreply.cpp:455 #21 0x00007f49d2612a01 in QNetworkReplyHttpImpl::~QNetworkReplyHttpImpl (this=0x60200000a050, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtbase/src/network/access/qnetworkreplyhttpimpl.cpp:215 #22 0x00007f49d2612a1c in QNetworkReplyHttpImpl::~QNetworkReplyHttpImpl (this=0x60200000a050, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtbase/src/network/access/qnetworkreplyhttpimpl.cpp:219 #23 0x00007f49d23a87aa in qDeleteAll<QList<QNetworkReply*>::const_iterator> (begin=..., end=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/tools/qalgorithms.h:27 #24 0x00007f49d23a6dcd in qDeleteAll<QList<QNetworkReply*> > (c=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/tools/qalgorithms.h:35 #25 0x00007f49d2394ee5 in QNetworkAccessManager::~QNetworkAccessManager (this=0x60200000a030, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtbase/src/network/access/qnetworkaccessmanager.cpp:435 #26 0x00007f49d2394fa4 in QNetworkAccessManager::~QNetworkAccessManager (this=0x60200000a030, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtbase/src/network/access/qnetworkaccessmanager.cpp:439 #27 0x00007f49cf57d80e in QObjectPrivate::deleteChildren (this=0x60c000036100) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qobject.cpp:2161 #28 0x00007f49cf5795a3 in QObject::~QObject (this=0x603000061990, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qobject.cpp:1099 #29 0x00007f49d4d60dfb in QQuickPixmapReaderThreadObject::~QQuickPixmapReaderThreadObject (this=0x603000061990, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:143 #30 0x00007f49d4d60e16 in QQuickPixmapReaderThreadObject::~QQuickPixmapReaderThreadObject (this=0x603000061990, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:143 #31 0x00007f49d4d60e93 in std::default_delete<QQuickPixmapReaderThreadObject>::operator() (this=0x60c000031718, __ptr=0x603000061990) at /usr/include/c++/10/bits/unique_ptr.h:85 #32 0x00007f49d4d5b281 in std::unique_ptr<QQuickPixmapReaderThreadObject, std::default_delete<QQuickPixmapReaderThreadObject> >::~unique_ptr (this=0x60c000031718, __in_chrg=<optimized out>) at /usr/include/c++/10/bits/unique_ptr.h:361 #33 0x00007f49d4d40a7c in QQuickPixmapReader::~QQuickPixmapReader (this=0x60c0000316c0, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:500 #34 0x00007f49d4d40b84 in QQuickPixmapReader::~QQuickPixmapReader (this=0x60c0000316c0, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:534 #35 0x00007f49cf57d80e in QObjectPrivate::deleteChildren (this=0x617000002380) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qobject.cpp:2161 #36 0x00007f49cf5795a3 in QObject::~QObject (this=0x7ffd9d86c500, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qobject.cpp:1099 #37 0x00007f49d2e67c37 in QJSEngine::~QJSEngine (this=0x7ffd9d86c500, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtdeclarative/src/qml/jsapi/qjsengine.cpp:373 #38 0x00007f49d341f148 in QQmlEngine::~QQmlEngine (this=0x7ffd9d86c500, __in_chrg=<optimized out>) at /home/ulf/dev/qt6dev-src/qtdeclarative/src/qml/qml/qqmlengine.cpp:542 #39 0x00005608a95b4ad3 in tst_qquickpixmapcache::lockingCrash (this=0x7ffd9d86e000) at /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:383 #40 0x00005608a95b686e in tst_qquickpixmapcache::qt_static_metacall (_o=0x7ffd9d86e000, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7ffd9d86cf90) at /home/ulf/dev/qt6dev/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache_autogen/include/tst_qquickpixmapcache.moc:208 #41 0x00007f49cf49e17b in QMetaMethodInvoker::invokeImpl (self=..., target=0x7ffd9d86e000, connectionType=Qt::DirectConnection, paramCount=1, parameters=0x7ffd9d86cf90, typeNames=0x7ffd9d86cf98, metaTypes=0x7ffd9d86cfa0) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2702 #42 0x00007f49cf49bdf3 in QMetaMethod::invokeImpl (self=..., target=0x7ffd9d86e000, connectionType=Qt::DirectConnection, paramCount=1, parameters=0x7ffd9d86cf90, typeNames=0x7ffd9d86cf98, metaTypes=0x7ffd9d86cfa0) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.cpp:2541 #43 0x00007f49d5dbc3a5 in QMetaMethod::invoke<>(QObject*, Qt::ConnectionType, QMetaMethodReturnArgument) const (this=0x6020000065b0, obj=0x7ffd9d86e000, c=Qt::DirectConnection, r=...) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:148 #44 0x00007f49d5db7686 in QMetaMethod::invoke<>(QObject*, Qt::ConnectionType) const (this=0x6020000065b0, obj=0x7ffd9d86e000, c=Qt::DirectConnection) at /home/ulf/dev/qt6dev-src/qtbase/src/corelib/kernel/qmetaobject.h:160 #45 0x00007f49d5d96d09 in QTest::TestMethods::invokeTestOnData (this=0x7ffd9d86de90, index=0) at /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1134 #46 0x00007f49d5d98a54 in QTest::TestMethods::invokeTest (this=0x7ffd9d86de90, index=0, tag=..., watchDog=0x60b000005420) at /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1426 #47 0x00007f49d5d9b834 in QTest::TestMethods::invokeTests (this=0x7ffd9d86de90, testObject=0x7ffd9d86e000) at /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:1752 #48 0x00007f49d5d9e2d7 in QTest::qRun () at /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2365 #49 0x00007f49d5d9d061 in QTest::qExec (testObject=0x7ffd9d86e000, argc=2, argv=0x7ffd9d86e2f8) at /home/ulf/dev/qt6dev-src/qtbase/src/testlib/qtestcase.cpp:2251 #50 0x00005608a95b65fb in main (argc=2, argv=0x7ffd9d86e2f8) at /home/ulf/dev/qt6dev-src/qtdeclarative/tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp:506 [Inferior 1 (process 35200) detached] === End of stack trace ===
Attachments
Issue Links
- relates to
-
QTBUG-110597 tst_qquickpixmapcache leaks memory
- Closed
For Gerrit Dashboard: QTBUG-110590 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
456170,4 | QQuickPixmapCache: Avoid cross-thread deletion of QObjects | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
456400,2 | QQuickPixmapCache: Avoid cross-thread deletion of QObjects | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |