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

Fix Windows ARM: Multimedia - crash in tst_qmediaframeinputsbackend

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7, 6.8, 6.9
    • Multimedia
    • None
    • Windows
    • d660d9bc3 (dev), f73c0987c (dev)

    Description

      This test is moving under QSKIP (because crash cannot be blacklisted) and this ticket is created to fix and take it back into CI.

       

      Target: windows-11_22h2-arm64-msvc2022
      HealthCheck: https://testresults.qt.io/coin/integration/qt/qt5/tasks/nightly1723067102 Thu 8.8

      qt/qtmultimedia tests

       
       crash - tst_qmediaframeinputsbackend:

      agent:2024/08/08 01:36:15 build.go:404: test 42
      agent:2024/08/08 01:36:15 build.go:404:       Start 42: tst_qmediaframeinputsbackend
      agent:2024/08/08 01:36:15 build.go:404: 42: Test command: C:\CMake\bin\cmake.exe "-P" "C:/Users/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/integration/qmediaframeinputsbackend/tst_qmediaframeinputsbackendWrapperRelWithDebInfo.cmake"
      agent:2024/08/08 01:36:15 build.go:404: 42: Working Directory: C:/Users/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/integration/qmediaframeinputsbackend
      agent:2024/08/08 01:36:15 build.go:404: 42: Test timeout computed to be: 1500
      agent:2024/08/08 01:36:15 build.go:404: 42: qt-testrunner.py     INFO: Will write XML test logs to directory COIN_CTEST_RESULTSDIR=\Users\qt\work\testresults
      agent:2024/08/08 01:36:15 build.go:404: 42: qt-testrunner.py    DEBUG: Running test command line: ['C:/Users/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/integration/qmediaframeinputsbackend/tst_qmediaframeinputsbackend.exe', '-o', '\\Users\\qt\\work\\testresults\\tst_qmediaframeinputsbackend-1723080975496.xml,xml', '-o', '\\Users\\qt\\work\\testresults\\tst_qmediaframeinputsbackend-1723080975496.junit.xml,junitxml', '-o', '\\Users\\qt\\work\\testresults\\tst_qmediaframeinputsbackend-1723080975496.txt,txt', '-o', '-,txt']
      agent:2024/08/08 01:36:15 build.go:404: 42: ********* Start testing of tst_QMediaFrameInputsBackend *********
      agent:2024/08/08 01:36:15 build.go:404: 42: Config: Using QtTest library 6.9.0, Qt 6.9.0 (arm64-little_endian-llp64 shared (dynamic) release build; by MSVC 2022), windows 11
      agent:2024/08/08 01:36:15 build.go:404: 42: QWARN  : tst_QMediaFrameInputsBackend::initTestCase() No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available.
      agent:2024/08/08 01:36:15 build.go:404: 42: PASS   : tst_QMediaFrameInputsBackend::initTestCase()
      agent:2024/08/08 01:36:15 build.go:404: 42: QWARN  : tst_QMediaFrameInputsBackend::mediaRecorderWritesAudio_whenAudioFramesInputSends(bufferCount: 30; sampleFormat: Int32; channelConfig: Stereo; sampleRate: 12000; duration: 2000) Failed to initialize QMediaCaptureSession "Not available"
      agent:2024/08/08 01:36:15 build.go:404: 42: QWARN  : tst_QMediaFrameInputsBackend::mediaRecorderWritesAudio_whenAudioFramesInputSends(bufferCount: 30; sampleFormat: Int32; channelConfig: Stereo; sampleRate: 12000; duration: 2000) Failed to initialize QMediaRecorder "Not available"
      agent:2024/08/08 01:36:15 build.go:404: 42: A crash occurred in C:\Users\qt\work\qt\qtmultimedia_standalone_tests\tests\auto\integration\qmediaframeinputsbackend\tst_qmediaframeinputsbackend.exe.
      agent:2024/08/08 01:36:15 build.go:404: 42: While testing mediaRecorderWritesAudio_whenAudioFramesInputSends
      agent:2024/08/08 01:36:15 build.go:404: 42: Function time: 26ms Total time: 33ms
      agent:2024/08/08 01:36:15 build.go:404: 42: 
      agent:2024/08/08 01:36:15 build.go:404: 42: Exception address: 0x00007FFA68CECD38
      agent:2024/08/08 01:36:15 build.go:404: 42: Exception code   : 0xc0000005
      agent:2024/08/08 01:36:16 build.go:404: 42: Nearby symbol    : QMediaRecorder::setAutoStop
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: Stack:
      agent:2024/08/08 01:36:16 build.go:404: 42: #  1: QTest::CrashHandler::WindowsFaultHandler::windowsFaultHandler() - 0x00007FFA68DA0970
      agent:2024/08/08 01:36:16 build.go:404: 42: #  2: UnhandledExceptionFilter() - 0x00007FFA7FE528E0
      agent:2024/08/08 01:36:16 build.go:404: 42: #  3: RtlWow64LogMessageInEventLogger() - 0x00007FFA84890F30
      agent:2024/08/08 01:36:16 build.go:404: 42: #  4: TpWorkOnBehalfSetTicket() - 0x00007FFA8483FDF0
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py     INFO: Test process exited with code: 3221225477
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py    ERROR: Failed to parse the XML log file: \Users\qt\work\testresults\tst_qmediaframeinputsbackend-1723080975496.xml
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py    ERROR:     File Contents:
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:     6.9.0
      agent:2024/08/08 01:36:16 build.go:404: 42:     Qt 6.9.0 (arm64-little_endian-llp64 shared (dynamic) release build; by MSVC 2022)
      agent:2024/08/08 01:36:16 build.go:404: 42:     6.9.0
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py    ERROR: exception:ParseError no element found: line 24, column 0
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py    ERROR: The test executable probably crashed, see above for details
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py     INFO: Will re-run the full test executable
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py    DEBUG: Running test command line: ['C:/Users/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/integration/qmediaframeinputsbackend/tst_qmediaframeinputsbackend.exe', '-o', '\\Users\\qt\\work\\testresults\\tst_qmediaframeinputsbackend-1723080976153.xml,xml', '-o', '\\Users\\qt\\work\\testresults\\tst_qmediaframeinputsbackend-1723080976153.junit.xml,junitxml', '-o', '\\Users\\qt\\work\\testresults\\tst_qmediaframeinputsbackend-1723080976153.txt,txt', '-o', '-,txt']
      agent:2024/08/08 01:36:16 build.go:404: 42: ********* Start testing of tst_QMediaFrameInputsBackend *********
      agent:2024/08/08 01:36:16 build.go:404: 42: Config: Using QtTest library 6.9.0, Qt 6.9.0 (arm64-little_endian-llp64 shared (dynamic) release build; by MSVC 2022), windows 11
      agent:2024/08/08 01:36:16 build.go:404: 42: QWARN  : tst_QMediaFrameInputsBackend::initTestCase() No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available.
      agent:2024/08/08 01:36:16 build.go:404: 42: PASS   : tst_QMediaFrameInputsBackend::initTestCase()
      agent:2024/08/08 01:36:16 build.go:404: 42: QWARN  : tst_QMediaFrameInputsBackend::mediaRecorderWritesAudio_whenAudioFramesInputSends(bufferCount: 30; sampleFormat: Int32; channelConfig: Stereo; sampleRate: 12000; duration: 2000) Failed to initialize QMediaCaptureSession "Not available"
      agent:2024/08/08 01:36:16 build.go:404: 42: QWARN  : tst_QMediaFrameInputsBackend::mediaRecorderWritesAudio_whenAudioFramesInputSends(bufferCount: 30; sampleFormat: Int32; channelConfig: Stereo; sampleRate: 12000; duration: 2000) Failed to initialize QMediaRecorder "Not available"
      agent:2024/08/08 01:36:16 build.go:404: 42: A crash occurred in C:\Users\qt\work\qt\qtmultimedia_standalone_tests\tests\auto\integration\qmediaframeinputsbackend\tst_qmediaframeinputsbackend.exe.
      agent:2024/08/08 01:36:16 build.go:404: 42: While testing mediaRecorderWritesAudio_whenAudioFramesInputSends
      agent:2024/08/08 01:36:16 build.go:404: 42: Function time: 28ms Total time: 35ms
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: Exception address: 0x00007FFA68CECD38
      agent:2024/08/08 01:36:16 build.go:404: 42: Exception code   : 0xc0000005
      agent:2024/08/08 01:36:16 build.go:404: 42: Nearby symbol    : QMediaRecorder::setAutoStop
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: Stack:
      agent:2024/08/08 01:36:16 build.go:404: 42: #  1: QTest::CrashHandler::WindowsFaultHandler::windowsFaultHandler() - 0x00007FFA68DA0970
      agent:2024/08/08 01:36:16 build.go:404: 42: #  2: UnhandledExceptionFilter() - 0x00007FFA7FE528E0
      agent:2024/08/08 01:36:16 build.go:404: 42: #  3: RtlWow64LogMessageInEventLogger() - 0x00007FFA84890F30
      agent:2024/08/08 01:36:16 build.go:404: 42: #  4: TpWorkOnBehalfSetTicket() - 0x00007FFA8483FDF0
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py     INFO: Test process exited with code: 3221225477
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py    ERROR: Failed to parse the XML log file: \Users\qt\work\testresults\tst_qmediaframeinputsbackend-1723080976153.xml
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py    ERROR:     File Contents:
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:     6.9.0
      agent:2024/08/08 01:36:16 build.go:404: 42:     Qt 6.9.0 (arm64-little_endian-llp64 shared (dynamic) release build; by MSVC 2022)
      agent:2024/08/08 01:36:16 build.go:404: 42:     6.9.0
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:     
      agent:2024/08/08 01:36:16 build.go:404: 42:   
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py    ERROR: exception:ParseError no element found: line 24, column 0
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py    ERROR: The test executable probably crashed, see above for details
      agent:2024/08/08 01:36:16 build.go:404: 42: qt-testrunner.py    ERROR: Full test run failed repeatedly, aborting!
      agent:2024/08/08 01:36:16 build.go:404: 42: CMake Error at tst_qmediaframeinputsbackendWrapperRelWithDebInfo.cmake:18 (message):
      agent:2024/08/08 01:36:16 build.go:404: 42:   cmd /c \Users\qt\work\install\bin\qt-testrunner.py --
      agent:2024/08/08 01:36:16 build.go:404: 42:   C:/Users/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/integration/qmediaframeinputsbackend/tst_qmediaframeinputsbackend.exe
      agent:2024/08/08 01:36:16 build.go:404: 42:   execution failed with exit code 3.
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42: 
      agent:2024/08/08 01:36:16 build.go:404: 42/48 Test #42: tst_qmediaframeinputsbackend .....***Failed    1.63 sec 

      Attachments

        Issue Links

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

          Activity

            People

              qtmultimediateam Qt Multimedia Team
              teheikki Tero Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes