Bug 471231 - Segmentation fault when playing video
Summary: Segmentation fault when playing video
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 8.0.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-19 17:08 UTC by Martin
Modified: 2023-10-18 09:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2023-06-19 17:08:18 UTC
SUMMARY
Digikam crashes from time to time when playing video

STEPS TO REPRODUCE
1. Open video (if required I can attach one)

OBSERVED RESULT
```
digikam.qtav.warn: invalid index 0 ( valid is 0 ~ 0 ) for stream type 2
digikam.qtav.warn: src audio parameters 'channel layout(or channels),sample rate and sample format must be set before initialize resampler
digikam.qtav.warn: invalid video frame from decoder. undecoded data size: 0
digikam.qtav.warn: invalid video frame from decoder. undecoded data size: 0
digikam.qtav.warn: invalid video frame from decoder. undecoded data size: 0
digikam.qtav.warn: invalid video frame from decoder. undecoded data size: 0
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: [FFmpeg:swscaler] deprecated pixel format used, make sure you did set range correctly
digikam.qtav.warn: Invalid plane! Valid range is [0, 0)
digikam.qtav.warn: Invalid plane! Valid range is [0, 0)
digikam.qtav.warn: Invalid plane! Valid range is [0, 0)
digikam.qtav.warn: Can not copy codec properties when it's open
digikam.qtav.warn: Can not copy codec properties when it's open
digikam.qtav.warn: invalid index 0 ( valid is 0 ~ 0 ) for stream type 2
digikam.qtav.warn: src audio parameters 'channel layout(or channels),sample rate and sample format must be set before initialize resampler
digikam.qtav.warn: [FFmpeg:?] Codec 0x221 is not in the full list.
QString::arg: Argument missing: No codec could be found for: , unknown_codec
digikam.qtav.warn: "No codec could be found for: "
zsh: segmentation fault (core dumped)  digikam
```


SOFTWARE/OS VERSIONS
Linux: Manjaro with Gnome
KDE Frameworks Version: 5.106.0 
Qt Version: 5.15.9
Comment 1 Maik Qualmann 2023-06-19 19:10:10 UTC

*** This bug has been marked as a duplicate of bug 468480 ***
Comment 2 caulier.gilles 2023-10-18 09:51:43 UTC
Fixed with 468480