GNOME Bugzilla – Bug 756843
Segfault in libav plugin
Last modified: 2015-10-20 07:09:40 UTC
Using the following command : gst-launch-1.0 playbin uri=file://$PWD/small_red.h264 video-sink='videoconvert ! avenc_png ! multifilesink location="%05d.png"' Program received signal SIGSEGV, Segmentation fault. 0x00007ffff3d4faa3 in av_freep (arg=0xd6c4254f0001) at libavutil/mem.c:244 244 libavutil/mem.c: No such file or directory. (gdb) ny Undefined command: "ny". Try "help". (gdb) bt
+ Trace 235597
Created attachment 313723 [details] Test file
This was fixed by one of these two commits (will be in 1.6.1): commit eedefc9f6bd19f1c86b43d1fcc31a203b4ecea10 Author: Sebastian Dröge <sebastian@centricular.com> Date: Sat Oct 3 18:25:35 2015 +0100 avcodecmap: Don't allocate dummy codec data anymore, it causes crashes nowadays Multithreaded encoders are going to free this dummy codec data twice, e.g. with this pipeline gst-launch-1.0 videotestsrc num-buffers=40 ! \ videoconvert ! avenc_mjpeg ! fakesink commit e5e78379ad8287cd2b71b4cdb743e905c8cd0369 Author: Sebastian Dröge <sebastian@centricular.com> Date: Sat Oct 3 18:14:05 2015 +0100 avvidenc: Pass the correct user_data to gst_buffer_new_wrapped_full() Fixes crash with e.g. gst-launch-1.0 videotestsrc num-buffers=40 ! \ videoconvert ! avenc_huffyuv ! fakesink