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

ASAN: tst_grpc_client_unarycall SEGV on unknown address 0x000000000000

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.0 Beta2, 6.9.0 FF
    • 6.9
    • GRPC
    • None
    • 3102bdf3c (dev), 4ee13e777 (6.8)

    Description

      Found in integration: https://testresults.qt.io/coin/integration/qt/qt5/tasks/1718760987

      agent:2024/06/19 03:27:27 build.go:404: AddressSanitizer:DEADLYSIGNAL
      agent:2024/06/19 03:27:27 build.go:404: =================================================================
      agent:2024/06/19 03:27:27 build.go:404: ==2280==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f334be66a51 bp 0x7ffe980898e0 sp 0x7ffe98089068 T0)
      agent:2024/06/19 03:27:27 build.go:404: ==2280==The signal is caused by a READ memory access.
      agent:2024/06/19 03:27:27 build.go:404: ==2280==Hint: address points to the zero page.
      agent:2024/06/19 03:27:27 build.go:404:     #0 0x7f334be66a50 in __strlen_avx2_rtm (/lib64/libc.so.6+0x18ca50)
      agent:2024/06/19 03:27:27 build.go:404:     #1 0x7f334ea6746c  (/usr/lib64/libasan.so.5+0x6746c)
      agent:2024/06/19 03:27:27 build.go:404:     #2 0x7f334e8921c0 in QTest::toString(char const*) /home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp:3127
      agent:2024/06/19 03:27:27 build.go:404:     #3 0x5559efe6d1ad in char const* QTest::Internal::genericToString<char const*>(void const*) (/home/qt/work/qt/qtgrpc_standalone_tests/tests/auto/grpc/client/unarycall/tst_grpc_client_unarycall+0x4d1ad)
      agent:2024/06/19 03:27:27 build.go:404:     #4 0x7f334e8cebb8 in QTestResult::reportResult(bool, void const*, void const*, char const* (*)(void const*), char const* (*)(void const*), char const*, char const*, QTest::ComparisonOperation, char const*, int, char const*) /home/qt/work/qt/qtbase/src/testlib/qtestresult.cpp:658
      agent:2024/06/19 03:27:27 build.go:404:     #5 0x7f334e883c8a in QTest::reportResult(bool, void const*, void const*, char const* (*)(void const*), char const* (*)(void const*), char const*, char const*, QTest::ComparisonOperation, char const*, int) /home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp:1772
      agent:2024/06/19 03:27:27 build.go:404:     #6 0x5559efe67a52 in bool QTest::qCompareOp<(QTest::ComparisonOperation)1, QString, char const (&) [10]>(QString&&, char const (&) [10], char const*, char const*, char const*, int) (/home/qt/work/qt/qtgrpc_standalone_tests/tests/auto/grpc/client/unarycall/tst_grpc_client_unarycall+0x47a52)
      agent:2024/06/19 03:27:27 build.go:404:     #7 0x5559efe3cc53 in QtGrpcClientUnaryCallTest::asyncWithLambda() /home/qt/work/qt/qtgrpc/tests/auto/grpc/client/unarycall/tst_grpc_client_unarycall.cpp:87
      agent:2024/06/19 03:27:27 build.go:404:     #8 0x5559efe4db95 in QtGrpcClientUnaryCallTest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/qt/work/qt/qtgrpc_standalone_tests/tests/auto/grpc/client/unarycall/tst_grpc_client_unarycall_autogen/include/tst_grpc_client_unarycall.moc:141
      

      Full log: https://testresults.qt.io/coin/api/log/qt/qtgrpc/5ae09d7bd60e8d19681728013936e66eed07a251/LinuxopenSUSE_15_5x86_64LinuxopenSUSE_15_5x86_64GCCqtci-linux-openSUSE-15.5-x86_64-52-a786ebSccache_UseAddressSanitizer_UseConfigure_WarningsAreErrors/6107ad801be6e7e8ad61011073ff671806c45d40/test_1718767313/log.txt.gz

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            jujokini Jukka Jokiniva
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change