Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.2
-
Gentoo Linux + KDE. pipewire-1.0.3. gstreamer-1.22.3. ffmpeg-6.1.1
-
-
5d2bdf009 (6.7.0), fb48aeb49 (dev), fbcbdf3e3 (6.7), 4c79ae481 (6.6), 810eb7390 (tqtc/lts-6.5), cd8330b98 (dev), 301900232 (6.7), 10d5015f1 (6.6), a04d2a930 (tqtc/lts-6.5)
-
Multimedia Wk 13-14
Description
I tried a super short recording with QMediaRecorder and fed the result to QAudioDecoder.
It crashed (segmentation fault) immediately somewhere inside of QtMultimedia.
Then I tried ffprobe on the recorded audio and noticed there is just metadata for the container itself but nothing about audio tracks, which is probably Ok for my super short test.
But QAudioRecorder should not crash my application anyway no matter how broken the media file is.
See the attached file for a minimal example.
Attachments
For Gerrit Dashboard: QTBUG-123597 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
550976,3 | Check audio streams in QAudioDecoder upon start | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
550997,3 | Test that QAudioDecoder emits error when source has no audio track | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
551012,2 | Check audio streams in QAudioDecoder upon start | 6.7.0 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
551013,1 | Check audio streams in QAudioDecoder upon start | 6.6.3 | qt/qtmultimedia | Status: ABANDONED | +2 | 0 |
551022,2 | Check audio streams in QAudioDecoder upon start | 6.7 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
551082,2 | Check audio streams in QAudioDecoder upon start | 6.6 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
551183,2 | Check audio streams in QAudioDecoder upon start | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |
551302,2 | Test that QAudioDecoder emits error when source has no audio track | 6.7 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
551485,2 | Test that QAudioDecoder emits error when source has no audio track | 6.6 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
551561,2 | Test that QAudioDecoder emits error when source has no audio track | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |