[Libav-user] "java(1128, 0x700003430000) malloc: *** error for object 0x7fafa4068a00: pointer being freed was not allocated" error message is thrown upon calling av_write_trailer() in libavformat library while closing the file

ravikiran.bs ravikiran.bs at zohocorp.com
Tue Dec 5 06:31:55 EET 2017





Hello,



Yes, I am using java JNA wrapper around the ffmpeg library. My application is in java and I am using ffmpeg c library for writing audio-video RTP streams into a webm file. As far as I know, there is no issue on java side. And, I am not freeing any pointers before calling av_write_trailer(). 


Regards,

Ravi Kiran B S




---- On Tue, 05 Dec 2017 09:34:43 +0530 Shu Wang <halfelf.ronin at gmail.com> wrote ----




I can't see why there is a java error for a c library. Maybe you're using some java wrapper for ffmpeg, which throwing the error?




On Mon, Dec 4, 2017 at 6:06 PM, ravikiran.bs <ravikiran.bs at zohocorp.com> wrote:










-- 

Shu. Wang @ Bestminr

http://halfelf.me




_______________________________________________

Libav-user mailing list

Libav-user at ffmpeg.org

http://ffmpeg.org/mailman/listinfo/libav-user








Hello,



I am using libavformat to mux audio and video streams obtained in RTP into a webm file. But while closing the file, I call av_write_trailer() which throws the error :



"java(1128,0x700003430000) malloc: *** error for object 0x7fafa4068a00: pointer being freed was not allocated"



I haven't freed any modules before calling av_write_trailer() method. Am I missing something here ? Please help.



Thank You.



Regards,

Ravi Kiran B S










_______________________________________________

 Libav-user mailing list

 Libav-user at ffmpeg.org

 http://ffmpeg.org/mailman/listinfo/libav-user

 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20171205/217f07a0/attachment.html>


More information about the Libav-user mailing list