[Libav-user] Kernel preemption incompatible with libav?

wm4 nfxjfg at googlemail.com
Thu Apr 10 21:36:55 CEST 2014


On Thu, 10 Apr 2014 15:11:45 +0000
Andrew Muehlfeld <andrew.muehlfeld at fourthwing.com> wrote:

> I am using an old version of the libav libraries compiled for ARM, running on an embedded processor, using Linux 3.0.0.  ffmpeg version is 2008-09-16, SVN-r15339.  I am using libavformat, libavutil, and libavcodec to package an H.264 ES into an MPEG-2 TS.  My application runs fine with linux kernel preemption disabled (CONFIG_PREEMPT_NONE), but fails when set to voluntary preepmtion (CONFIG_PREEMPT_VOLUNTARY) or full preemption (CONFIG_PREEMPT).  Is this expected? Due to other things running on the processor, kernel preemption is required. I am considering compiling the latest ffmpeg and trying again, but thought it would be worth asking first.

If an application crashes the kernel, it's _always_ the kernel's or the
hardware's fault. Why are you even asking here? At best you
could ask in a Linux kernel related place. Besides, I doubt anyone here
remembers or supports code from 2008. That is ancient software.


More information about the Libav-user mailing list