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

tst_qtcuncurrentrun::pollForIsFinished occasionally crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.0 FF
    • Core: QtConcurrent
    • None
    • abe416d8b (tqtc/lts-6.2), 518118991 (6.4), fbf55619d (dev), 413798cc0 (dev), 1620f6733 (6.4), 1ae9caec7 (6.5)

    Description

      The test-case occasionally crashes with the following log:

      agent:2022/09/21 13:13:27 build.go:394: 234: ********* Start testing of tst_QtConcurrentRun *********
      agent:2022/09/21 13:13:27 build.go:394: 234: Config: Using QtTest library 6.5.0, Qt 6.5.0 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 10.2.0), b2qt 3.2
      agent:2022/09/21 13:13:27 build.go:394: 234: PASS : tst_QtConcurrentRun::initTestCase()
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() starting function
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() waiting
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() in function
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() done function
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() done
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() starting function
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() waiting
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() in function
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() done function
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() done
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() starting function with arg
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() waiting
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() in function with arg
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() done function
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() done
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() starting function with promise
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() in function with promise
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() waiting
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() done function
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() done
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() starting function with promise and with arg
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() waiting
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() in function with promise and with arg
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() done function
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runLightFunction() done
      agent:2022/09/21 13:13:27 build.go:394: 234: PASS : tst_QtConcurrentRun::runLightFunction()
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runHeavyFunction() starting function
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runHeavyFunction() waiting
      agent:2022/09/21 13:13:27 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runHeavyFunction() in function
      agent:2022/09/21 13:13:28 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runHeavyFunction() done function
      agent:2022/09/21 13:13:28 build.go:394: 234: QDEBUG : tst_QtConcurrentRun::runHeavyFunction() done
      agent:2022/09/21 13:13:28 build.go:394: 234: PASS : tst_QtConcurrentRun::runHeavyFunction()
      agent:2022/09/21 13:13:28 build.go:394: 234: PASS : tst_QtConcurrentRun::returnValue()
      agent:2022/09/21 13:13:28 build.go:394: 234: PASS : tst_QtConcurrentRun::reportValueWithPromise()
      agent:2022/09/21 13:13:28 build.go:394: 234: PASS : tst_QtConcurrentRun::functionObject()
      agent:2022/09/21 13:13:28 build.go:394: 234: PASS : tst_QtConcurrentRun::memberFunctions()
      agent:2022/09/21 13:13:28 build.go:394: 234: PASS : tst_QtConcurrentRun::implicitConvertibleTypes()
      agent:2022/09/21 13:13:28 build.go:394: 234: PASS : tst_QtConcurrentRun::runWaitLoop()
      agent:2022/09/21 13:13:28 build.go:394: 234: malloc(): unaligned tcache chunk detected
      agent:2022/09/21 13:13:28 build.go:394: 234: Received signal 6 (SIGABRT)
      agent:2022/09/21 13:13:28 build.go:394: 234: pollForIsFinished function time: 19ms, total time: 1120ms
      agent:2022/09/21 13:13:28 build.go:394: 234:
      

      This seems to be happening only with "Linux QEMU (gcc-armv7) on Linux Ubuntu_20_04 (gcc-x86_64)" setup  and dev builds in the CI.

      The complete log:  https://testresults.qt.io/logs/qt/qtbase/75c883825fa6b93223f9a4a7ee492f2e8346c020/LinuxUbuntu_20_04x86_64LinuxQEMUarmv7GCCqtci-linux-Ubuntu-20.04-x86_64-50-4b271eSccache_UseConfigure/8ecd7875778563104b72488527f38c96cee25465/test_1672905196/log.txt.gz

      According to https://testresults.qt.io/grafana/d/3dhio4K7k/fastcheck-ci-test-info?var-testCase=tst_qtconcurrentrun&var-testFunction=All&orgId=1&var-branch=dev&from=now-30d&to=now the test was stable before 09.10.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-106906
          # Subject Branch Project Status CR V

          Activity

            People

              cnn Qt Core & Network
              sonakur Sona Kurazyan
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: