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

AddressSanitizer: heap-use-after-free on tst_WaylandClient::mouseDrag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.2, 6.9.0 FF
    • 6.9
    • QPA: Wayland
    • None
    • 14a7af255 (dev), 88f94bdbe (dev), 22d792843 (6.8), 54815fb19 (6.8)

    Description

      This is not happening in every integration:

      agent:2024/10/27 00:00:03 build.go:404: PASS   : tst_WaylandClient::touchDrag()
      agent:2024/10/27 00:00:03 build.go:404: =================================================================
      agent:2024/10/27 00:00:03 build.go:404: ==1954==ERROR: AddressSanitizer: heap-use-after-free on address 0x603000001d20 at pc 0x55869a3f90c0 bp 0x7ffe53265c30 sp 0x7ffe53265c28
      agent:2024/10/27 00:00:03 build.go:404: READ of size 4 at 0x603000001d20 thread T0
      agent:2024/10/27 00:00:03 build.go:404:     #0 0x55869a3f90bf in std::__atomic_base<int>::load(std::memory_order) const /usr/include/c++/9/bits/atomic_base.h:419
      agent:2024/10/27 00:00:03 build.go:404:     #1 0x55869a3f90bf in int QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) /home/qt/work/install/include/QtCore/qatomic_cxx11.h:202
      agent:2024/10/27 00:00:03 build.go:404:     #2 0x55869a3f5d59 in QBasicAtomicInteger<int>::loadRelaxed() const /home/qt/work/install/include/QtCore/qbasicatomic.h:36
      agent:2024/10/27 00:00:03 build.go:404:     #3 0x55869a3f2d43 in QArrayData::needsDetach() /home/qt/work/install/include/QtCore/qarraydata.h:79
      

      Full log: https://testresults.qt.io/coin/api/log/qt/qtwayland/8d144d5188b79808de061980a1fb9ff5d6e4d710/LinuxopenSUSE_15_5x86_64LinuxopenSUSE_15_5x86_64GCCqtci-linux-openSUSE-15.5-x86_64-52-1e3ba2Sccache_UseAddressSanitizer_UseConfigure_WarningsAreErrors/1e5b49791eba2a9cc5b670f2881dfe85b6392f72/forceRun/test_1729982496/log.txt.gz
      Integration: https://testresults.qt.io/coin/integration/qt/qt5/tasks/nightly1729979102

      Attachments

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

        Activity

          People

            tvete Paul Olav Tvete
            jujokini Jukka Jokiniva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes