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

AddressSanitizer: heap-buffer-overflow on tst_WaylandClient

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.9
    • 6.9
    • Wayland Compositor
    • None

    Description

      This error was seen on a nightly health check, seems to be random:

      agent:2024/11/16 23:19:23 build.go:404: ==1938==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x603000001d70 at pc 0x55e46fb3b9ac bp 0x7f36104ac200 sp 0x7f36104ac1f8
      agent:2024/11/16 23:19:23 build.go:404: WRITE of size 8 at 0x603000001d70 thread T1
      agent:2024/11/16 23:19:23 build.go:404:     #0 0x55e46fb3b9ab in void QtPrivate::QPodArrayOps<MockCompositor::FractionalScale*>::emplace<MockCompositor::FractionalScale*&>(long long, MockCompositor::FractionalScale*&) /home/qt/work/install/include/QtCore/qarraydataops.h:166
      agent:2024/11/16 23:19:23 build.go:404:     #1 0x55e46fb3aaa8 in MockCompositor::FractionalScale*& QList<MockCompositor::FractionalScale*>::emplaceBack<MockCompositor::FractionalScale*&>(MockCompositor::FractionalScale*&) /home/qt/work/install/include/QtCore/qlist.h:886
      agent:2024/11/16 23:19:23 build.go:404:     #2 0x55e46fb3a0c6 in QList<MockCompositor::FractionalScale*>::append(MockCompositor::FractionalScale*) /home/qt/work/install/include/QtCore/qlist.h:460
      agent:2024/11/16 23:19:23 build.go:404:     #3 0x55e46fb39a02 in QList<MockCompositor::FractionalScale*>::operator<<(MockCompositor::FractionalScale*) /home/qt/work/install/include/QtCore/qlist.h:713
      agent:2024/11/16 23:19:23 build.go:404:     #4 0x55e46fb38e58 in MockCompositor::FractionalScaleManager::wp_fractional_scale_manager_v1_get_fractional_scale(QtWaylandServer::wp_fractional_scale_manager_v1::Resource*, unsigned int, wl_resource*) /home/qt/work/qt/qtwayland/tests/auto/client/shared/fractionalscalev1.cpp:20
      agent:2024/11/16 23:19:23 build.go:404:     #5 0x55e46fc792db in QtWaylandServer::wp_fractional_scale_manager_v1::handle_get_fractional_scale(wl_client*, wl_resource*, unsigned int, wl_resource*) /home/qt/work/qt/qtwayland_standalone_tests/tests/auto/client/shared/qwayland-server-fractional-scale-v1.cpp:201
      

      Full log: https://testresults.qt.io/coin/api/log/qt/qtwayland/51608c9cff201adc57f5e360052df2c38b5c197b/LinuxopenSUSE_15_5x86_64LinuxopenSUSE_15_5x86_64GCCqtci-linux-openSUSE-15.5-x86_64-52-9dbaedPinCores_Sccache_UseAddressSanitizer_UseConfigure_WarningsAreErrors/5b6d1c538f67527a1fd8ecb192c195450d905198/forceRun/test_1731797557/log.txt.gz
      Integration: https://testresults.qt.io/coin/integration/qt/qt5/tasks/nightly1731793502

      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:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes