Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
6.5.2
-
None
-
Samsung Galaxy S10
-
-
2023wk38FOQtforAndroid
Description
On Samsung Galaxy S10 Android devices, loading a QML scene containing a VideoOutput element crash the app (SIBABRT).
Logs provide the following information:
java.lang.NullPointerException: Attempt to get length of null array
at org.qtproject.qt.android.multimedia.QtVideoDeviceManager.getStreamConfigurationsSizes(QtVideoDeviceManager.java:113)
at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)
at org.qtproject.qt.android.QtNative$7.run(QtNative.java:465)
at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)
at java.lang.Thread.run(Thread.java:920)
A fix for this issue has been submitted as a pull request on github ( https://github.com/qt/qtmultimedia/pull/3 ) before I realized this wasn't being used by the Qt project
A simple fix would be to add a null check as done in this commit ( https://github.com/qt/qtmultimedia/pull/3/commits/8f8ad420b6d6f4a10203c04aa15d35bc00d4fdf6 ).
Attachments
Issue Links
- duplicates
-
QTBUG-115935 REG: FFMPEG backend causes Android 13 crash on Launch
-
- Closed
-
- mentioned in
-
Page Loading...