Summary: | media-video/ffmpeg-6.1.2: crashes with media-tv/kodi-21.1-r1 (works with media-video/ffmpeg-6.1.1-r8) when playing a (hevc) video with aac audio | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steve Evans <stevee> |
Component: | Current packages | Assignee: | Craig Andrews <candrews> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | media-video, parona, stevee |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | kodi crash log containing a gdb stack trace |
Description
Steve Evans
2025-01-06 10:39:32 UTC
Could you try to get a backtrace from Kodi? Either via a coredump or by running Kodi under gdb (which will be quite slow)? Created attachment 916004 [details]
kodi crash log containing a gdb stack trace
So ffmpeg-6.1.2 backported https://github.com/FFmpeg/FFmpeg/commit/b586ff27683af11315f3e637c08e0ec0a07d9f35 which assumes avctx cannot be NULL. The assumption is right in the 7 branch as the following change is applied there https://github.com/FFmpeg/FFmpeg/commit/d9f1b321cf58a85518d29c5a3d220d67b1a68b92. This change does not exist on 6.1.2 meaning it segfaults. Missing commit backported to 6.1 branch https://github.com/FFmpeg/FFmpeg/commit/b1baad4a5ffcbc932f242f27165bb329782b4375 |