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

tst_QScreenCaptureBackend crash on exit (on CI)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.11
    • Multimedia
    • None
    • macOS
    • macOS

    Description

      agent:2025/06/28 03:02:37 build.go:412:         vendor_id       : [0][0][0][0]
      agent:2025/06/28 03:02:37 build.go:412: BFAIL  : tst_QScreenCaptureBackend::capture_capturesToFile_whenConnectedToMediaRecorder() The computed value is expected to be greater than the baseline, but is not
      agent:2025/06/28 03:02:37 build.go:412:    Computed (player.duration()): 266
      agent:2025/06/28 03:02:37 build.go:412:    Baseline (350)              : 350
      agent:2025/06/28 03:02:37 build.go:412:    Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qscreencapturebackend/tst_qscreencapturebackend.cpp(528)]
      agent:2025/06/28 03:02:37 build.go:412: SKIP   : tst_QScreenCaptureBackend::removeScreenWhileCapture() TODO: find a reliable way to emulate it
      agent:2025/06/28 03:02:37 build.go:412:    Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qscreencapturebackend/tst_qscreencapturebackend.cpp(576)]
      agent:2025/06/28 03:02:37 build.go:412: PASS   : tst_QScreenCaptureBackend::cleanupTestCase()
      agent:2025/06/28 03:02:37 build.go:412: Totals: 2 passed, 0 failed, 2 skipped, 4 blacklisted, 7745ms
      agent:2025/06/28 03:02:37 build.go:412: ********* Finished testing of tst_QScreenCaptureBackend *********
      agent:2025/06/28 03:02:37 build.go:412: *** Signal 6: Backtracing from 0x7ff8128b8b52... done ***
      agent:2025/06/28 03:02:37 build.go:412: *** Program crashed: Aborted at 0x00007ff8128b8b52 ***
      agent:2025/06/28 03:02:37 build.go:412: Thread 2 crashed:
      agent:2025/06/28 03:02:37 build.go:412:  0      0x00007ff8128b8b52 __pthread_kill + 10 in libsystem_kernel.dylib
      agent:2025/06/28 03:02:37 build.go:412:  1 [ra] 0x00007ff812813b19 abort + 126 in libsystem_c.dylib
      agent:2025/06/28 03:02:37 build.go:412:  2 [ra] 0x00007ff812712ab1 malloc_vreport + 857 in libsystem_malloc.dylib
      agent:2025/06/28 03:02:37 build.go:412:  3 [ra] 0x00007ff81273a376 malloc_zone_error + 183 in libsystem_malloc.dylib
      agent:2025/06/28 03:02:37 build.go:412:  4 [ra] 0x00007ff812729544 nanov2_guard_corruption_detected + 34 in libsystem_malloc.dylib
      agent:2025/06/28 03:02:37 build.go:412:  5 [ra] 0x00007ff81272950e nanov2_allocate_outlined + 407 in libsystem_malloc.dylib
      agent:2025/06/28 03:02:37 build.go:412:  6 [ra] 0x00007ff8127283f7 nanov2_calloc_type + 625 in libsystem_malloc.dylib
      agent:2025/06/28 03:02:37 build.go:412:  7 [ra] 0x00007ff812522c26 class_createInstance + 66 in libobjc.A.dylib
      agent:2025/06/28 03:02:37 build.go:412:  8 [ra] 0x00007ff81274aee5 _os_object_alloc_realized + 25 in libdispatch.dylib
      agent:2025/06/28 03:02:37 build.go:412:  9 [ra] 0x00007ff812767c20 _dispatch_mach_cancel + 145 in libdispatch.dylib
      agent:2025/06/28 03:02:37 build.go:412: 10 [ra] 0x00007ff8127653e6 _dispatch_mach_invoke + 739 in libdispatch.dylib
      agent:2025/06/28 03:02:37 build.go:412: 11 [ra] 0x00007ff81275c0db _dispatch_root_queue_drain_deferred_wlh + 271 in libdispatch.dylib
      agent:2025/06/28 03:02:37 build.go:412: 12 [ra] 0x00007ff81275b9dc _dispatch_workloop_worker_thread + 659 in libdispatch.dylib
      agent:2025/06/28 03:02:37 build.go:412: 13 [ra] 0x00007ff8128efc7f _pthread_wqthread + 326 in libsystem_pthread.dylib
      agent:2025/06/28 03:02:37 build.go:412: 14 [ra] 0x00007ff8128eebdb start_wqthread + 15 in libsystem_pthread.dylib
      agent:2025/06/28 03:02:37 build.go:412: Registers:
      agent:2025/06/28 03:02:37 build.go:412: rax 0x0000000000000000  0
      agent:2025/06/28 03:02:37 build.go:412: rdx 0x0000000000000000  0
      agent:2025/06/28 03:02:37 build.go:412: rcx 0x000070000a4840c8  85 2f 8f 12 f8 7f 00 00 00 50 48 0a 00 70 00 00  ·/··ø····PH··p··
      agent:2025/06/28 03:02:37 build.go:412: rbx 0x0000000000000006  6
      agent:2025/06/28 03:02:37 build.go:412: rsi 0x0000000000000006  6
      agent:2025/06/28 03:02:37 build.go:412: rdi 0x0000000000002903  10499
      agent:2025/06/28 03:02:37 build.go:412: rbp 0x000070000a4840f0  30 41 48 0a 00 70 00 00 19 3b 81 12 f8 7f 00 00  0AH··p···;··ø···
      agent:2025/06/28 03:02:37 build.go:412: rsp 0x000070000a4840c8  85 2f 8f 12 f8 7f 00 00 00 50 48 0a 00 70 00 00  ·/··ø····PH··p··
      agent:2025/06/28 03:02:37 build.go:412:  r8 0x000000000000002e  46
      agent:2025/06/28 03:02:37 build.go:412:  r9 0x0000000000000000  0
      agent:2025/06/28 03:02:37 build.go:412: r10 0x0000000000000000  0
      agent:2025/06/28 03:02:37 build.go:412: r11 0x0000000000000246  582
      agent:2025/06/28 03:02:37 build.go:412: r12 0x0000000000000000  0
      agent:2025/06/28 03:02:37 build.go:412: r13 0x0000000000000043  67
      agent:2025/06/28 03:02:37 build.go:412: r14 0x0000000000002903  10499
      agent:2025/06/28 03:02:37 build.go:412: r15 0x0000000000000016  22
      agent:2025/06/28 03:02:37 build.go:412: rip 0x00007ff8128b8b52  73 08 48 89 c7 e9 06 9a ff ff c3 00 00 00 b8 53  s·H·Çé··ÿÿ÷··¸S
      agent:2025/06/28 03:02:37 build.go:412: rflags 0x0000000000000246  ZF PF
      agent:2025/06/28 03:02:37 build.go:412: cs 0x0007  fs 0x0000  gs 0x0000
      agent:2025/06/28 03:02:37 build.go:412: Images (721 omitted):
      agent:2025/06/28 03:02:37 build.go:412: 0x00007ff81251c000–0x00007ff81255efec a3fef4cb43023a389075ef032041dabb libobjc.A.dylib         /usr/lib/libobjc.A.dylib
      agent:2025/06/28 03:02:37 build.go:412: 0x00007ff812704000–0x00007ff812748000 b55f467782f13cdb914c7dd8fcb7886d libsystem_malloc.dylib  /usr/lib/system/libsystem_malloc.dylib
      agent:2025/06/28 03:02:37 build.go:412: 0x00007ff812748000–0x00007ff81278fffa 6c0ff4e06f7536fab45f0075a398132d libdispatch.dylib       /usr/lib/system/libdispatch.dylib
      agent:2025/06/28 03:02:37 build.go:412: 0x00007ff812793000–0x00007ff81281bff8 2d4e63efe31c3cc194ec2b7e28b9782f libsystem_c.dylib       /usr/lib/system/libsystem_c.dylib
      agent:2025/06/28 03:02:37 build.go:412: 0x00007ff8128b1000–0x00007ff8128ed000 a0aee5ca4298307082f9ea72229f36e5 libsystem_kernel.dylib  /usr/lib/system/libsystem_kernel.dylib
      agent:2025/06/28 03:02:37 build.go:412: 0x00007ff8128ed000–0x00007ff8128f9000 c0db9cf986ec31d4a5572c07945fd8f2 libsystem_pthread.dylib /usr/lib/system/libsystem_pthread.dylib
      agent:2025/06/28 03:02:37 build.go:412: Backtrace took 0.15s
      agent:2025/06/28 03:02:37 build.go:412: qt-testrunner.py     INFO: Test process exited with code: -6
      agent:2025/06/28 03:02:37 build.go:412: qt-testrunner.py     INFO: Parsed XML file /Users/qt/work/testresults/tst_qscreencapturebackend-1751079749129.xml in 0.001 seconds
      agent:2025/06/28 03:02:37 build.go:412: qt-testrunner.py     INFO: Found 8 passes and 0 failures
      agent:2025/06/28 03:02:37 build.go:412: qt-testrunner.py  WARNING: CRASH detected, re-running the whole executable
      agent:2025/06/28 03:02:37 build.go:412: qt-testrunner.py    ERROR: Full test run failed repeatedly, aborting!
      agent:2025/06/28 03:02:37 build.go:412: CMake Error at tst_qscreencapturebackendWrapperRelWithDebInfo.cmake:18 (message):
      agent:2025/06/28 03:02:37 build.go:412:   /Users/qt/work/install/libexec/qt-testrunner.py --
      agent:2025/06/28 03:02:37 build.go:412:   /Users/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/integration/qscreencapturebackend/tst_qscreencapturebackend
      agent:2025/06/28 03:02:37 build.go:412:   execution failed with exit code 3.
      agent:2025/06/28 03:02:37 build.go:412: 98% tests passed, 1 tests failed out of 60
      agent:2025/06/28 03:02:37 build.go:412: Total Test time (real) = 612.06 sec
      agent:2025/06/28 03:02:37 build.go:412: The following tests FAILED:
      agent:2025/06/28 03:02:37 build.go:412: 	 60 - tst_qscreencapturebackend (Failed)
      agent:2025/06/28 03:02:37 build.go:412: Errors while running CTest
      agent:2025/06/28 03:02:37 build.go:463: Process finished with error: exit status 8
      agent:2025/06/28 03:02:37 build.go:859: 
      

      a worker thread seems to crash on exit.

      https://testresults.qt.io/coin/integration/qt/qtmultimedia/tasks/1751078733

      Attachments

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

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes