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

tst_quick_examples - ERROR: ASAN issues detected on CI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P0: Blocker
    • None
    • 6.7
    • Quick: Controls 2
    • None
    • Linux/Other display system

    Description

      While staging https://codereview.qt-project.org/c/qt/qt5/+/511579 (failed due to this)

      https://testresults.qt.io/logs/qt/qtdeclarative/d6fb1be82958a6d491f34d0e406f42adca1c90f4/LinuxopenSUSE_15_5x86_64LinuxopenSUSE_15_5x86_64GCCqtci-linux-openSUSE-15.5-x86_64-51-a0c41dSccache_UseAddressSanitizer_UseConfigure_WarningsAreErrors/d8a38b1ced219088c2f21833d045c857056f8348/test_1705220068/log.txt.gz

      gent:2023/12/13 10:50:49 build.go:404: 140/353 Test #140: tst_quick_examples ........................***Failed 17.10 sec agent:2023/12/13 10:50:49 build.go:404: sanitizer-testrunner.py INFO: This test is wrapped with sanitizer-testrunner.py. FAIL results are being ignored! Only crashes and ASAN errors are caught.
      agent:2023/12/13 10:50:49 build.go:404: ==6702==ERROR: AddressSanitizer: heap-use-after-free on address 0x61d00010f2c0 at pc 0x7f21a95cb99b bp 0x7fff48619890 sp 0x7fff48619888 agent:2023/12/13 10:50:49 build.go:404: WRITE of size 4 at 0x61d00010f2c0 thread T0 agent:2023/12/13 10:50:49 build.go:404: #0 0x7f21a95cb99a in std::__atomic_base<int>::fetch_add(int, std::memory_order) /usr/include/c++/9/bits/atomic_base.h:541 agent:2023/12/13 10:50:49 build.go:404: #1 0x7f21a95cb99a in bool QAtomicOps<int>::ref<int>(std::atomic<int>&) /home/qt/work/qt/qtbase/src/corelib/thread/qatomic_cxx11.h:259 agent:2023/12/13 10:50:49 build.go:404: #2 0x7f21a95ca665 in QBasicAtomicInteger<int>::ref() /home/qt/work/qt/qtbase/src/corelib/thread/qbasicatomic.h:47 agent:2023/12/13 10:50:49 build.go:404: #3 0x7f21aa58eb9c in QFreetypeFace::getFace(QFontEngine::FaceId const&, QByteArray const&) /home/qt/work/qt/qtbase/src/gui/text/freetype/qfontengine_ft.cpp:218 agent:2023/12/13 10:50:49 build.go:404: #4 0x7f21aa597899 in QFontEngineFT::init(QFontEngine::FaceId, bool, QFontEngine::GlyphFormat, QByteArray const&) /home/qt/work/qt/qtbase/src/gui/text/freetype/qfontengine_ft.cpp:758 agent:2023/12/13 10:50:49 build.go:404: #5 0x7f21aa5d1be7 in QFontconfigDatabase::fontEngine(QFontDef const&, void*) /home/qt/work/qt/qtbase/src/gui/text/unix/qfontconfigdatabase.cpp:732 agent:2023/12/13 10:50:49 build.go:404: #6 0x7f21a9f1de32 in QFontDatabasePrivate::loadSingleEngine(int, QFontDef const&, QtFontFamily*, QtFontFoundry*, QtFontStyle*, QtFontSize*) /home/qt/work/qt/qtbase/src/gui/text/qfontdatabase.cpp:756 agent:2023/12/13 10:50:49 build.go:404: #7 0x7f21a9f1e3e5 in QFontDatabasePrivate::loadEngine(int, QFontDef const&, QtFontFamily*, QtFontFoundry*, QtFontStyle*, QtFontSize*) /home/qt/work/qt/qtbase/src/gui/text/qfontdatabase.cpp:785 agent:2023/12/13 10:50:49 build.go:404: #8 0x7f21a9f2fefa in QFontDatabasePrivate::findFont(QFontDef const&, int, bool) /home/qt/work/qt/qtbase/src/gui/text/qfontdatabase.cpp:2436 agent:2023/12/13 10:50:49 build.go:404: #9 0x7f21a9f31810 in QFontDatabasePrivate::load(QFontPrivate const*, int) /home/qt/work/qt/qtbase/src/gui/text/qfontdatabase.cpp:2560

      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
              rampe Rami Potinkara
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes