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

QQuickWindow has data races

    XMLWordPrintable

Details

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

    Description

      Consider https://testresults.qt.io/logs/qt/qtdeclarative/486eb5a86bc16564141a6b902633e9d6e7c5c2eb/LinuxopenSUSE_15_6x86_64LinuxopenSUSE_15_6x86_64GCCqtci-linux-openSUSE-15.6-x86_64-51-f5c301Sccache_UseAddressSanitizer_UseConfigure_WarningsAreErrors/2c6f5b837c003b02dd679f5023207606952b8532/test_1743649709/log.txt.gz

      gent:2025/04/03 05:38:47 build.go:404: PASS   : tst_controls::Material::CheckDelegate::cleanupTestCase()
      agent:2025/04/03 05:38:47 build.go:404: PASS   : tst_controls::Material::ComboBox::initTestCase()
      agent:2025/04/03 05:38:47 build.go:404: PASS   : tst_controls::Material::ComboBox::test_acceptableInput_QTBUG_94307()
      agent:2025/04/03 05:38:47 build.go:404: =================================================================
      agent:2025/04/03 05:38:47 build.go:404: ==15562==ERROR: AddressSanitizer: heap-use-after-free on address 0x6140000eb8b0 at pc 0x7fa20732ffcf bp 0x7fa1ea8d2730 sp 0x7fa1ea8d2728
      agent:2025/04/03 05:38:47 build.go:404: READ of size 8 at 0x6140000eb8b0 thread T31 (QSGRenderThread)
      agent:2025/04/03 05:38:47 build.go:404:     #0 0x7fa20732ffce in std::__atomic_base<QObjectPrivate::Connection*>::load(std::memory_order) const /usr/include/c++/9/bits/atomic_base.h:740
      agent:2025/04/03 05:38:47 build.go:404:     #1 0x7fa20732ffce in std::atomic<QObjectPrivate::Connection*>::load(std::memory_order) const /usr/include/c++/9/atomic:519
      agent:2025/04/03 05:38:47 build.go:404:     #2 0x7fa20732b39f in QObjectPrivate::Connection* QAtomicOps<QObjectPrivate::Connection*>::loadAcquire<QObjectPrivate::Connection*>(std::atomic<QObjectPrivate::Connection*> const&) /home/qt/work/qt/qtbase/src/corelib/thread/qatomic_cxx11.h:214
      agent:2025/04/03 05:38:47 build.go:404:     #3 0x7fa207323547 in QBasicAtomicPointer<QObjectPrivate::Connection>::loadAcquire() const (/home/qt/work/install/lib/libQt6Core.so.6+0x723547)
      agent:2025/04/03 05:38:47 build.go:404:     #4 0x7fa2072fa698 in QObjectPrivate::maybeSignalConnected(unsigned int) const /home/qt/work/qt/qtbase/src/corelib/kernel/qobject.cpp:461
      agent:2025/04/03 05:38:47 build.go:404:     #5 0x7fa20732889f in void doActivate<false>(QObject*, int, void**) /home/qt/work/qt/qtbase/src/corelib/kernel/qobject.cpp:4046
      agent:2025/04/03 05:38:47 build.go:404:     #6 0x7fa207311de2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /home/qt/work/qt/qtbase/src/corelib/kernel/qobject.cpp:4206
      agent:2025/04/03 05:38:47 build.go:404:     #7 0x7fa20f0921ca in QQuickWindow::afterRenderPassRecording() /home/qt/work/qt/qtdeclarative_build/src/quick/Quick_autogen/include/moc_qquickwindow.cpp:470
      agent:2025/04/03 05:38:47 build.go:404:     #8 0x7fa20f079751 in QQuickWindowPrivate::emitAfterRenderPassRecording(void*) /home/qt/work/qt/qtdeclarative/src/quick/items/qquickwindow.cpp:588
      agent:2025/04/03 05:38:47 build.go:404:     #9 0x7fa20f1a40aa in QSGBatchRenderer::Renderer::endRenderPass(QSGBatchRenderer::Renderer::RenderPassContext*) /home/qt/work/qt/qtdeclarative/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:4021
      agent:2025/04/03 05:38:47 build.go:404:     #10 0x7fa20f19f2fa in QSGBatchRenderer::Renderer::render() /home/qt/work/qt/qtdeclarative/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:3661
      agent:2025/04/03 05:38:47 build.go:404:     #11 0x7fa20f235286 in QSGRenderer::renderScene() /home/qt/work/qt/qtdeclarative/src/quick/scenegraph/coreapi/qsgrenderer.cpp:145
      agent:2025/04/03 05:38:47 build.go:404:     #12 0x7fa20f309691 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*) /home/qt/work/qt/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp:181
      agent:2025/04/03 05:38:47 build.go:404:     #13 0x7fa20f07ad7a in QQuickWindowPrivate::renderSceneGraph() /home/qt/work/qt/qtdeclarative/src/quick/items/qquickwindow.cpp:690
      agent:2025/04/03 05:38:47 build.go:404:     #14 0x7fa20f9d33b6 in QSGRenderThread::syncAndRender() /home/qt/work/qt/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:762
      agent:2025/04/03 05:38:47 build.go:404:     #15 0x7fa20f9d64de in QSGRenderThread::run() /home/qt/work/qt/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:975
      agent:2025/04/03 05:38:47 build.go:404:     #16 0x7fa20783c932 in operator() /home/qt/work/qt/qtbase/src/corelib/thread/qthread_unix.cpp:433
      agent:2025/04/03 05:38:47 build.go:404:     #17 0x7fa207840252 in terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > /home/qt/work/qt/qtbase/src/corelib/thread/qthread_unix.cpp:365
      agent:2025/04/03 05:38:47 build.go:404:     #18 0x7fa20783cc71 in QThreadPrivate::start(void*) /home/qt/work/qt/qtbase/src/corelib/thread/qthread_unix.cpp:393
      agent:2025/04/03 05:38:47 build.go:404:     #19 0x7fa2064a760b in start_thread (/lib64/libc.so.6+0xa760b)
      agent:2025/04/03 05:38:47 build.go:404:     #20 0x7fa20652eaa7 in clone3 (/lib64/libc.so.6+0x12eaa7)
      agent:2025/04/03 05:38:47 build.go:404: 0x6140000eb8b0 is located 112 bytes inside of 448-byte region [0x6140000eb840,0x6140000eba00)
      agent:2025/04/03 05:38:47 build.go:404: freed by thread T0 here:
      agent:2025/04/03 05:38:47 build.go:404:     #0 0x7fa210f0c7b7 in operator delete(void*) (/usr/lib64/libasan.so.5+0x10c7b7)
      agent:2025/04/03 05:38:47 build.go:404:     #1 0x7fa2094f4477 in __gnu_cxx::new_allocator<JSC::Yarr::PatternTerm>::deallocate(JSC::Yarr::PatternTerm*, unsigned long) /usr/include/c++/9/ext/new_allocator.h:128
      agent:2025/04/03 05:38:47 build.go:404:     #2 0x7fa2094eb2bb in std::allocator_traits<std::allocator<JSC::Yarr::PatternTerm> >::deallocate(std::allocator<JSC::Yarr::PatternTerm>&, JSC::Yarr::PatternTerm*, unsigned long) /usr/include/c++/9/bits/alloc_traits.h:470
      agent:2025/04/03 05:38:47 build.go:404:     #3 0x7fa2094e4073 in std::_Vector_base<JSC::Yarr::PatternTerm, std::allocator<JSC::Yarr::PatternTerm> >::_M_deallocate(JSC::Yarr::PatternTerm*, unsigned long) /usr/include/c++/9/bits/stl_vector.h:351
      agent:2025/04/03 05:38:47 build.go:404:     #4 0x7fa2094ef68c in void std::vector<JSC::Yarr::PatternTerm, std::allocator<JSC::Yarr::PatternTerm> >::_M_realloc_insert<JSC::Yarr::PatternTerm>(__gnu_cxx::__normal_iterator<JSC::Yarr::PatternTerm*, std::vector<JSC::Yarr::PatternTerm, std::allocator<JSC::Yarr::PatternTerm> > >, JSC::Yarr::PatternTerm&&) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4ef68c)
      agent:2025/04/03 05:38:47 build.go:404:     #5 0x7fa2094e88be in JSC::Yarr::PatternTerm& std::vector<JSC::Yarr::PatternTerm, std::allocator<JSC::Yarr::PatternTerm> >::emplace_back<JSC::Yarr::PatternTerm>(JSC::Yarr::PatternTerm&&) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4e88be)
      agent:2025/04/03 05:38:47 build.go:404:     #6 0x7fa2094e13b7 in std::vector<JSC::Yarr::PatternTerm, std::allocator<JSC::Yarr::PatternTerm> >::push_back(JSC::Yarr::PatternTerm&&) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4e13b7)
      agent:2025/04/03 05:38:47 build.go:404:     #7 0x7fa2094da9ff in WTF::Vector<JSC::Yarr::PatternTerm, 1, 0>::append(JSC::Yarr::PatternTerm&&) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4da9ff)
      agent:2025/04/03 05:38:47 build.go:404:     #8 0x7fa2094d08a8 in JSC::Yarr::YarrPatternConstructor::atomPatternCharacter(int) /home/qt/work/qt/qtdeclarative/src/3rdparty/masm/yarr/YarrPattern.cpp:490
      agent:2025/04/03 05:38:47 build.go:404:     #9 0x7fa2094fe637 in bool JSC::Yarr::Parser<JSC::Yarr::YarrPatternConstructor, unsigned short>::parseEscape<false, JSC::Yarr::YarrPatternConstructor>(JSC::Yarr::YarrPatternConstructor&) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4fe637)
      agent:2025/04/03 05:38:47 build.go:404:     #10 0x7fa2094f3422 in JSC::Yarr::Parser<JSC::Yarr::YarrPatternConstructor, unsigned short>::parseAtomEscape() (/home/qt/work/install/lib/libQt6Qml.so.6+0x4f3422)
      agent:2025/04/03 05:38:47 build.go:404:     #11 0x7fa2094ea69d in JSC::Yarr::Parser<JSC::Yarr::YarrPatternConstructor, unsigned short>::parseTokens() /home/qt/work/qt/qtdeclarative/src/3rdparty/masm/yarr/YarrParser.h:773
      agent:2025/04/03 05:38:47 build.go:404:     #12 0x7fa2094e2dce in JSC::Yarr::Parser<JSC::Yarr::YarrPatternConstructor, unsigned short>::parse() (/home/qt/work/install/lib/libQt6Qml.so.6+0x4e2dce)
      agent:2025/04/03 05:38:47 build.go:404:     #13 0x7fa2094dbf70 in JSC::Yarr::ErrorCode JSC::Yarr::parse<JSC::Yarr::YarrPatternConstructor>(JSC::Yarr::YarrPatternConstructor&, WTF::String const&, bool, unsigned int) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4dbf70)
      agent:2025/04/03 05:38:47 build.go:404:     #14 0x7fa2094c4246 in JSC::Yarr::YarrPattern::compile(WTF::String const&, void*) /home/qt/work/qt/qtdeclarative/src/3rdparty/masm/yarr/YarrPattern.cpp:1115
      agent:2025/04/03 05:38:47 build.go:404:     #15 0x7fa2094c49df in JSC::Yarr::YarrPattern::YarrPattern(WTF::String const&, JSC::RegExpFlags, JSC::Yarr::ErrorCode&, void*) /home/qt/work/qt/qtdeclarative/src/3rdparty/masm/yarr/YarrPattern.cpp:1161
      agent:2025/04/03 05:38:47 build.go:404:     #16 0x7fa209aaae76 in QV4::Heap::RegExp::init(QV4::ExecutionEngine*, QString const&, unsigned int) /home/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4regexp.cpp:223
      agent:2025/04/03 05:38:47 build.go:404:     #17 0x7fa209aad288 in QV4::RegExp::Data* QV4::MemoryManager::alloc<QV4::RegExp, QV4::ExecutionEngine*&, QString const&, unsigned int&>(QV4::ExecutionEngine*&, QString const&, unsigned int&) /home/qt/work/qt/qtdeclarative/src/qml/memory/qv4mm_p.h:323
      agent:2025/04/03 05:38:47 build.go:404:     #18 0x7fa209aaaa10 in QV4::RegExp::create(QV4::ExecutionEngine*, QString const&, unsigned int) /home/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4regexp.cpp:204
      agent:2025/04/03 05:38:47 build.go:404:     #19 0x7fa2098dc6b6 in QV4::ExecutableCompilationUnit::populate() /home/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4executablecompilationunit.cpp:101
      agent:2025/04/03 05:38:47 build.go:404:     #20 0x7fa209f59f08 in QQmlObjectCreator::init(QQmlRefPointer<QQmlContextData> const&) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:112
      agent:2025/04/03 05:38:47 build.go:404:     #21 0x7fa209f5968b in QQmlObjectCreator::QQmlObjectCreator(QQmlRefPointer<QQmlContextData> const&, QQmlRefPointer<QV4::ExecutableCompilationUnit> const&, QQmlRefPointer<QQmlContextData> const&, QString const&, QQmlIncubatorPrivate*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:69
      agent:2025/04/03 05:38:47 build.go:404:     #22 0x7fa209d5a0df in QQmlComponentPrivate::ConstructionState::initCreator(QQmlRefPointer<QQmlContextData> const&, QQmlRefPointer<QV4::ExecutableCompilationUnit> const&, QQmlRefPointer<QQmlContextData> const&, QString const&) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent_p.h:300
      agent:2025/04/03 05:38:47 build.go:404:     #23 0x7fa209d45561 in QQmlComponentPrivate::beginCreate(QQmlRefPointer<QQmlContextData>) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1113
      agent:2025/04/03 05:38:47 build.go:404:     #24 0x7fa209d4478f in QQmlComponent::beginCreate(QQmlContext*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1043
      agent:2025/04/03 05:38:47 build.go:404:     #25 0x7fa209d3e4df in QQmlComponentPrivate::doBeginCreate(QQmlComponent*, QQmlContext*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:349
      agent:2025/04/03 05:38:47 build.go:404:     #26 0x7fa209d4407f in QQmlComponentPrivate::createWithProperties(QObject*, QMap<QString, QVariant> const&, QQmlContext*, QQmlComponentPrivate::CreateBehavior, bool) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:966
      agent:2025/04/03 05:38:47 build.go:404:     #27 0x7fa209d43e97 in QQmlComponent::create(QQmlContext*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:932
      agent:2025/04/03 05:38:47 build.go:404:     #28 0x7fa20f068f95 in QQuickView::continueExecute() /home/qt/work/qt/qtdeclarative/src/quick/items/qquickview.cpp:515
      agent:2025/04/03 05:38:47 build.go:404:     #29 0x7fa20f0657bf in QQuickViewPrivate::execute() /home/qt/work/qt/qtdeclarative/src/quick/items/qquickview.cpp:76
      agent:2025/04/03 05:38:47 build.go:404:     #30 0x7fa20f0665bd in QQuickView::setSource(QUrl const&) /home/qt/work/qt/qtdeclarative/src/quick/items/qquickview.cpp:239
      agent:2025/04/03 05:38:47 build.go:404:     #31 0x7fa210c78b90 in quick_test_main_with_setup(int, char**, char const*, char const*, QObject*) /home/qt/work/qt/qtdeclarative/src/qmltest/quicktest.cpp:661
      agent:2025/04/03 05:38:47 build.go:404:     #32 0x7fa210c7387c in quick_test_main(int, char**, char const*, char const*) /home/qt/work/qt/qtdeclarative/src/qmltest/quicktest.cpp:433
      agent:2025/04/03 05:38:47 build.go:404:     #33 0x55ffc66f453e in main /home/qt/work/qt/qtdeclarative/tests/auto/quickcontrols/controls/material/tst_material.cpp:15
      agent:2025/04/03 05:38:47 build.go:404:     #34 0x7fa206440eeb in __libc_start_call_main (/lib64/libc.so.6+0x40eeb)
      agent:2025/04/03 05:38:47 build.go:404: previously allocated by thread T0 here:
      agent:2025/04/03 05:38:47 build.go:404:     #0 0x7fa210f0b9bf in operator new(unsigned long) (/usr/lib64/libasan.so.5+0x10b9bf)
      agent:2025/04/03 05:38:47 build.go:404:     #1 0x7fa2094f9b38 in __gnu_cxx::new_allocator<JSC::Yarr::PatternTerm>::allocate(unsigned long, void const*) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4f9b38)
      agent:2025/04/03 05:38:47 build.go:404:     #2 0x7fa2094f08a3 in std::allocator_traits<std::allocator<JSC::Yarr::PatternTerm> >::allocate(std::allocator<JSC::Yarr::PatternTerm>&, unsigned long) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4f08a3)
      agent:2025/04/03 05:38:47 build.go:404:     #3 0x7fa2094e9815 in std::_Vector_base<JSC::Yarr::PatternTerm, std::allocator<JSC::Yarr::PatternTerm> >::_M_allocate(unsigned long) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4e9815)
      agent:2025/04/03 05:38:47 build.go:404:     #4 0x7fa2094ef4ee in void std::vector<JSC::Yarr::PatternTerm, std::allocator<JSC::Yarr::PatternTerm> >::_M_realloc_insert<JSC::Yarr::PatternTerm>(__gnu_cxx::__normal_iterator<JSC::Yarr::PatternTerm*, std::vector<JSC::Yarr::PatternTerm, std::allocator<JSC::Yarr::PatternTerm> > >, JSC::Yarr::PatternTerm&&) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4ef4ee)
      agent:2025/04/03 05:38:47 build.go:404:     #5 0x7fa2094e88be in JSC::Yarr::PatternTerm& std::vector<JSC::Yarr::PatternTerm, std::allocator<JSC::Yarr::PatternTerm> >::emplace_back<JSC::Yarr::PatternTerm>(JSC::Yarr::PatternTerm&&) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4e88be)
      agent:2025/04/03 05:38:47 build.go:404:     #6 0x7fa2094e13b7 in std::vector<JSC::Yarr::PatternTerm, std::allocator<JSC::Yarr::PatternTerm> >::push_back(JSC::Yarr::PatternTerm&&) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4e13b7)
      agent:2025/04/03 05:38:47 build.go:404:     #7 0x7fa2094da9ff in WTF::Vector<JSC::Yarr::PatternTerm, 1, 0>::append(JSC::Yarr::PatternTerm&&) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4da9ff)
      agent:2025/04/03 05:38:47 build.go:404:     #8 0x7fa2094d08a8 in JSC::Yarr::YarrPatternConstructor::atomPatternCharacter(int) /home/qt/work/qt/qtdeclarative/src/3rdparty/masm/yarr/YarrPattern.cpp:490
      agent:2025/04/03 05:38:47 build.go:404:     #9 0x7fa2094ea87b in JSC::Yarr::Parser<JSC::Yarr::YarrPatternConstructor, unsigned short>::parseTokens() /home/qt/work/qt/qtdeclarative/src/3rdparty/masm/yarr/YarrParser.h:821
      agent:2025/04/03 05:38:47 build.go:404:     #10 0x7fa2094e2dce in JSC::Yarr::Parser<JSC::Yarr::YarrPatternConstructor, unsigned short>::parse() (/home/qt/work/install/lib/libQt6Qml.so.6+0x4e2dce)
      agent:2025/04/03 05:38:47 build.go:404:     #11 0x7fa2094dbf70 in JSC::Yarr::ErrorCode JSC::Yarr::parse<JSC::Yarr::YarrPatternConstructor>(JSC::Yarr::YarrPatternConstructor&, WTF::String const&, bool, unsigned int) (/home/qt/work/install/lib/libQt6Qml.so.6+0x4dbf70)
      agent:2025/04/03 05:38:47 build.go:404:     #12 0x7fa2094c4246 in JSC::Yarr::YarrPattern::compile(WTF::String const&, void*) /home/qt/work/qt/qtdeclarative/src/3rdparty/masm/yarr/YarrPattern.cpp:1115
      agent:2025/04/03 05:38:47 build.go:404:     #13 0x7fa2094c49df in JSC::Yarr::YarrPattern::YarrPattern(WTF::String const&, JSC::RegExpFlags, JSC::Yarr::ErrorCode&, void*) /home/qt/work/qt/qtdeclarative/src/3rdparty/masm/yarr/YarrPattern.cpp:1161
      agent:2025/04/03 05:38:47 build.go:404:     #14 0x7fa209aaae76 in QV4::Heap::RegExp::init(QV4::ExecutionEngine*, QString const&, unsigned int) /home/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4regexp.cpp:223
      agent:2025/04/03 05:38:47 build.go:404:     #15 0x7fa209aad288 in QV4::RegExp::Data* QV4::MemoryManager::alloc<QV4::RegExp, QV4::ExecutionEngine*&, QString const&, unsigned int&>(QV4::ExecutionEngine*&, QString const&, unsigned int&) /home/qt/work/qt/qtdeclarative/src/qml/memory/qv4mm_p.h:323
      agent:2025/04/03 05:38:47 build.go:404:     #16 0x7fa209aaaa10 in QV4::RegExp::create(QV4::ExecutionEngine*, QString const&, unsigned int) /home/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4regexp.cpp:204
      agent:2025/04/03 05:38:47 build.go:404:     #17 0x7fa2098dc6b6 in QV4::ExecutableCompilationUnit::populate() /home/qt/work/qt/qtdeclarative/src/qml/jsruntime/qv4executablecompilationunit.cpp:101
      agent:2025/04/03 05:38:47 build.go:404:     #18 0x7fa209f59f08 in QQmlObjectCreator::init(QQmlRefPointer<QQmlContextData> const&) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:112
      agent:2025/04/03 05:38:47 build.go:404:     #19 0x7fa209f5968b in QQmlObjectCreator::QQmlObjectCreator(QQmlRefPointer<QQmlContextData> const&, QQmlRefPointer<QV4::ExecutableCompilationUnit> const&, QQmlRefPointer<QQmlContextData> const&, QString const&, QQmlIncubatorPrivate*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:69
      agent:2025/04/03 05:38:47 build.go:404:     #20 0x7fa209d5a0df in QQmlComponentPrivate::ConstructionState::initCreator(QQmlRefPointer<QQmlContextData> const&, QQmlRefPointer<QV4::ExecutableCompilationUnit> const&, QQmlRefPointer<QQmlContextData> const&, QString const&) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent_p.h:300
      agent:2025/04/03 05:38:47 build.go:404:     #21 0x7fa209d45561 in QQmlComponentPrivate::beginCreate(QQmlRefPointer<QQmlContextData>) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1113
      agent:2025/04/03 05:38:47 build.go:404:     #22 0x7fa209d4478f in QQmlComponent::beginCreate(QQmlContext*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1043
      agent:2025/04/03 05:38:47 build.go:404:     #23 0x7fa209d3e4df in QQmlComponentPrivate::doBeginCreate(QQmlComponent*, QQmlContext*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:349
      agent:2025/04/03 05:38:47 build.go:404:     #24 0x7fa209d4407f in QQmlComponentPrivate::createWithProperties(QObject*, QMap<QString, QVariant> const&, QQmlContext*, QQmlComponentPrivate::CreateBehavior, bool) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:966
      agent:2025/04/03 05:38:47 build.go:404:     #25 0x7fa209d43e97 in QQmlComponent::create(QQmlContext*) /home/qt/work/qt/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:932
      agent:2025/04/03 05:38:47 build.go:404:     #26 0x7fa20f068f95 in QQuickView::continueExecute() /home/qt/work/qt/qtdeclarative/src/quick/items/qquickview.cpp:515
      agent:2025/04/03 05:38:47 build.go:404:     #27 0x7fa20f0657bf in QQuickViewPrivate::execute() /home/qt/work/qt/qtdeclarative/src/quick/items/qquickview.cpp:76
      agent:2025/04/03 05:38:47 build.go:404:     #28 0x7fa20f0665bd in QQuickView::setSource(QUrl const&) /home/qt/work/qt/qtdeclarative/src/quick/items/qquickview.cpp:239
      agent:2025/04/03 05:38:47 build.go:404:     #29 0x7fa210c78b90 in quick_test_main_with_setup(int, char**, char const*, char const*, QObject*) /home/qt/work/qt/qtdeclarative/src/qmltest/quicktest.cpp:661
      agent:2025/04/03 05:38:47 build.go:404:     #30 0x7fa210c7387c in quick_test_main(int, char**, char const*, char const*) /home/qt/work/qt/qtdeclarative/src/qmltest/quicktest.cpp:433
      agent:2025/04/03 05:38:47 build.go:404:     #31 0x55ffc66f453e in main /home/qt/work/qt/qtdeclarative/tests/auto/quickcontrols/controls/material/tst_material.cpp:15
      agent:2025/04/03 05:38:47 build.go:404:     #32 0x7fa206440eeb in __libc_start_call_main (/lib64/libc.so.6+0x40eeb)
      agent:2025/04/03 05:38:47 build.go:404: Thread T31 (QSGRenderThread) created by T0 here:
      agent:2025/04/03 05:38:47 build.go:404:     #0 0x7fa210e3c1d2 in pthread_create (/usr/lib64/libasan.so.5+0x3c1d2)
      agent:2025/04/03 05:38:47 build.go:404:     #1 0x7fa20783ed3c in QThread::start(QThread::Priority) /home/qt/work/qt/qtbase/src/corelib/thread/qthread_unix.cpp:846
      agent:2025/04/03 05:38:47 build.go:404:     #2 0x7fa20f9db8df in QSGThreadedRenderLoop::handleExposure(QQuickWindow*) /home/qt/work/qt/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1329
      agent:2025/04/03 05:38:47 build.go:404:     #3 0x7fa20f9da0ca in QSGThreadedRenderLoop::exposureChanged(QQuickWindow*) /home/qt/work/qt/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1248
      agent:2025/04/03 05:38:47 build.go:404:     #4 0x7fa20f076468 in QQuickWindow::exposeEvent(QExposeEvent*) /home/qt/work/qt/qtdeclarative/src/quick/items/qquickwindow.cpp:180
      agent:2025/04/03 05:38:47 build.go:404:     #5 0x7fa20b9ac61e in QWindow::event(QEvent*) /home/qt/work/qt/qtbase/src/gui/kernel/qwindow.cpp:2719
      agent:2025/04/03 05:38:47 build.go:404:     #6 0x7fa20f0837a0 in QQuickWindow::event(QEvent*) /home/qt/work/qt/qtdeclarative/src/quick/items/qquickwindow.cpp:1648
      agent:2025/04/03 05:38:47 build.go:404:     #7 0x7fa2071b1d00 in QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) /home/qt/work/qt/qtbase/src/corelib/kernel/qcoreapplication.cpp:1278
      agent:2025/04/03 05:38:47 build.go:404:     #8 0x7fa2071b14c4 in doNotify /home/qt/work/qt/qtbase/src/corelib/kernel/qcoreapplication.cpp:1207
      agent:2025/04/03 05:38:47 build.go:404:     #9 0x7fa2071b136f in QCoreApplication::notify(QObject*, QEvent*) /home/qt/work/qt/qtbase/src/corelib/kernel/qcoreapplication.cpp:1190
      agent:2025/04/03 05:38:47 build.go:404:     #10 0x7fa20b7ea8ec in QGuiApplication::notify(QObject*, QEvent*) /home/qt/work/qt/qtbase/src/gui/kernel/qguiapplication.cpp:2069
      agent:2025/04/03 05:38:47 build.go:404:     #11 0x7fa2071b1162 in QCoreApplication::notifyInternal2(QObject*, QEvent*) /home/qt/work/qt/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
      agent:2025/04/03 05:38:47 build.go:404:     #12 0x7fa2071b2ade in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) /home/qt/work/qt/qtbase/src/corelib/kernel/qcoreapplication.cpp:1560
      agent:2025/04/03 05:38:47 build.go:404:     #13 0x7fa20b7fa1a2 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) /home/qt/work/qt/qtbase/src/gui/kernel/qguiapplication.cpp:3480
      agent:2025/04/03 05:38:47 build.go:404:     #14 0x7fa20b7ed01e in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) /home/qt/work/qt/qtbase/src/gui/kernel/qguiapplication.cpp:2274
      agent:2025/04/03 05:38:47 build.go:404:     #15 0x7fa20b9cc99b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) /home/qt/work/qt/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1113
      agent:2025/04/03 05:38:47 build.go:404:     #16 0x7fa20078bca2 in xcbSourceDispatch /home/qt/work/qt/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57
      agent:2025/04/03 05:38:47 build.go:404:     #17 0x7fa206b14fab  (/usr/lib64/libglib-2.0.so.0+0x5afab)
      agent:2025/04/03 05:38:47 build.go:404: SUMMARY: AddressSanitizer: heap-use-after-free /usr/include/c++/9/bits/atomic_base.h:740 in std::__atomic_base<QObjectPrivate::Connection*>::load(std::memory_order) const
      agent:2025/04/03 05:38:47 build.go:404: Shadow bytes around the buggy address:
      agent:2025/04/03 05:38:47 build.go:404:   0x0c28800156c0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
      agent:2025/04/03 05:38:47 build.go:404:   0x0c28800156d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      agent:2025/04/03 05:38:47 build.go:404:   0x0c28800156e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      agent:2025/04/03 05:38:47 build.go:404:   0x0c28800156f0: 00 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa
      agent:2025/04/03 05:38:47 build.go:404:   0x0c2880015700: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
      agent:2025/04/03 05:38:47 build.go:404: =>0x0c2880015710: fd fd fd fd fd fd[fd]fd fd fd fd fd fd fd fd fd
      agent:2025/04/03 05:38:47 build.go:404:   0x0c2880015720: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
      agent:2025/04/03 05:38:47 build.go:404:   0x0c2880015730: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
      agent:2025/04/03 05:38:47 build.go:404:   0x0c2880015740: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
      agent:2025/04/03 05:38:47 build.go:404:   0x0c2880015750: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
      agent:2025/04/03 05:38:47 build.go:404:   0x0c2880015760: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
      agent:2025/04/03 05:38:47 build.go:404: Shadow byte legend (one shadow byte represents 8 application bytes):
      agent:2025/04/03 05:38:47 build.go:404:   Addressable:           00
      agent:2025/04/03 05:38:47 build.go:404:   Partially addressable: 01 02 03 04 05 06 07 
      agent:2025/04/03 05:38:47 build.go:404:   Heap left redzone:       fa
      agent:2025/04/03 05:38:47 build.go:404:   Freed heap region:       fd
      agent:2025/04/03 05:38:47 build.go:404:   Stack left redzone:      f1
      agent:2025/04/03 05:38:47 build.go:404:   Stack mid redzone:       f2
      agent:2025/04/03 05:38:47 build.go:404:   Stack right redzone:     f3
      agent:2025/04/03 05:38:47 build.go:404:   Stack after return:      f5
      agent:2025/04/03 05:38:47 build.go:404:   Stack use after scope:   f8
      agent:2025/04/03 05:38:47 build.go:404:   Global redzone:          f9
      agent:2025/04/03 05:38:47 build.go:404:   Global init order:       f6
      agent:2025/04/03 05:38:47 build.go:404:   Poisoned by user:        f7
      agent:2025/04/03 05:38:47 build.go:404:   Container overflow:      fc
      agent:2025/04/03 05:38:47 build.go:404:   Array cookie:            ac
      agent:2025/04/03 05:38:47 build.go:404:   Intra object redzone:    bb
      agent:2025/04/03 05:38:47 build.go:404:   ASan internal:           fe
      agent:2025/04/03 05:38:47 build.go:404:   Left alloca redzone:     ca
      agent:2025/04/03 05:38:47 build.go:404:   Right alloca redzone:    cb
      agent:2025/04/03 05:38:47 build.go:404:   Shadow gap:              cc
      agent:2025/04/03 05:38:47 build.go:404: ==15562==ABORTING
      agent:2025/04/03 05:38:47 build.go:404: sanitizer-testrunner.py     INFO: Test exit code was: 1
      agent:2025/04/03 05:38:47 build.go:404: sanitizer-testrunner.py    ERROR: ASAN issues detected
      agent:2025/04/03 05:38:47 build.go:404: CMake Error at tst_materialWrapperDebug.cmake:18 (message):
      agent:2025/04/03 05:38:47 build.go:404:   /home/qt/work/install/libexec/sanitizer-testrunner.py
      agent:2025/04/03 05:38:47 build.go:404:   /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quickcontrols/controls/material/tst_material
      agent:2025/04/03 05:38:47 build.go:404:   execution failed with exit code 1.
      agent:2025/04/03 05:38:47 build.go:404: 99% tests passed, 1 tests failed out of 326
      agent:2025/04/03 05:38:47 build.go:404: Total Test time (real) = 5666.39 sec
      agent:2025/04/03 05:38:47 build.go:404: The following tests FAILED:
      agent:2025/04/03 05:38:47 build.go:404: 	326 - tst_material (Failed)
      agent:2025/04/03 05:38:48 build.go:404: Errors while running CTest
      agent:2025/04/03 05:38:48 build.go:455: Process finished with error: exit status 8
      agent:2025/04/03 05:38:48 build.go:832: 
      agent:2025/04/03 05:38:48 build.go:833: Executing instruction 82 of 84 - ExecuteCommand
      agent:2025/04/03 05:38:48 build.go:427: [cmake -E copy Testing/Temporary/LastTest.log /home/qt/work/testresults/CTest.log] 10s 10s false false
      agent:2025/04/03 05:38:48 build.go:774: 
      agent:2025/04/03 05:38:48 build.go:775: Executing scheduled instruction 1 of 3 - Upload all core dumps if there are some
      agent:2025/04/03 05:38:48 build.go:671: Skip uploading core files because CORE_FILES_PATH is not set in the environment
      agent:2025/04/03 05:38:48 build.go:774: 
      agent:2025/04/03 05:38:48 build.go:775: Executing scheduled instruction 2 of 3 - Print sccache statistics
      agent:2025/04/03 05:38:48 build.go:427: [sccache -s] 30s 30s false true
      agent:2025/04/03 05:38:48 build.go:404: Compile requests                      0
      agent:2025/04/03 05:38:48 build.go:404: Compile requests executed             0
      agent:2025/04/03 05:38:48 build.go:404: Cache hits                            0
      agent:2025/04/03 05:38:48 build.go:404: Cache misses                          0
      agent:2025/04/03 05:38:48 build.go:404: Cache timeouts                        0
      agent:2025/04/03 05:38:48 build.go:404: Cache read errors                     0
      agent:2025/04/03 05:38:48 build.go:404: Forced recaches                       0
      agent:2025/04/03 05:38:48 build.go:404: Cache write errors                    0
      agent:2025/04/03 05:38:48 build.go:404: Compilation failures                  0
      agent:2025/04/03 05:38:48 build.go:404: Cache errors                          0
      agent:2025/04/03 05:38:48 build.go:404: Non-cacheable compilations            0
      agent:2025/04/03 05:38:48 build.go:404: Non-cacheable calls                   0
      agent:2025/04/03 05:38:48 build.go:404: Non-compilation calls                 0
      agent:2025/04/03 05:38:48 build.go:404: Unsupported compiler calls            0
      agent:2025/04/03 05:38:48 build.go:404: Average cache write               0.000 s
      agent:2025/04/03 05:38:48 build.go:404: Average cache read miss           0.000 s
      agent:2025/04/03 05:38:48 build.go:404: Average cache read hit            0.000 s
      agent:2025/04/03 05:38:48 build.go:404: Failed distributed compilations       0
      agent:2025/04/03 05:38:48 build.go:404: Cache location                  S3, bucket: Bucket(name=cache, base_url=http://ci-sccache:9000/cache/)
      agent:2025/04/03 05:38:48 build.go:774: 
      agent:2025/04/03 05:38:48 build.go:775: Executing scheduled instruction 3 of 3 - Upload test results
      agent:2025/04/03 05:38:48 storageclient.go:535: Collecting test results, archiving and uploading them
      agent:2025/04/03 05:38:48 result.go:216: Collecting 2 test results ...
      agent:2025/04/03 05:38:48 agent.go:420: Test failed
      agent:2025/04/03 05:38:48 agent.go:283: ERROR building: exit status 8
      

      That's clearly wrong. QQuickWindow in thread T31 shouldn't be interacting with objects owned by the QML engine in thread T0.

      Attachments

        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:

              Gerrit Reviews

                There are no open Gerrit changes