Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634830 - media-libs/mlt - melt segfaults with media-video/ffmpeg-3.4 during webm encoding
Summary: media-libs/mlt - melt segfaults with media-video/ffmpeg-3.4 during webm encoding
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: media-video herd
Depends on:
Reported: 2017-10-19 22:52 UTC by Vincent Le Ligeour
Modified: 2018-11-29 23:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Le Ligeour 2017-10-19 22:52:45 UTC
When rendering in kdenlive using webm (vpx) codec, melt is segfaulting in libavcodec library with the following backtrace:
  Thread 4 "melt" received signal SIGSEGV, Segmentation fault.
  [Switching to Thread 0x7fffca1bd700 (LWP 31135)]
  0x00007fffea2d748f in ?? () from /usr/lib64/
  (gdb) where
  #0  0x00007fffea2d748f in ?? () from /usr/lib64/
  #1  0x00007fffe9f81205 in avcodec_encode_audio2 () from 
  #2  0x00007fffeb23565c in ?? () from /usr/lib64/mlt/
  #3  0x00007ffff798f8f7 in start_thread () from /lib64/
  #4  0x00007ffff76d1c7f in clone () from /lib64/

Only reverting ffmpeg to version 3.3.4 fixes the issue (video can be rendered).
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-11-19 06:49:30 UTC
Which version of media-libs/mlt do you have installed?
Comment 2 Vincent Le Ligeour 2017-11-21 11:29:10 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> Which version of media-libs/mlt do you have installed?

Still failing with the following setup:
- media-libs/mlt-6.4.1-r5::gentoo
- media-video/ffmpeg-3.4:0/55.57.57::gentoo
- kde-apps/kdenlive-9999:5::local

Reverting to media-video/ffmpeg-3.3.5:0/55.57.57::gentoo fix the issue
Comment 3 Vincent Le Ligeour 2018-02-19 08:15:40 UTC
Process is still failing with the following versions:
- media-libs/mlt-6.4.1-r6
- media-video/ffmpeg-3.4.2:0/55.57.57
- kde-apps/kdenlive-9999

Reverting media-video/ffmpeg to version 3.3.6:0/55.57.57 make the problem disappaer.
Comment 4 John Dallahan 2018-03-02 15:42:27 UTC
Can confirm this is still an issue with ffmpeg 3.4.2, mlt 6.4.1-r6 and kdenlive 17.12.2
Comment 5 Michael Palimaka (kensington) gentoo-dev 2018-03-02 23:03:46 UTC
It's probably a bug in mlt/ffmpeg that should be reported upstream.
Comment 6 Michael Palimaka (kensington) gentoo-dev 2018-03-06 12:33:45 UTC
mlt-6.6.0 is in tree containing assorted ffmpeg fixes upstream, I haven't tested with ffmpeg-3.4 though
Comment 7 Andreas Sturmlechner gentoo-dev 2018-10-01 18:11:33 UTC
Please test with: