[mythtv] Seg Fault in mediacodec

Peter Bennett pb.mythtv at gmail.com
Wed Jul 4 18:51:31 UTC 2018



On 07/04/2018 11:27 AM, Aman Gupta wrote:
> You can also try setting the ffmpeg loglevel to trace which will show 
> much more detailed info about each output buffer being returned from 
> the decoder. A segv in memcpy is pretty low level so it's unclear if 
> this is something we would be able to fix in ffmpeg ourselves.
>
The output is attached. From it we can see that 18 packets were sent in, 
then 8 frames were retrieved and it seg faulted on retrieving the ninth. 
In the code it is trying to memcpy the frame from the buffer returned by 
mediacodec to the buffer allocated by ffmpeg when it hits the seg fault.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: android_segfault_trace.log
Type: text/x-log
Size: 42695 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20180704/2a4d2adb/attachment.bin>


More information about the mythtv-dev mailing list