Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8
-
None
-
-
02702cd3a (dev), d7f14c350 (6.8), 76d2f6f94 (dev), 398a8aa15 (6.8), d7b7e2799 (dev), f9a91c6d4 (6.8)
Description
tst_QMediaCaptureSession::testAudioMute deadlocked in testresults.qt.io/coin/api/log/qt/qtmultimedia/dc3b58b3382b0b0da1729a8e9aca286b9fe0a6b0/MacOSMacOS_13arm64MacOSMacOS_13arm64Clangqtci-macos-13-arm-107-64f69aInsignificantTests_TestOnly/da0a1dd3b07b444aa937a79b95a97da1713dfe2b/test_1715774799/log.txt.gz
Log attached.
agent:2024/05/15 11:56:36 build.go:404: 41: ********* Start testing of tst_QMediaCaptureSession ********* agent:2024/05/15 11:56:36 build.go:404: 41: Config: Using QtTest library 6.8.0, Qt 6.8.0 (arm64-little_endian-lp64 shared (dynamic) release build; by Apple LLVM 15.0.0 (clang-1500.3.9.4)), macos 13.6 agent:2024/05/15 11:56:36 build.go:404: 41: PASS : tst_QMediaCaptureSession::initTestCase() agent:2024/05/15 11:56:38 build.go:404: 41: BFAIL : tst_QMediaCaptureSession::testAudioMute() 'durationChanged.wait(2000)' returned FALSE. () agent:2024/05/15 11:56:38 build.go:404: 41: Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qmediacapturesession/tst_qmediacapturesession.cpp(1117)] agent:2024/05/15 12:01:36 build.go:404: 41: agent:2024/05/15 12:01:36 build.go:404: 41: testAudioMute function time: 300037ms, total time: 300038ms agent:2024/05/15 12:01:36 build.go:404: 41: agent:2024/05/15 12:01:36 build.go:404: 41: === Stack trace === agent:2024/05/15 12:01:36 build.go:404: 41: (lldb) process attach --pid 917 agent:2024/05/15 12:01:39 build.go:404: 41: warning: 'QtCore' contains a debug script. To run this script in this debug session: agent:2024/05/15 12:01:39 build.go:404: 41: agent:2024/05/15 12:01:39 build.go:404: 41: command script import "/Users/qt/work/install/lib/QtCore.framework.dSYM/Contents/Resources/Python/QtCore.py" agent:2024/05/15 12:01:39 build.go:404: 41: agent:2024/05/15 12:01:39 build.go:404: 41: To run all discovered debug scripts in this session: agent:2024/05/15 12:01:39 build.go:404: 41: agent:2024/05/15 12:01:39 build.go:404: 41: settings set target.load-script-from-symbol-file true agent:2024/05/15 12:01:39 build.go:404: 41: agent:2024/05/15 12:01:39 build.go:404: 41: Process 917 stopped agent:2024/05/15 12:01:39 build.go:404: 41: * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP agent:2024/05/15 12:01:39 build.go:404: 41: frame #0: 0x000000018a4e76f0 libsystem_kernel.dylib`__psynch_cvwait + 8 agent:2024/05/15 12:01:39 build.go:404: 41: libsystem_kernel.dylib`: agent:2024/05/15 12:01:39 build.go:404: 41: -> 0x18a4e76f0 <+8>: b.lo 0x18a4e7710 ; <+40> agent:2024/05/15 12:01:39 build.go:404: 41: 0x18a4e76f4 <+12>: pacibsp agent:2024/05/15 12:01:39 build.go:404: 41: 0x18a4e76f8 <+16>: stp x29, x30, [sp, #-0x10]! agent:2024/05/15 12:01:39 build.go:404: 41: 0x18a4e76fc <+20>: mov x29, sp agent:2024/05/15 12:01:39 build.go:404: 41: Target 0: (tst_qmediacapturesession) stopped. agent:2024/05/15 12:01:39 build.go:404: 41: Executable module set to "/Users/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/integration/qmediacapturesession/tst_qmediacapturesession". agent:2024/05/15 12:01:39 build.go:404: 41: Architecture set to: arm64e-apple-macosx-. agent:2024/05/15 12:01:39 build.go:404: 41: (lldb) bt all agent:2024/05/15 12:01:39 build.go:404: 41: * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP agent:2024/05/15 12:01:39 build.go:404: 41: * frame #0: 0x000000018a4e76f0 libsystem_kernel.dylib`__psynch_cvwait + 8 agent:2024/05/15 12:01:39 build.go:404: 41: frame #1: 0x000000018a524574 libsystem_pthread.dylib`_pthread_cond_wait + 1232 agent:2024/05/15 12:01:39 build.go:404: 41: frame #2: 0x000000010743ee40 QtCore`QWaitConditionPrivate::wait(this=0x00006000023d6d00, deadline=<unavailable>) at qwaitcondition_unix.cpp:102:24 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #3: 0x000000010743ed74 QtCore`QWaitCondition::wait(this=0x00006000036c1dd8, mutex=0x00006000036c1db8, deadline=<unavailable>) at qwaitcondition_unix.cpp:180:27 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #4: 0x0000000107431894 QtCore`QThread::wait(this=<unavailable>, deadline=<unavailable>) at qthread_unix.cpp:778:29 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #5: 0x000000010af6a240 libffmpegmediaplugin.dylib`QFFmpegAudioInput::~QFFmpegAudioInput(this=0x00006000029dcde0) at qffmpegaudioinput.cpp:158:18 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #6: 0x000000010af6a2e0 libffmpegmediaplugin.dylib`non-virtual thunk to QFFmpegAudioInput::~QFFmpegAudioInput() [inlined] QFFmpegAudioInput::~QFFmpegAudioInput(this=<unavailable>) at qffmpegaudioinput.cpp:153:1 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #7: 0x000000010af6a2dc libffmpegmediaplugin.dylib`non-virtual thunk to QFFmpegAudioInput::~QFFmpegAudioInput() [inlined] QFFmpegAudioInput::~QFFmpegAudioInput(this=<unavailable>) at qffmpegaudioinput.cpp:153:1 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #8: 0x000000010af6a2dc libffmpegmediaplugin.dylib`non-virtual thunk to QFFmpegAudioInput::~QFFmpegAudioInput() at qffmpegaudioinput.cpp:0 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #9: 0x0000000105334e7c QtMultimedia`QAudioInput::~QAudioInput() [inlined] QAudioInput::~QAudioInput(this=0x000000016ae755e0) at qaudioinput.cpp:75:5 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #10: 0x0000000105334e20 QtMultimedia`QAudioInput::~QAudioInput(this=0x000000016ae755e0) at qaudioinput.cpp:73:1 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #11: 0x0000000104fa5bec tst_qmediacapturesession`tst_QMediaCaptureSession::testAudioMute(this=<unavailable>) at tst_qmediacapturesession.cpp:1156:1 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #12: 0x0000000104fa6d14 tst_qmediacapturesession`tst_QMediaCaptureSession::qt_static_metacall(_o=<unavailable>, _c=<unavailable>, _id=<unavailable>, _a=<unavailable>) at tst_qmediacapturesession.moc:260:21 [opt] [artificial] agent:2024/05/15 12:01:39 build.go:404: 41: frame #13: 0x00000001072b7600 QtCore`QMetaMethodInvoker::invokeImpl(self=QMetaMethod @ 0x000000016ae75708, target=0x000000016ae76010, connectionType=<unavailable>, paramCount=1, parameters=0x000000016ae758d0, typeNames=0x000000016ae758d8, metaTypes=0x000000016ae758e0) at qmetaobject.cpp:2755:13 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #14: 0x00000001072bc33c QtCore`QMetaMethod::invokeImpl(self=QMetaMethod @ 0x000000016ae757e8, target=<unavailable>, connectionType=<unavailable>, paramCount=1, parameters=<unavailable>, typeNames=0x000000016ae758d8, metaTypes=0x000000016ae758e0) at qmetaobject.cpp:2594:13 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #15: 0x00000001051354ec 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/05/15 12:01:39 build.go:404: 41: frame #16: 0x00000001051354d0 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/05/15 12:01:39 build.go:404: 41: frame #17: 0x00000001051354d0 QtTest`QTest::TestMethods::invokeTestOnData(int) const [inlined] QTest::invokeTestMethodIfValid(m=<unavailable>, obj=<unavailable>) at qtestcase.cpp:448:18 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #18: 0x00000001051354d0 QtTest`QTest::TestMethods::invokeTestOnData(this=0x000000016ae75e60, index=<unavailable>) const at qtestcase.cpp:1086:28 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #19: 0x00000001051363a8 QtTest`QTest::TestMethods::invokeTest(this=0x000000016ae75e60, index=0, tag=(m_size = 0, m_data = 0x0000000000000000), watchDog= Has Value=true ) const at qtestcase.cpp:1388:21 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #20: 0x00000001051371c0 QtTest`QTest::TestMethods::invokeTests(this=0x000000016ae75e60, testObject=0x000000016ae76010) const at qtestcase.cpp:1725:33 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #21: 0x0000000105137cac QtTest`QTest::qRun() at qtestcase.cpp:1949:18 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #22: 0x0000000105137430 QtTest`QTest::qExec(testObject=0x000000016ae76010, argc=<unavailable>, argv=0x000000016ae762e0) at qtestcase.cpp:1827:15 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #23: 0x0000000104fa6c70 tst_qmediacapturesession`main(argc=<unavailable>, argv=0x000000016ae762e0) at tst_qmediacapturesession.cpp:1180:1 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #24: 0x000000018a1cbf28 dyld`start + 2236 agent:2024/05/15 12:01:39 build.go:404: 41: thread #2 agent:2024/05/15 12:01:39 build.go:404: 41: frame #0: 0x000000018a4e5ba8 libsystem_kernel.dylib`__workq_kernreturn + 8 agent:2024/05/15 12:01:39 build.go:404: 41: thread #3, name = 'QtTest Watchdog' agent:2024/05/15 12:01:39 build.go:404: 41: frame #0: 0x000000018a4eb4e4 libsystem_kernel.dylib`__wait4 + 8 agent:2024/05/15 12:01:39 build.go:404: 41: frame #1: 0x0000000105140188 QtTest`QTest::CrashHandler::generateStackTrace() at qtestcrashhandler.cpp:363:9 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #2: 0x000000010513ea18 QtTest`QTest::WatchDog::run(this=0x000000016ae75ce0) at qtestcase.cpp:1257:21 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #3: 0x0000000107430bb4 QtCore`QThreadPrivate::start(void*) [inlined] QThreadPrivate::start(this=<unavailable>)::$_1::operator()() const at qthread_unix.cpp:332:14 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #4: 0x0000000107430aac QtCore`QThreadPrivate::start(void*) [inlined] void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(t=<unavailable>)::$_1>(QThreadPrivate::start(void*)::$_1&&) at qthread_unix.cpp:264:9 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #5: 0x0000000107430aac QtCore`QThreadPrivate::start(arg=0x000000016ae75ce0) at qthread_unix.cpp:291:5 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #6: 0x000000018a523fa8 libsystem_pthread.dylib`_pthread_start + 148 agent:2024/05/15 12:01:39 build.go:404: 41: thread #4, name = 'caulk.messenger.shared:17' agent:2024/05/15 12:01:39 build.go:404: 41: frame #0: 0x000000018a4e3e70 libsystem_kernel.dylib`semaphore_wait_trap + 8 agent:2024/05/15 12:01:39 build.go:404: 41: frame #1: 0x0000000193b63024 caulk`caulk::semaphore::timed_wait(double) + 212 agent:2024/05/15 12:01:39 build.go:404: 41: frame #2: 0x0000000193b62ed8 caulk`caulk::concurrent::details::worker_thread::run() + 36 agent:2024/05/15 12:01:39 build.go:404: 41: frame #3: 0x0000000193b62bc8 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/05/15 12:01:39 build.go:404: 41: frame #4: 0x000000018a523fa8 libsystem_pthread.dylib`_pthread_start + 148 agent:2024/05/15 12:01:39 build.go:404: 41: thread #5, name = 'QThread' agent:2024/05/15 12:01:39 build.go:404: 41: frame #0: 0x000000018a4e76f0 libsystem_kernel.dylib`__psynch_cvwait + 8 agent:2024/05/15 12:01:39 build.go:404: 41: frame #1: 0x000000018a524574 libsystem_pthread.dylib`_pthread_cond_wait + 1232 agent:2024/05/15 12:01:39 build.go:404: 41: frame #2: 0x000000010743ee40 QtCore`QWaitConditionPrivate::wait(this=0x00006000023ec980, deadline=<unavailable>) at qwaitcondition_unix.cpp:102:24 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #3: 0x000000010743ed74 QtCore`QWaitCondition::wait(this=0x00006000036d40e8, mutex=0x00006000036d40e0, deadline=<unavailable>) at qwaitcondition_unix.cpp:180:27 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #4: 0x00000001053920dc QtMultimedia`QDarwinAudioSource::stop() [inlined] QDarwinAudioSourceBuffer::wait(this=<unavailable>) at qdarwinaudiosource_p.h:111:36 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #5: 0x00000001053920c8 QtMultimedia`QDarwinAudioSource::stop() [inlined] QDarwinAudioSource::audioThreadStop(this=0x00006000031c9400) at qdarwinaudiosource.mm:856:24 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #6: 0x00000001053920a0 QtMultimedia`QDarwinAudioSource::stop(this=0x00006000031c9400) at qdarwinaudiosource.mm:726:9 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #7: 0x000000010af6ab74 libffmpegmediaplugin.dylib`QFFmpeg::AudioSourceIO::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [inlined] QFFmpeg::AudioSourceIO::updateRunning(this=0x00006000023d6d80) at qffmpegaudioinput.cpp:109:20 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #8: 0x000000010af6ab70 libffmpegmediaplugin.dylib`QFFmpeg::AudioSourceIO::qt_static_metacall(_o=0x00006000023d6d80, _c=<unavailable>, _id=<unavailable>, _a=<unavailable>) at qffmpegaudioinput.moc:101:21 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #9: 0x00000001072f2480 QtCore`QObject::event(this=0x00006000023d6d80, e=0x00006000023bdd00) at qobject.cpp:1419:18 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #10: 0x000000010605bf7c QtWidgets`QApplicationPrivate::notify_helper(this=<unavailable>, receiver=0x00006000023d6d80, e=0x00006000023bdd00) at qapplication.cpp:3294:26 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #11: 0x000000010605ced4 QtWidgets`QApplication::notify(this=0x000000016ae76020, receiver=0x00006000023d6d80, e=0x00006000023bdd00) at qapplication.cpp:3245:18 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #12: 0x00000001072a9f00 QtCore`QCoreApplication::notifyInternal2(receiver=0x00006000023d6d80, event=0x00006000023bdd00) at qcoreapplication.cpp:1154:18 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #13: 0x00000001072ab914 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) [inlined] QCoreApplication::sendEvent(receiver=0x00006000023d6d80, event=0x00006000023bdd00) at qcoreapplication.cpp:1598:12 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #14: 0x00000001072ab904 QtCore`QCoreApplicationPrivate::sendPostedEvents(receiver=0x0000000000000000, event_type=0, data=0x0000600003cc5540) at qcoreapplication.cpp:1953:9 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #15: 0x00000001074329e4 QtCore`QEventDispatcherUNIX::processEvents(this=0x0000600000fd45e0, flags=(i = 36)) at qeventdispatcher_unix.cpp:416:5 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #16: 0x00000001072b50fc QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QEventLoop::processEvents(this=0x000000016b1baf28, flags=<unavailable>) at qeventloop.cpp:100:55 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #17: 0x00000001072b50d8 QtCore`QEventLoop::exec(this=0x000000016b1baf28, flags=<unavailable>) at qeventloop.cpp:191:9 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #18: 0x000000010739aad8 QtCore`QThread::exec(this=<unavailable>) at qthread.cpp:621:32 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #19: 0x0000000107430bb4 QtCore`QThreadPrivate::start(void*) [inlined] QThreadPrivate::start(this=<unavailable>)::$_1::operator()() const at qthread_unix.cpp:332:14 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #20: 0x0000000107430aac QtCore`QThreadPrivate::start(void*) [inlined] void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(t=<unavailable>)::$_1>(QThreadPrivate::start(void*)::$_1&&) at qthread_unix.cpp:264:9 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #21: 0x0000000107430aac QtCore`QThreadPrivate::start(arg=0x0000600000fc11c0) at qthread_unix.cpp:291:5 [opt] agent:2024/05/15 12:01:39 build.go:404: 41: frame #22: 0x000000018a523fa8 libsystem_pthread.dylib`_pthread_start + 148 agent:2024/05/15 12:01:39 build.go:404: 41: thread #6, name = 'com.apple.NSEventThread' agent:2024/05/15 12:01:39 build.go:404: 41: frame #0: 0x000000018a4e3ef4 libsystem_kernel.dylib`mach_msg2_trap + 8 agent:2024/05/15 12:01:39 build.go:404: 41: frame #1: 0x000000018a4f6220 libsystem_kernel.dylib`mach_msg2_internal + 80 agent:2024/05/15 12:01:39 build.go:404: 41: frame #2: 0x000000018a4ecb58 libsystem_kernel.dylib`mach_msg_overwrite + 604 agent:2024/05/15 12:01:39 build.go:404: 41: frame #3: 0x000000018a4e4270 libsystem_kernel.dylib`mach_msg + 24 agent:2024/05/15 12:01:39 build.go:404: 41: frame #4: 0x000000018a602754 CoreFoundation`__CFRunLoopServiceMachPort + 160 agent:2024/05/15 12:01:39 build.go:404: 41: frame #5: 0x000000018a601034 CoreFoundation`__CFRunLoopRun + 1208 agent:2024/05/15 12:01:39 build.go:404: 41: frame #6: 0x000000018a600428 CoreFoundation`CFRunLoopRunSpecific + 612 agent:2024/05/15 12:01:39 build.go:404: 41: frame #7: 0x000000018d952df4 AppKit`_NSEventThread + 172 agent:2024/05/15 12:01:39 build.go:404: 41: frame #8: 0x000000018a523fa8 libsystem_pthread.dylib`_pthread_start + 148 agent:2024/05/15 12:01:39 build.go:404: 41: === End of stack trace === agent:2024/05/15 12:01:39 build.go:404: 41: QFATAL : tst_QMediaCaptureSession::testAudioMute() Test function timed out agent:2024/05/15 12:01:39 build.go:404: 41: BFAIL : tst_QMediaCaptureSession::testAudioMute() Received a fatal error. agent:2024/05/15 12:01:39 build.go:404: 41: Totals: 1 passed, 0 failed, 0 skipped, 1 blacklisted, 303852ms agent:2024/05/15 12:01:39 build.go:404: 41: ********* Finished testing of tst_QMediaCaptureSession *********
Attachments
Issue Links
- duplicates
-
QTBUG-126119 Test #43: tst_qmediacapturesession .........***Failed
-
- Closed
-
For Gerrit Dashboard: QTBUG-125389 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
566611,4 | Make macOS ARM 12 and 13 VMs insignificant | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
566613,3 | coin: Set TCC permissions for macOS 12 and 13 ARM VMs | dev | qt/qt5 | Status: MERGED | +2 | 0 |
566646,1 | Disable macOS ARM 12 and 13 VMs tests | dev | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
566652,2 | Make macOS ARM 12 and 13 VMs insignificant | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
567667,2 | coin: Set TCC permissions for macOS 12 and 13 ARM VMs | 6.8 | qt/qt5 | Status: MERGED | +2 | 0 |