Details
-
Bug
-
Resolution: Duplicate
-
P0: Blocker
-
None
-
6.7
-
None
Description
While staging https://codereview.qt-project.org/c/qt/qt5/+/511579 (failed due to this)
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
- blocks
-
QTQAINFRA-5771 NDK update to NDK r26b
- Closed
- relates to
-
QTBUG-118867 Render thread can delete font engines still in use
- Closed