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

AddressSanitizer: heap-use-after-free on tst_qopcuaclient

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.2, 6.9.0 FF
    • 6.9
    • OpcUA
    • None
    • a0303cc7c (dev), 837967c83 (6.8)
    • Multimedia wk 43-44

    Description

      This fail is not happing in every integration:

      ent:2024/10/28 00:34:08 build.go:404: QINFO  : Tst_QOpcUaClient::findServers(open62541) qt.opcua.plugins.open62541.sdk.eventloop: Stopping the EventLoop
      agent:2024/10/28 00:34:08 build.go:404: QINFO  : Tst_QOpcUaClient::findServers(open62541) qt.opcua.plugins.open62541.sdk.network: UDP	| Shutting down the ConnectionManager
      agent:2024/10/28 00:34:08 build.go:404: PASS   : Tst_QOpcUaClient::findServers(open62541)
      agent:2024/10/28 00:34:08 build.go:404: =================================================================
      agent:2024/10/28 00:34:08 build.go:404: ==19119==ERROR: AddressSanitizer: heap-use-after-free on address 0x602000013e50 at pc 0x7fabb5e9b03b bp 0x7fabad878a40 sp 0x7fabad8781f0
      agent:2024/10/28 00:34:08 build.go:404: READ of size 2 at 0x602000013e50 thread T2 (QOpen62541Clien)
      agent:2024/10/28 00:34:08 build.go:404:     #0 0x7fabb5e9b03a  (/usr/lib64/libasan.so.5+0x9b03a)
      agent:2024/10/28 00:34:08 build.go:404:     #1 0x7fabb5e9dac5 in vsnprintf (/usr/lib64/libasan.so.5+0x9dac5)
      agent:2024/10/28 00:34:08 build.go:404:     #2 0x7fabb5c241a9 in QTest::qt_asprintf(QTestCharBuffer*, char const*, ...) /home/qt/work/qt/qtbase/src/testlib/qabstracttestlogger.cpp:410
      

      Full log: https://testresults.qt.io/coin/api/log/qt/qtopcua/0d4580007102eefae745d4f1b8d6189d13b022ad/LinuxopenSUSE_15_5x86_64LinuxopenSUSE_15_5x86_64GCCqtci-linux-openSUSE-15.5-x86_64-52-6c8f61Sccache_UseAddressSanitizer_UseConfigure_WarningsAreErrors/68c6f9da3bd8dc07d5df194ab0b9c821c434de01/forceRun/test_1730075361/log.txt.gz
      Integration: https://testresults.qt.io/coin/integration/qt/qt5/tasks/nightly1730069696

      Attachments

        Issue Links

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

          Activity

            People

              timblechmann tim blechmann
              jujokini Jukka Jokiniva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes