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

[ffmpeg, macos] tst_QMediaPlayerBackend::stressTest_setupAndTeardown crashes on CI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9
    • Multimedia
    • macOS
    • e14110d5d (dev), 8490ba7be (6.8), fc072d5ec (6.7), f7c2d91f8 (tqtc/lts-6.5)

    Description

      compare https://testresults.qt.io/coin/log/qt/qtmultimedia/b53a21de654ff46f68fd66053c9f671d449c3c31/MacOSMacOS_12arm64MacOSMacOS_12arm64Clangqtci-macos-12-arm-102-a66d35TestOnly/a2535311721113dc4070abf440ae23519af13a5c/test_1721006886

      agent:2024/07/15 01:09:17 build.go:404: 37: Received signal 11 (SIGSEGV), code 2, for address 0xaaaaaaaaaaaaaab9
      agent:2024/07/15 01:09:17 build.go:404: 37:          stressTest_setupAndTeardown function time: 1ms, total time: 108092ms
      agent:2024/07/15 01:09:17 build.go:404: 37: 
      agent:2024/07/15 01:09:17 build.go:404: 37: === Stack trace ===
      agent:2024/07/15 01:09:17 build.go:404: 37: (lldb) process attach --pid 801
      agent:2024/07/15 01:09:20 build.go:404: 37: warning: 'QtCore' contains a debug script. To run this script in this debug session:
      agent:2024/07/15 01:09:20 build.go:404: 37: 
      agent:2024/07/15 01:09:20 build.go:404: 37:     command script import "/Users/qt/work/install/lib/QtCore.framework.dSYM/Contents/Resources/Python/QtCore.py"
      agent:2024/07/15 01:09:20 build.go:404: 37: 
      agent:2024/07/15 01:09:20 build.go:404: 37: To run all discovered debug scripts in this session:
      agent:2024/07/15 01:09:20 build.go:404: 37: 
      agent:2024/07/15 01:09:20 build.go:404: 37:     settings set target.load-script-from-symbol-file true
      agent:2024/07/15 01:09:20 build.go:404: 37: 
      agent:2024/07/15 01:09:20 build.go:404: 37: Process 801 stopped
      agent:2024/07/15 01:09:20 build.go:404: 37: * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
      agent:2024/07/15 01:09:20 build.go:404: 37:     frame #0: 0x00000001b7cddc3c libsystem_kernel.dylib`__wait4 + 8
      agent:2024/07/15 01:09:20 build.go:404: 37: libsystem_kernel.dylib`:
      agent:2024/07/15 01:09:20 build.go:404: 37: ->  0x1b7cddc3c <+8>:  b.lo   0x1b7cddc5c               ; <+40>
      agent:2024/07/15 01:09:20 build.go:404: 37:     0x1b7cddc40 <+12>: pacibsp 
      agent:2024/07/15 01:09:20 build.go:404: 37:     0x1b7cddc44 <+16>: stp    x29, x30, [sp, #-0x10]!
      agent:2024/07/15 01:09:20 build.go:404: 37:     0x1b7cddc48 <+20>: mov    x29, sp
      agent:2024/07/15 01:09:20 build.go:404: 37: Target 0: (tst_qmediaplayerbackend) stopped.
      agent:2024/07/15 01:09:20 build.go:404: 37: Executable module set to "/Users/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend".
      agent:2024/07/15 01:09:20 build.go:404: 37: Architecture set to: arm64e-apple-macosx-.
      agent:2024/07/15 01:09:20 build.go:404: 37: (lldb) bt all
      agent:2024/07/15 01:09:20 build.go:404: 37: error: tst_qmediaplayerbackend debug map object file '/Users/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/integration/qmediaplayerbackend/CMakeFiles/tst_qmediaplayerbackend.dir/tst_qmediaplayerbackend.cpp.o' has changed (actual time is 2024-07-15 01:04:49.000000000, debug map time is 2024-07-15 01:04:48.000000000) since this executable was linked, file will be ignored
      agent:2024/07/15 01:09:20 build.go:404: 37: error: tst_qmediaplayerbackend debug map object file '/Users/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/integration/qmediaplayerbackend/CMakeFiles/tst_qmediaplayerbackend.dir/.qt/rcc/qrc_tst_qmediaplayerbackend_testdata_builtin.cpp.o' has changed (actual time is 2024-07-15 01:04:37.000000000, debug map time is 2024-07-15 01:04:36.000000000) since this executable was linked, file will be ignored
      agent:2024/07/15 01:09:21 build.go:404: 37: * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
      agent:2024/07/15 01:09:21 build.go:404: 37:   * frame #0: 0x00000001b7cddc3c libsystem_kernel.dylib`__wait4 + 8
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #1: 0x0000000100c7b7b0 QtTest`QTest::CrashHandler::generateStackTrace() at qtestcrashhandler.cpp:363:9 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #2: 0x0000000100c7be74 QtTest`QTest::CrashHandler::FatalSignalHandler::actionHandler(signum=11, info=<unavailable>, (null)=<unavailable>) at qtestcrashhandler.cpp:630:9 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #3: 0x00000001b7d2b4a4 libsystem_platform.dylib`_sigtramp + 56
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #4: 0x0000000100921e10 tst_qmediaplayerbackend`tst_QMediaPlayerBackend::stressTest_setupAndTeardown() + 256
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #5: 0x0000000100921e10 tst_qmediaplayerbackend`tst_QMediaPlayerBackend::stressTest_setupAndTeardown() + 256
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #6: 0x00000001030a1278 QtCore`QMetaMethodInvoker::invokeImpl(self=QMetaMethod @ 0x000000016f541408, target=0x000000016f541d30, connectionType=<unavailable>, paramCount=1, parameters=0x000000016f5415d0, typeNames=0x000000016f5415d8, metaTypes=0x000000016f5415e0) at qmetaobject.cpp:2755:13 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #7: 0x00000001030a5e2c QtCore`QMetaMethod::invokeImpl(self=QMetaMethod @ 0x000000016f5414e8, target=<unavailable>, connectionType=<unavailable>, paramCount=1, parameters=<unavailable>, typeNames=0x000000016f5415d8, metaTypes=0x000000016f5415e0) at qmetaobject.cpp:2594:13 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #8: 0x0000000100c70aec QtTest`QTest::TestMethods::invokeTestOnData(int) const [inlined] std::__1::enable_if<!(AreOldStyleArgs<>::value), bool>::type QMetaMethod::invoke<void>(this=<unavailable>, obj=<unavailable>, c=DirectConnection, r=<unavailable>) const at qmetaobject.h:149:16 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #9: 0x0000000100c70ad0 QtTest`QTest::TestMethods::invokeTestOnData(int) const [inlined] std::__1::enable_if<!(AreOldStyleArgs<>::value), bool>::type QMetaMethod::invoke<>(this=<unavailable>, obj=<unavailable>, c=DirectConnection) const at qmetaobject.h:161:16 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #10: 0x0000000100c70ad0 QtTest`QTest::TestMethods::invokeTestOnData(int) const [inlined] QTest::invokeTestMethodIfValid(m=<unavailable>, obj=<unavailable>) at qtestcase.cpp:448:18 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #11: 0x0000000100c70ad0 QtTest`QTest::TestMethods::invokeTestOnData(this=0x000000016f541b60, index=<unavailable>) const at qtestcase.cpp:1086:28 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #12: 0x0000000100c7198c QtTest`QTest::TestMethods::invokeTest(this=0x000000016f541b60, index=100, tag=(m_size = 0, m_data = 0x0000000000000000), watchDog= Has Value=true ) const at qtestcase.cpp:1388:21 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #13: 0x0000000100c727a8 QtTest`QTest::TestMethods::invokeTests(this=0x000000016f541b60, testObject=0x000000016f541d30) const at qtestcase.cpp:1725:33 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #14: 0x0000000100c73294 QtTest`QTest::qRun() at qtestcase.cpp:1949:18 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #15: 0x0000000100c72a18 QtTest`QTest::qExec(testObject=<unavailable>, argc=<unavailable>, argv=<unavailable>) at qtestcase.cpp:1827:15 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #16: 0x0000000100922f60 tst_qmediaplayerbackend`main + 628
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #17: 0x0000000100e3508c dyld`start + 520
      agent:2024/07/15 01:09:21 build.go:404: 37:   thread #2, name = 'QtTest Watchdog'
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #0: 0x00000001b7cda210 libsystem_kernel.dylib`__psynch_cvwait + 8
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #1: 0x00000001b7d1483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #2: 0x00000001b7c63330 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #3: 0x0000000100c7a0ec QtTest`bool std::__1::condition_variable::wait_for[abi:ue170006]<long long, std::__1::ratio<1l, 1000l>, QTest::WatchDog::waitFor(std::__1::unique_lock<std::__1::mutex>&, QTest::WatchDog::Expectation)::'lambda'()>(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&, QTest::WatchDog::waitFor(std::__1::unique_lock<std::__1::mutex>&, QTest::WatchDog::Expectation)::'lambda'()) [inlined] std::__1::cv_status std::__1::condition_variable::wait_for<long long, std::__1::ratio<1l, 1000000000l> >(this=0x000000016f541a30, __lk=0x000000016f76ef18, __d=<unavailable>) at condition_variable.h:0 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #4: 0x0000000100c7a0dc QtTest`bool std::__1::condition_variable::wait_for[abi:ue170006]<long long, std::__1::ratio<1l, 1000l>, QTest::WatchDog::waitFor(std::__1::unique_lock<std::__1::mutex>&, QTest::WatchDog::Expectation)::'lambda'()>(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&, QTest::WatchDog::waitFor(std::__1::unique_lock<std::__1::mutex>&, QTest::WatchDog::Expectation)::'lambda'()) [inlined] void std::__1::condition_variable::__do_timed_wait[abi:ue170006]<std::__1::chrono::steady_clock>(this=0x000000016f541a30, __lk=0x000000016f76ef18, __tp=time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1L, 1000000000L> > > @ x23) at condition_variable.h:236:3 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #5: 0x0000000100c7a0dc QtTest`bool std::__1::condition_variable::wait_for[abi:ue170006]<long long, std::__1::ratio<1l, 1000l>, QTest::WatchDog::waitFor(std::__1::unique_lock<std::__1::mutex>&, QTest::WatchDog::Expectation)::'lambda'()>(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&, QTest::WatchDog::waitFor(std::__1::unique_lock<std::__1::mutex>&, QTest::WatchDog::Expectation)::'lambda'()) [inlined] std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(this=0x000000016f541a30, __lk=0x000000016f76ef18, __t=<unavailable>) at condition_variable.h:162:3 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #6: 0x0000000100c7a0dc QtTest`bool std::__1::condition_variable::wait_for[abi:ue170006]<long long, std::__1::ratio<1l, 1000l>, QTest::WatchDog::waitFor(std::__1::unique_lock<std::__1::mutex>&, QTest::WatchDog::Expectation)::'lambda'()>(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&, QTest::WatchDog::waitFor(std::__1::unique_lock<std::__1::mutex>&, QTest::WatchDog::Expectation)::'lambda'()) [inlined] bool std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> >, QTest::WatchDog::waitFor(std::__1::unique_lock<std::__1::mutex>&, QTest::WatchDog::Expectation)::'lambda'()>(this=<unavailable>, __lk=<unavailable>, __t=<unavailable>, __pred=(unnamed class) @ 0x00006000030ae5d0)::'lambda'()) at condition_variable.h:170:9 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #7: 0x0000000100c7a0dc QtTest`bool std::__1::condition_variable::wait_for[abi:ue170006]<long long, std::__1::ratio<1l, 1000l>, QTest::WatchDog::waitFor(std::__1::unique_lock<std::__1::mutex>&, QTest::WatchDog::Expectation)::'lambda'()>(this=0x000000016f541a30, __lk=0x000000016f76ef18, __d=<unavailable>, __pred=<unavailable>)::'lambda'()) at condition_variable.h:206:10 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #8: 0x0000000100c79fc0 QtTest`QTest::WatchDog::run() [inlined] QTest::WatchDog::waitFor(this=<unavailable>, m=<unavailable>, e=<unavailable>) at qtestcase.cpp:1190:34 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #9: 0x0000000100c79f70 QtTest`QTest::WatchDog::run(this=0x000000016f5419e0) at qtestcase.cpp:1254:21 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #10: 0x000000010321d47c QtCore`QThreadPrivate::start(void*) [inlined] QThreadPrivate::start(this=<unavailable>)::$_1::operator()() const at qthread_unix.cpp:335:14 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #11: 0x000000010321d374 QtCore`QThreadPrivate::start(void*) [inlined] void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(t=<unavailable>)::$_1>(QThreadPrivate::start(void*)::$_1&&) at qthread_unix.cpp:263:9 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #12: 0x000000010321d374 QtCore`QThreadPrivate::start(arg=0x000000016f5419e0) at qthread_unix.cpp:294:5 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #13: 0x00000001b7d1426c libsystem_pthread.dylib`_pthread_start + 148
      agent:2024/07/15 01:09:21 build.go:404: 37:   thread #3, name = 'AMCP Logging Spool'
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #0: 0x00000001b7cd688c libsystem_kernel.dylib`semaphore_wait_trap + 8
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #1: 0x00000001c078fa2c caulk`caulk::mach::semaphore::wait_or_error() + 28
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #2: 0x00000001c07737ac caulk`caulk::concurrent::details::worker_thread::run() + 56
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #3: 0x00000001c07733cc caulk`void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 96
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #4: 0x00000001b7d1426c libsystem_pthread.dylib`_pthread_start + 148
      agent:2024/07/15 01:09:21 build.go:404: 37:   thread #4, name = 'Thread (pooled)'
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #0: 0x00000001b7cda210 libsystem_kernel.dylib`__psynch_cvwait + 8
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #1: 0x00000001b7d1483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #2: 0x000000010322b830 QtCore`QWaitConditionPrivate::wait(QDeadlineTimer) [inlined] QWaitConditionPrivate::wait_relative(this=0x000060000218c080, deadline=<unavailable>) at qwaitcondition_unix.cpp:92:16 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #3: 0x000000010322b7e8 QtCore`QWaitConditionPrivate::wait(this=0x000060000218c080, deadline=(t1 = 264435231500, t2 = 0, type = 1)) at qwaitcondition_unix.cpp:100:24 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #4: 0x000000010322b6d4 QtCore`QWaitCondition::wait(this=0x000060000018ee90, mutex=0x000000014a022888, deadline=<unavailable>) at qwaitcondition_unix.cpp:180:27 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #5: 0x00000001032257f4 QtCore`QThreadPoolThread::run(this=0x000060000018ee80) at qthreadpool.cpp:116:23 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #6: 0x000000010321d47c QtCore`QThreadPrivate::start(void*) [inlined] QThreadPrivate::start(this=<unavailable>)::$_1::operator()() const at qthread_unix.cpp:335:14 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #7: 0x000000010321d374 QtCore`QThreadPrivate::start(void*) [inlined] void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(t=<unavailable>)::$_1>(QThreadPrivate::start(void*)::$_1&&) at qthread_unix.cpp:263:9 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #8: 0x000000010321d374 QtCore`QThreadPrivate::start(arg=0x000060000018ee80) at qthread_unix.cpp:294:5 [opt]
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #9: 0x00000001b7d1426c libsystem_pthread.dylib`_pthread_start + 148
      agent:2024/07/15 01:09:21 build.go:404: 37:   thread #5, name = 'com.apple.NSEventThread'
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #0: 0x00000001b7cd6850 libsystem_kernel.dylib`mach_msg_trap + 8
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #1: 0x00000001b7cd6cc0 libsystem_kernel.dylib`mach_msg + 76
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #2: 0x00000001b7de1140 CoreFoundation`__CFRunLoopServiceMachPort + 372
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #3: 0x00000001b7ddf5f0 CoreFoundation`__CFRunLoopRun + 1180
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #4: 0x00000001b7dde9b4 CoreFoundation`CFRunLoopRunSpecific + 600
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #5: 0x00000001baab409c AppKit`_NSEventThread + 196
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #6: 0x00000001b7d1426c libsystem_pthread.dylib`_pthread_start + 148
      agent:2024/07/15 01:09:21 build.go:404: 37:   thread #6, name = 'com.apple.CFSocket.private'
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #0: 0x00000001b7ce1538 libsystem_kernel.dylib`__select + 8
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #1: 0x00000001b7e0b738 CoreFoundation`__CFSocketManager + 644
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #2: 0x00000001b7d1426c libsystem_pthread.dylib`_pthread_start + 148
      agent:2024/07/15 01:09:21 build.go:404: 37:   thread #7
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #0: 0x00000001b7d0f078 libsystem_pthread.dylib`start_wqthread
      agent:2024/07/15 01:09:21 build.go:404: 37:   thread #8
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #0: 0x00000001b7cd86cc libsystem_kernel.dylib`__workq_kernreturn + 8
      agent:2024/07/15 01:09:21 build.go:404: 37:   thread #9
      agent:2024/07/15 01:09:21 build.go:404: 37:     frame #0: 0x0000000000000000
      agent:2024/07/15 01:09:21 build.go:404: 37: === End of stack trace ===
      

      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:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes