Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.2
-
None
-
MacOS 13.1 (22C65)
Qt Creator 9.0.1
Description
Steps to reproduce:
- Open, build and run https://doc.qt.io/qt-6/qtmultimedia-video-qmlvideo-example.html on macOs.
- Select mp4 or mov video files.
- Try to play them in any of the modes.
Expected: Mode applied, no crash.
Actual: App is crashing. Sometimes the stacktrace is visible in the console:
2023-02-14 14:19:49.819 qmlvideo[34031:613381] +[CATransaction synchronize] called within transaction 2023-02-14 14:19:50.230 qmlvideo[34031:613381] +[CATransaction synchronize] called within transaction 2023-02-14 14:19:53.521 qmlvideo[34031:613381] +[CATransaction synchronize] called within transaction 2023-02-14 14:19:53.818 qmlvideo[34031:613381] +[CATransaction synchronize] called within transaction 2023-02-14 14:20:00.948 qmlvideo[34031:613381] -[__NSMallocBlock__ objectForKey:]: unrecognized selector sent to instance 0x600000ef4000 2023-02-14 14:20:00.950 qmlvideo[34031:613381] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSMallocBlock__ objectForKey:]: unrecognized selector sent to instance 0x600000ef4000' *** First throw call stack: ( 0 CoreFoundation 0x00007ff8072073eb __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff806d53e25 objc_exception_throw + 48 2 CoreFoundation 0x00007ff80729e52b -[NSObject(NSObject) __retain_OA] + 0 3 CoreFoundation 0x00007ff80717162b ___forwarding___ + 1324 4 CoreFoundation 0x00007ff807171068 _CF_forwarding_prep_0 + 120 5 CoreVideo 0x00007ff80f3db527 CVPixelBufferCreateResolvedAttributesDictionary + 149 6 VideoToolbox 0x00007ff814439c70 VTPixelBufferAttributesMediatorCopyProperty + 484 7 AVFCore 0x00007ff81addb0e0 -[AVPlayerItem(AVPlayerItemOutputs) _preferredPixelBufferAttributes] + 53 8 AVFCore 0x00007ff81adaa5f8 __84-[AVPlayer _updateCurrentItemPreferredPixelBufferAttributesAndVideoLayerSuppression]_block_invoke + 76 9 libdispatch.dylib 0x00007ff806f33a44 _dispatch_client_callout + 8 10 libdispatch.dylib 0x00007ff806f4136b _dispatch_lane_barrier_sync_invoke_and_complete + 60 11 AVFCore 0x00007ff81adaa5a6 -[AVPlayer _updateCurrentItemPreferredPixelBufferAttributesAndVideoLayerSuppression] + 73 12 CoreFoundation 0x00007ff8071843c3 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 120 13 CoreFoundation 0x00007ff80721e41a ___CFXRegistrationPost_block_invoke + 88 14 CoreFoundation 0x00007ff80721e369 _CFXRegistrationPost + 536 15 CoreFoundation 0x00007ff8071578f9 _CFXNotificationPost + 735 16 AVFCore 0x00007ff81addb1b2 -[AVPlayerItem(AVPlayerItemOutputs) _addVideoOutput:] + 195 17 AVFCore 0x00007ff81addb49d -[AVPlayerItem(AVPlayerItemOutputs) addOutput:] + 264 18 libdarwinmediaplugin.dylib 0x0000000117a5cd0d libdarwinmediaplugin.dylib + 97549 19 libdarwinmediaplugin.dylib 0x0000000117a5cb34 libdarwinmediaplugin.dylib + 97076 20 QtCore 0x000000010939b55a _ZN11QMetaObject8activateEP7QObjectPKS_iPPv + 3994 21 libdarwinmediaplugin.dylib 0x0000000117a4e6b4 libdarwinmediaplugin.dylib + 38580 22 libdarwinmediaplugin.dylib 0x0000000117a52803 libdarwinmediaplugin.dylib + 55299 23 QtCore 0x000000010934c5c6 _ZN23QCoreApplicationPrivate13notify_helperEP7QObjectP6QEvent + 310 24 QtCore 0x000000010934c1da _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 170 25 QtCore 0x000000010934d42c _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData + 1468 26 libqcocoa.dylib 0x0000000108ac721b qt_plugin_instance + 58987 27 libqcocoa.dylib 0x0000000108ac792b qt_plugin_instance + 60795 28 CoreFoundation 0x00007ff80718eb78 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 29 CoreFoundation 0x00007ff80718eb27 __CFRunLoopDoSource0 + 157 30 CoreFoundation 0x00007ff80718e901 __CFRunLoopDoSources0 + 212 31 CoreFoundation 0x00007ff80718d57b __CFRunLoopRun + 929 32 CoreFoundation 0x00007ff80718cb60 CFRunLoopRunSpecific + 560 33 HIToolbox 0x00007ff810ada766 RunCurrentEventLoopInMode + 292 34 HIToolbox 0x00007ff810ada576 ReceiveNextEventCommon + 679 35 HIToolbox 0x00007ff810ada2b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70 36 AppKit 0x00007ff80a2dd293 _DPSNextEvent + 909 37 AppKit 0x00007ff80a2dc114 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219 38 AppKit 0x00007ff80a2ce757 -[NSApplication run] + 586 39 libqcocoa.dylib 0x0000000108ac6833 qt_plugin_instance + 56451 40 QtCore 0x0000000109355526 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 486 41 QtCore 0x000000010934c7d5 _ZN16QCoreApplication4execEv + 133 42 qmlvideo 0x000000010707861c main + 3484 43 dyld 0x00007ff806d80310 start + 2432 ) libc++abi: terminating with uncaught exception of type NSException
Reproducibility: 100%
Attachments
Issue Links
- relates to
-
QTBUG-122635 QML video example crashes immediately after launch, because of missing qmlvideo module
- Closed
-
QTQAINFRA-5393 Qt Test Attack - Feb, 2023
- Open