Opened 3 years ago

Closed 2 years ago

#4921 closed defect (fixed)

double free or corruption error using tee pseudo muxer with hls and flv

Reported by: doubleb Owned by:
Priority: important Component: avformat
Version: git-master Keywords: tee crash abort regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:

various memory freeing errors occur using tee pseudo muxer with hls and flv

How to reproduce:

% ffmpeg_g -y -report  -re -f lavfi -i smptehdbars=size=320x180:r=25 -f lavfi -i aevalsrc=0 -map 0:0 -map 1:0 -vcodec libx264 -preset medium -x264opts keyint=25:min-keyint=25 -vb 800k -bufsize 2400k -r 25 -maxrate 1400k -profile:v main -level 3 -pix_fmt yuv420p -acodec libfdk_aac -cutoff 20000 -ac 2 -ar 44100 -ab 128k -flags +global_header -vtag 0x7 -f tee \[f=hls:bsfs/v=dump_extra:hls_time=3:hls_list_size=5:hls_flags=delete_segments\]/tmp/bb.m3u8\|\[f=flv\]/tmp/bb.flv
ffmpeg started on 2015-10-09 at 20:48:27
Report written to "ffmpeg-20151009-204827.log"
ffmpeg version 2.8 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9)
  configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libx264 --enable-libzmq
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, lavfi, from 'smptehdbars=size=320x180:r=25':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x180 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Input #1, lavfi, from 'aevalsrc=0':
  Duration: N/A, start: 0.000000, bitrate: 2822 kb/s
    Stream #1:0: Audio: pcm_f64le, 44100 Hz, mono, dbl, 2822 kb/s
[libx264 @ 0x2ffac20] using SAR=1/1
[libx264 @ 0x2ffac20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x2ffac20] profile Main, level 3.0
[libx264 @ 0x2ffac20] 264 - core 146 r61 121396c - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=48 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=25 keyint_min=13 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1400 vbv_bufsize=2400 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Output #0, tee, to '[f=hls:bsfs/v=dump_extra:hls_time=3:hls_list_size=5:hls_flags=delete_segments]/tmp/bb.m3u8|[f=flv]/tmp/bb.flv':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 320x180 [SAR 1:1 DAR 16:9], q=-1--1, 800 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 libx264
    Stream #0:1: Audio: aac (libfdk_aac), 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      encoder         : Lavc56.60.100 libfdk_aac
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  Stream #1:0 -> #0:1 (pcm_f64le (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help

dbg output

GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from ffmpeg_g...done.
(gdb) r
Starting program: ffmpeg_g -y -re -f lavfi -i smptehdbars=size=320x180:r=25 -f lavfi -i aevalsrc=0 -map 0:0 -map 1:0 -vcodec               libx264 -preset medium -x264opts keyint=25:min-keyint=25 -vb 800k -bufsize 2400k -r 25 -maxrate 1400k -profile:v main -level 3 -pix_fmt yuv420p -acodec lib              fdk_aac -cutoff 20000 -ac 2 -ar 44100 -ab 128k -flags +global_header -vtag 0x7 -f tee \[f=hls:bsfs/v=dump_extra:hls_time=3:hls_list_size=5:hls_flags=delete_              segments\]/tmp/bb.m3u8\|\[f=flv\]/tmp/bb.flv
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
ffmpeg version 2.8 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9)
  configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --pkg-c              onfig-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libx264 --enable-libzmq
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[New Thread 0x7ffff627c700 (LWP 4798)]
[New Thread 0x7ffff5a7b700 (LWP 4799)]
[New Thread 0x7ffff527a700 (LWP 4800)]
[New Thread 0x7ffff4a79700 (LWP 4801)]
[New Thread 0x7ffff4278700 (LWP 4802)]
[New Thread 0x7ffff3a77700 (LWP 4803)]
[New Thread 0x7ffff3276700 (LWP 4804)]
[New Thread 0x7ffff2a75700 (LWP 4805)]
[New Thread 0x7ffff2274700 (LWP 4806)]
[New Thread 0x7ffff1a73700 (LWP 4807)]
[New Thread 0x7ffff1272700 (LWP 4808)]
[New Thread 0x7ffff0a71700 (LWP 4809)]
[New Thread 0x7ffff0270700 (LWP 4810)]
[New Thread 0x7fffefa6f700 (LWP 4811)]
[New Thread 0x7fffef26e700 (LWP 4812)]
[New Thread 0x7fffeea6d700 (LWP 4813)]
[New Thread 0x7fffee26c700 (LWP 4814)]
[New Thread 0x7fffeda6b700 (LWP 4815)]
[New Thread 0x7fffed26a700 (LWP 4816)]
[New Thread 0x7fffeca69700 (LWP 4817)]
[New Thread 0x7fffec268700 (LWP 4818)]
[New Thread 0x7fffeba67700 (LWP 4819)]
[New Thread 0x7fffeb266700 (LWP 4820)]
[New Thread 0x7fffeaa65700 (LWP 4821)]
[New Thread 0x7fffea264700 (LWP 4822)]
[New Thread 0x7fffe9a63700 (LWP 4823)]
[New Thread 0x7fffe9262700 (LWP 4824)]
[New Thread 0x7fffe8a61700 (LWP 4825)]
[New Thread 0x7fffe8260700 (LWP 4826)]
[New Thread 0x7fffe7a5f700 (LWP 4827)]
[New Thread 0x7fffe725e700 (LWP 4828)]
[New Thread 0x7fffe6a5d700 (LWP 4829)]
[New Thread 0x7fffe625c700 (LWP 4830)]
Input #0, lavfi, from 'smptehdbars=size=320x180:r=25':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x180 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[New Thread 0x7fffe5a5b700 (LWP 4831)]
[New Thread 0x7fffe525a700 (LWP 4832)]
[New Thread 0x7fffe4a59700 (LWP 4833)]
[New Thread 0x7fffe4258700 (LWP 4834)]
[New Thread 0x7fffe3a57700 (LWP 4835)]
[New Thread 0x7fffe3256700 (LWP 4836)]
[New Thread 0x7fffe2a55700 (LWP 4837)]
[New Thread 0x7fffe2254700 (LWP 4838)]
[New Thread 0x7fffe1a53700 (LWP 4839)]
[New Thread 0x7fffe1252700 (LWP 4840)]
[New Thread 0x7fffe0a51700 (LWP 4841)]
[New Thread 0x7fffe0250700 (LWP 4842)]
[New Thread 0x7fffdfa4f700 (LWP 4843)]
[New Thread 0x7fffdf24e700 (LWP 4844)]
[New Thread 0x7fffdea4d700 (LWP 4845)]
[New Thread 0x7fffde24c700 (LWP 4846)]
[New Thread 0x7fffdda4b700 (LWP 4847)]
[New Thread 0x7fffdd24a700 (LWP 4848)]
[New Thread 0x7fffdca49700 (LWP 4849)]
[New Thread 0x7fffdc248700 (LWP 4850)]
[New Thread 0x7fffdba47700 (LWP 4851)]
[New Thread 0x7fffdb246700 (LWP 4852)]
[New Thread 0x7fffdaa45700 (LWP 4853)]
[New Thread 0x7fffda244700 (LWP 4854)]
[New Thread 0x7fffd9a43700 (LWP 4855)]
[New Thread 0x7fffd9242700 (LWP 4856)]
[New Thread 0x7fffd8a41700 (LWP 4857)]
[New Thread 0x7fffd8240700 (LWP 4858)]
[New Thread 0x7fffd7a3f700 (LWP 4859)]
[New Thread 0x7fffd723e700 (LWP 4860)]
[New Thread 0x7fffd6a3d700 (LWP 4861)]
[New Thread 0x7fffd623c700 (LWP 4862)]
[New Thread 0x7fffd5a3b700 (LWP 4863)]
Input #1, lavfi, from 'aevalsrc=0':
  Duration: N/A, start: 0.000000, bitrate: 2822 kb/s
    Stream #1:0: Audio: pcm_f64le, 44100 Hz, mono, dbl, 2822 kb/s
[New Thread 0x7fffd523a700 (LWP 4864)]
[New Thread 0x7fffd4a39700 (LWP 4865)]
[New Thread 0x7fffd4238700 (LWP 4866)]
[New Thread 0x7fffd3a37700 (LWP 4867)]
[New Thread 0x7fffd3236700 (LWP 4868)]
[New Thread 0x7fffd2a35700 (LWP 4869)]
[New Thread 0x7fffd2234700 (LWP 4870)]
[New Thread 0x7fffd1a33700 (LWP 4871)]
[New Thread 0x7fffd1232700 (LWP 4872)]
[New Thread 0x7fffd0a31700 (LWP 4873)]
[New Thread 0x7fffd0230700 (LWP 4874)]
[New Thread 0x7fffcfa2f700 (LWP 4875)]
[New Thread 0x7fffcf22e700 (LWP 4876)]
[New Thread 0x7fffcea2d700 (LWP 4877)]
[New Thread 0x7fffce22c700 (LWP 4878)]
[New Thread 0x7fffcda2b700 (LWP 4879)]
[New Thread 0x7fffcd22a700 (LWP 4880)]
[New Thread 0x7fffcca29700 (LWP 4881)]
[New Thread 0x7fffcc228700 (LWP 4882)]
[New Thread 0x7fffcba27700 (LWP 4883)]
[New Thread 0x7fffcb226700 (LWP 4884)]
[New Thread 0x7fffcaa25700 (LWP 4885)]
[New Thread 0x7fffca224700 (LWP 4886)]
[New Thread 0x7fffc9a23700 (LWP 4887)]
[New Thread 0x7fffc9222700 (LWP 4888)]
[New Thread 0x7fffc8a21700 (LWP 4889)]
[New Thread 0x7fffc8220700 (LWP 4890)]
[New Thread 0x7fffc7a1f700 (LWP 4891)]
[New Thread 0x7fffc721e700 (LWP 4892)]
[New Thread 0x7fffc6a1d700 (LWP 4893)]
[New Thread 0x7fffc621c700 (LWP 4894)]
[New Thread 0x7fffc5a1b700 (LWP 4895)]
[New Thread 0x7fffc521a700 (LWP 4898)]
[New Thread 0x7fffc4a19700 (LWP 4899)]
[New Thread 0x7fffc4218700 (LWP 4900)]
[New Thread 0x7fffc3a17700 (LWP 4901)]
[New Thread 0x7fffc3216700 (LWP 4902)]
[New Thread 0x7fffc2a15700 (LWP 4903)]
[New Thread 0x7fffc2214700 (LWP 4904)]
[New Thread 0x7fffc1a13700 (LWP 4905)]
[New Thread 0x7fffc1212700 (LWP 4906)]
[New Thread 0x7fffc0a11700 (LWP 4907)]
[New Thread 0x7fffc0210700 (LWP 4908)]
[New Thread 0x7fffbfa0f700 (LWP 4909)]
[New Thread 0x7fffbf20e700 (LWP 4910)]
[New Thread 0x7fffbea0d700 (LWP 4911)]
[New Thread 0x7fffbe20c700 (LWP 4912)]
[New Thread 0x7fffbda0b700 (LWP 4913)]
[New Thread 0x7fffbd20a700 (LWP 4914)]
[New Thread 0x7fffbca09700 (LWP 4915)]
[New Thread 0x7fffbc208700 (LWP 4916)]
[New Thread 0x7fffbba07700 (LWP 4917)]
[New Thread 0x7fffbb206700 (LWP 4918)]
[New Thread 0x7fffbaa05700 (LWP 4919)]
[New Thread 0x7fffba204700 (LWP 4920)]
[New Thread 0x7fffb9a03700 (LWP 4921)]
[New Thread 0x7fffb9202700 (LWP 4922)]
[New Thread 0x7fffb8a01700 (LWP 4923)]
[New Thread 0x7fffb8200700 (LWP 4924)]
[New Thread 0x7fffb79ff700 (LWP 4925)]
[New Thread 0x7fffb71fe700 (LWP 4926)]
[New Thread 0x7fffb69fd700 (LWP 4927)]
[New Thread 0x7fffb61fc700 (LWP 4928)]
[New Thread 0x7fffb59fb700 (LWP 4929)]
[New Thread 0x7fffb51fa700 (LWP 4930)]
[New Thread 0x7fffb49f9700 (LWP 4931)]
[libx264 @ 0x1df1120] using SAR=1/1
[libx264 @ 0x1df1120] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[New Thread 0x7fffb41f8700 (LWP 4932)]
[New Thread 0x7fffb39f7700 (LWP 4934)]
[New Thread 0x7fffb31f6700 (LWP 4935)]
[New Thread 0x7fffb29f5700 (LWP 4936)]
[New Thread 0x7fffb21f4700 (LWP 4937)]
[New Thread 0x7fffb19f3700 (LWP 4938)]
[New Thread 0x7fffb11f2700 (LWP 4939)]
[New Thread 0x7fffb09f1700 (LWP 4940)]
[New Thread 0x7fffb01f0700 (LWP 4941)]
[New Thread 0x7fffaf9ef700 (LWP 4942)]
[New Thread 0x7fffaf1ee700 (LWP 4943)]
[New Thread 0x7fffae9ed700 (LWP 4944)]
[New Thread 0x7fffae1ec700 (LWP 4945)]
[New Thread 0x7fffad9eb700 (LWP 4946)]
[New Thread 0x7fffad1ea700 (LWP 4947)]
[New Thread 0x7fffac9e9700 (LWP 4948)]
[New Thread 0x7fffac1e8700 (LWP 4949)]
[New Thread 0x7fffab9e7700 (LWP 4950)]
[New Thread 0x7fffab1e6700 (LWP 4951)]
[New Thread 0x7fffaa9e5700 (LWP 4952)]
[New Thread 0x7fffaa1e4700 (LWP 4953)]
[New Thread 0x7fffa99e3700 (LWP 4954)]
[New Thread 0x7fffa91e2700 (LWP 4955)]
[New Thread 0x7fffa89e1700 (LWP 4956)]
[New Thread 0x7fffa81e0700 (LWP 4957)]
[New Thread 0x7fffa79df700 (LWP 4958)]
[New Thread 0x7fffa71de700 (LWP 4959)]
[New Thread 0x7fffa69dd700 (LWP 4960)]
[New Thread 0x7fffa61dc700 (LWP 4961)]
[New Thread 0x7fffa59db700 (LWP 4962)]
[New Thread 0x7fffa51da700 (LWP 4963)]
[New Thread 0x7fffa49d9700 (LWP 4964)]
[New Thread 0x7fffa41d8700 (LWP 4965)]
[New Thread 0x7fffa39d7700 (LWP 4966)]
[New Thread 0x7fffa31d6700 (LWP 4967)]
[New Thread 0x7fffa29d5700 (LWP 4968)]
[New Thread 0x7fffa21d4700 (LWP 4969)]
[New Thread 0x7fffa19d3700 (LWP 4970)]
[New Thread 0x7fffa11d2700 (LWP 4971)]
[New Thread 0x7fffa09d1700 (LWP 4972)]
[New Thread 0x7fffa01d0700 (LWP 4973)]
[New Thread 0x7fff9f9cf700 (LWP 4974)]
[New Thread 0x7fff9f1ce700 (LWP 4975)]
[New Thread 0x7fff9e9cd700 (LWP 4976)]
[New Thread 0x7fff9e1cc700 (LWP 4977)]
[New Thread 0x7fff9d9cb700 (LWP 4978)]
[New Thread 0x7fff9d1ca700 (LWP 4979)]
[New Thread 0x7fff9c9c9700 (LWP 4980)]
[New Thread 0x7fff973a5700 (LWP 4981)]
[libx264 @ 0x1df1120] profile Main, level 3.0
[libx264 @ 0x1df1120] 264 - core 146 r61 121396c - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3               deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip              =1 chroma_qp_offset=-2 threads=48 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=              2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=25 keyint_min=13 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=800               ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1400 vbv_bufsize=2400 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Output #0, tee, to '[f=hls:bsfs/v=dump_extra:hls_time=3:hls_list_size=5:hls_flags=delete_segments]/tmp/bb.m3u8|[f=flv]/tmp/bb.flv':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 320x180 [SAR 1:1 DAR 16:9], q=-1--1, 800 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 libx264
    Stream #0:1: Audio: aac (libfdk_aac), 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      encoder         : Lavc56.60.100 libfdk_aac
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  Stream #1:0 -> #0:1 (pcm_f64le (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[New Thread 0x7fff96ba4700 (LWP 4982)]
[New Thread 0x7fff963a3700 (LWP 4983)]
*** Error in `ffmpeg_g': double free or corruption (out): 0x0000000001ddadb0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7d1fd)[0x7ffff6c6c1fd]
ffmpeg_g[0x6b1054]
ffmpeg_g[0x5fbaf4]
ffmpeg_g[0x6635e5]
ffmpeg_g[0x5fbd8a]
ffmpeg_g[0x48ac90]
ffmpeg_g[0x4907dd]
ffmpeg_g[0x4731e6]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7ffff6c10af5]
ffmpeg_g[0x475641]
======= Memory map: ========
00400000-01425000 r-xp 00000000 103:02 298904793                         ffmpeg_g
01624000-01625000 r--p 01024000 103:02 298904793                         ffmpeg_g
01625000-01663000 rw-p 01025000 103:02 298904793                         ffmpeg_g
01663000-02923000 rw-p 00000000 00:00 0                                  [heap]
7fff88000000-7fff88021000 rw-p 00000000 00:00 0
7fff88021000-7fff8c000000 ---p 00000000 00:00 0
7fff8fd11000-7fff90000000 rw-p 00000000 00:00 0
7fff90000000-7fff900ff000 rw-p 00000000 00:00 0
7fff900ff000-7fff94000000 ---p 00000000 00:00 0
7fff94023000-7fff95ba3000 rw-p 00000000 00:00 0
7fff95ba3000-7fff95ba4000 ---p 00000000 00:00 0
7fff95ba4000-7fff963a4000 rw-p 00000000 00:00 0                          [stack:4983]
7fff963a4000-7fff963a5000 ---p 00000000 00:00 0
7fff963a5000-7fff96ba5000 rw-p 00000000 00:00 0                          [stack:4982]
7fff96ba5000-7fff96ba6000 ---p 00000000 00:00 0
7fff96ba6000-7fff9c1c9000 rw-p 00000000 00:00 0                          [stack:4981]
7fff9c1c9000-7fff9c1ca000 ---p 00000000 00:00 0
7fff9c1ca000-7fff9c9ca000 rw-p 00000000 00:00 0                          [stack:4980]
7fff9c9ca000-7fff9c9cb000 ---p 00000000 00:00 0
7fff9c9cb000-7fff9d1cb000 rw-p 00000000 00:00 0                          [stack:4979]
7fff9d1cb000-7fff9d1cc000 ---p 00000000 00:00 0
7fff9d1cc000-7fff9d9cc000 rw-p 00000000 00:00 0                          [stack:4978]
7fff9d9cc000-7fff9d9cd000 ---p 00000000 00:00 0
7fff9d9cd000-7fff9e1cd000 rw-p 00000000 00:00 0                          [stack:4977]
7fff9e1cd000-7fff9e1ce000 ---p 00000000 00:00 0
7fff9e1ce000-7fff9e9ce000 rw-p 00000000 00:00 0                          [stack:4976]
7fff9e9ce000-7fff9e9cf000 ---p 00000000 00:00 0
7fff9e9cf000-7fff9f1cf000 rw-p 00000000 00:00 0                          [stack:4975]
7fff9f1cf000-7fff9f1d0000 ---p 00000000 00:00 0
7fff9f1d0000-7fff9f9d0000 rw-p 00000000 00:00 0                          [stack:4974]
7fff9f9d0000-7fff9f9d1000 ---p 00000000 00:00 0
7fff9f9d1000-7fffa01d1000 rw-p 00000000 00:00 0                          [stack:4973]
7fffa01d1000-7fffa01d2000 ---p 00000000 00:00 0
7fffa01d2000-7fffa09d2000 rw-p 00000000 00:00 0                          [stack:4972]
7fffa09d2000-7fffa09d3000 ---p 00000000 00:00 0
7fffa09d3000-7fffa11d3000 rw-p 00000000 00:00 0                          [stack:4971]
7fffa11d3000-7fffa11d4000 ---p 00000000 00:00 0
7fffa11d4000-7fffa19d4000 rw-p 00000000 00:00 0                          [stack:4970]
7fffa19d4000-7fffa19d5000 ---p 00000000 00:00 0
7fffa19d5000-7fffa21d5000 rw-p 00000000 00:00 0                          [stack:4969]
7fffa21d5000-7fffa21d6000 ---p 00000000 00:00 0
7fffa21d6000-7fffa29d6000 rw-p 00000000 00:00 0                          [stack:4968]
7fffa29d6000-7fffa29d7000 ---p 00000000 00:00 0
7fffa29d7000-7fffa31d7000 rw-p 00000000 00:00 0                          [stack:4967]
7fffa31d7000-7fffa31d8000 ---p 00000000 00:00 0
7fffa31d8000-7fffa39d8000 rw-p 00000000 00:00 0                          [stack:4966]
7fffa39d8000-7fffa39d9000 ---p 00000000 00:00 0
7fffa39d9000-7fffa41d9000 rw-p 00000000 00:00 0                          [stack:4965]
7fffa41d9000-7fffa41da000 ---p 00000000 00:00 0
7fffa41da000-7fffa49da000 rw-p 00000000 00:00 0                          [stack:4964]
7fffa49da000-7fffa49db000 ---p 00000000 00:00 0
7fffa49db000-7fffa51db000 rw-p 00000000 00:00 0                          [stack:4963]
7fffa51db000-7fffa51dc000 ---p 00000000 00:00 0
7fffa51dc000-7fffa59dc000 rw-p 00000000 00:00 0                          [stack:4962]
7fffa59dc000-7fffa59dd000 ---p 00000000 00:00 0
7fffa59dd000-7fffa61dd000 rw-p 00000000 00:00 0                          [stack:4961]
7fffa61dd000-7fffa61de000 ---p 00000000 00:00 0
7fffa61de000-7fffa69de000 rw-p 00000000 00:00 0                          [stack:4960]
7fffa69de000-7fffa69df000 ---p 00000000 00:00 0
7fffa69df000-7fffa71df000 rw-p 00000000 00:00 0                          [stack:4959]
7fffa71df000-7fffa71e0000 ---p 00000000 00:00 0
7fffa71e0000-7fffa79e0000 rw-p 00000000 00:00 0                          [stack:4958]
7fffa79e0000-7fffa79e1000 ---p 00000000 00:00 0
7fffa79e1000-7fffa81e1000 rw-p 00000000 00:00 0                          [stack:4957]
7fffa81e1000-7fffa81e2000 ---p 00000000 00:00 0
7fffa81e2000-7fffa89e2000 rw-p 00000000 00:00 0                          [stack:4956]
7fffa89e2000-7fffa89e3000 ---p 00000000 00:00 0
7fffa89e3000-7fffa91e3000 rw-p 00000000 00:00 0                          [stack:4955]
7fffa91e3000-7fffa91e4000 ---p 00000000 00:00 0
7fffa91e4000-7fffa99e4000 rw-p 00000000 00:00 0                          [stack:4954]
7fffa99e4000-7fffa99e5000 ---p 00000000 00:00 0
7fffa99e5000-7fffaa1e5000 rw-p 00000000 00:00 0                          [stack:4953]
7fffaa1e5000-7fffaa1e6000 ---p 00000000 00:00 0
7fffaa1e6000-7fffaa9e6000 rw-p 00000000 00:00 0                          [stack:4952]
7fffaa9e6000-7fffaa9e7000 ---p 00000000 00:00 0
7fffaa9e7000-7fffab1e7000 rw-p 00000000 00:00 0                          [stack:4951]
7fffab1e7000-7fffab1e8000 ---p 00000000 00:00 0
7fffab1e8000-7fffab9e8000 rw-p 00000000 00:00 0                          [stack:4950]
7fffab9e8000-7fffab9e9000 ---p 00000000 00:00 0
7fffab9e9000-7fffac1e9000 rw-p 00000000 00:00 0                          [stack:4949]
7fffac1e9000-7fffac1ea000 ---p 00000000 00:00 0
7fffac1ea000-7fffac9ea000 rw-p 00000000 00:00 0                          [stack:4948]
7fffac9ea000-7fffac9eb000 ---p 00000000 00:00 0
7fffac9eb000-7fffad1eb000 rw-p 00000000 00:00 0                          [stack:4947]
7fffad1eb000-7fffad1ec000 ---p 00000000 00:00 0
7fffad1ec000-7fffad9ec000 rw-p 00000000 00:00 0                          [stack:4946]
Program received signal SIGABRT, Aborted.
0x00007ffff6c245d7 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install freetype-2.4.11-10.el7_1.1.x86_64 glibc-2.17-78.el7.x86_64 libgcc-4.8.3-9.el7.x86_64 libstdc++-4.8.3-9.e              l7.x86_64 openpgm-5.2.122-2.el7.x86_64 zeromq3-3.2.5-1.el7.x86_64 zlib-1.2.7-13.el7.x86_64



(gdb) bt
#0  0x00007ffff6c245d7 in raise () from /lib64/libc.so.6
#1  0x00007ffff6c25cc8 in abort () from /lib64/libc.so.6
#2  0x00007ffff6c64e07 in __libc_message () from /lib64/libc.so.6
#3  0x00007ffff6c6c1fd in _int_free () from /lib64/libc.so.6
#4  0x00000000006b1054 in av_packet_free_side_data (pkt=0x7fffffffd640) at libavcodec/avpacket.c:275
#5  av_free_packet (pkt=pkt@entry=0x7fffffffd640) at libavcodec/avpacket.c:295
#6  0x00000000005fbaf4 in av_interleaved_write_frame (s=s@entry=0x2747100, pkt=0x0, pkt@entry=0x7fffffffd730) at libavformat/mux.c:974
#7  0x00000000006635e5 in tee_write_packet (avf=0x1df0160, pkt=0x7fffffffd8d0) at libavformat/tee.c:485
#8  0x00000000005fbd8a in write_packet (pkt=0x7fffffffd8d0, s=0x1df0160) at libavformat/mux.c:660
#9  av_interleaved_write_frame (s=s@entry=0x1df0160, pkt=0x0, pkt@entry=0x7fffffffdc50) at libavformat/mux.c:970
#10 0x000000000048ac90 in write_frame (s=s@entry=0x1df0160, pkt=pkt@entry=0x7fffffffdc50, ost=ost@entry=0x1df3e20) at ffmpeg.c:787
#11 0x00000000004907dd in do_audio_out (frame=0x2764800, ost=0x1df3e20, s=0x1df0160) at ffmpeg.c:865
#12 reap_filters (flush=flush@entry=0) at ffmpeg.c:1398
#13 0x00000000004731e6 in transcode_step () at ffmpeg.c:3939
#14 transcode () at ffmpeg.c:3982
#15 main (argc=<optimized out>, argv=<optimized out>) at ffmpeg.c:4165
(gdb)


(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0x7ffff6c245b7 to 0x7ffff6c245f7:
   0x00007ffff6c245b7 <raise+23>:       add    %al,(%rax)
   0x00007ffff6c245b9 <raise+25>:       syscall
   0x00007ffff6c245bb <raise+27>:       mov    %eax,%ecx
   0x00007ffff6c245bd <raise+29>:       mov    %eax,%fs:0x2d0
   0x00007ffff6c245c5 <raise+37>:       mov    %eax,%esi
   0x00007ffff6c245c7 <raise+39>:       movslq %edi,%rdx
   0x00007ffff6c245ca <raise+42>:       movslq %esi,%rsi
   0x00007ffff6c245cd <raise+45>:       movslq %ecx,%rdi
   0x00007ffff6c245d0 <raise+48>:       mov    $0xea,%eax
   0x00007ffff6c245d5 <raise+53>:       syscall
=> 0x00007ffff6c245d7 <raise+55>:       cmp    $0xfffffffffffff000,%rax
   0x00007ffff6c245dd <raise+61>:       ja     0x7ffff6c245fd <raise+93>
   0x00007ffff6c245df <raise+63>:       repz retq
   0x00007ffff6c245e1 <raise+65>:       nopl   0x0(%rax)
   0x00007ffff6c245e8 <raise+72>:       test   %ecx,%ecx
   0x00007ffff6c245ea <raise+74>:       jg     0x7ffff6c245c7 <raise+39>
   0x00007ffff6c245ec <raise+76>:       mov    %ecx,%eax
   0x00007ffff6c245ee <raise+78>:       neg    %eax
   0x00007ffff6c245f0 <raise+80>:       and    $0x7fffffff,%ecx
   0x00007ffff6c245f6 <raise+86>:       cmove  %esi,%eax
End of assembler dump.
(gdb)

(gdb) info all-registers
rax            0x0      0
rbx            0x400    1024
rcx            0xffffffffffffffff       -1
rdx            0x6      6
rsi            0x12b9   4793
rdi            0x12b9   4793
rbp            0x7fffffffd4f0   0x7fffffffd4f0
rsp            0x7fffffffcab8   0x7fffffffcab8
r8             0x0      0
r9             0x0      0
r10            0x8      8
r11            0x202    514
r12            0xa      10
r13            0x7fffffffd010   140737488343056
r14            0x71     113
r15            0x9      9
rip            0x7ffff6c245d7   0x7ffff6c245d7 <raise+55>
eflags         0x202    [ IF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
st0            0        (raw 0x00000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            0        (raw 0x00000000000000000000)
st6            0        (raw 0x00000000000000000000)
st7            0        (raw 0x00000000000000000000)
fctrl          0x37f    895
fstat          0x0      0
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
mxcsr          0x1fa8   [ OE PE IM DM ZM OM UM PM ]
ymm0           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {
    0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
 ---Type <return> to continue, or q <return> to quit---
ymm1           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 11 times>, 0xff, 0x0, 0x0,
    0xff, 0x0 <repeats 17 times>}, v16_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0xff00, 0x0, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x0, 0x0,
    0xff000000, 0xff0000, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0xff0000ff000000, 0x0, 0x0}, v2_int128 = {0x00ff0000ff0000000000000000000000,
    0x00000000000000000000000000000000}}
ymm2           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {
    0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm3           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {
    0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm4           {v8_float = {0x0, 0x1ac68fc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
    0x4a, 0xe9, 0xcf, 0x1e, 0x7e, 0x34, 0xd6, 0x4d, 0x59, 0xc5, 0x2f, 0x5f, 0x87, 0xb9, 0x21, 0x5c, 0x0 <repeats 16 times>}, v16_int16 = {0xe94a, 0x1ecf,
    0x347e, 0x4dd6, 0xc559, 0x5f2f, 0xb987, 0x5c21, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x1ecfe94a, 0x4dd6347e, 0x5f2fc559, 0x5c21b987,
    0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x4dd6347e1ecfe94a, 0x5c21b9875f2fc559, 0x0, 0x0}, v2_int128 = {0x5c21b9875f2fc5594dd6347e1ecfe94a,
    0x00000000000000000000000000000000}}
ymm5           {v8_float = {0xfffffaea, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
    0x26, 0xd1, 0xa2, 0xc4, 0x14, 0x98, 0x70, 0xe0, 0xf, 0x73, 0x95, 0xa6, 0x6e, 0xa9, 0xd5, 0xe5, 0x0 <repeats 16 times>}, v16_int16 = {0xd126, 0xc4a2,
    0x9814, 0xe070, 0x730f, 0xa695, 0xa96e, 0xe5d5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xc4a2d126, 0xe0709814, 0xa695730f, 0xe5d5a96e,
    0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xe0709814c4a2d126, 0xe5d5a96ea695730f, 0x0, 0x0}, v2_int128 = {0xe5d5a96ea695730fe0709814c4a2d126,
    0x00000000000000000000000000000000}}
ymm6           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x8f, 0xf, 0x82, 0xa, 0xdd, 0x7f, 0xae,
    0xa1, 0xb2, 0x7f, 0x87, 0xfb, 0x45, 0x4, 0xe, 0xb2, 0x0 <repeats 16 times>}, v16_int16 = {0xf8f, 0xa82, 0x7fdd, 0xa1ae, 0x7fb2, 0xfb87, 0x445, 0xb20e,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xa820f8f, 0xa1ae7fdd, 0xfb877fb2, 0xb20e0445, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
    0xa1ae7fdd0a820f8f, 0xb20e0445fb877fb2, 0x0, 0x0}, v2_int128 = {0xb20e0445fb877fb2a1ae7fdd0a820f8f, 0x00000000000000000000000000000000}}
ymm7           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x0, 0x0, 0x0}, v32_int8 = {0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x26, 0x12, 0xc1, 0x43, 0x5a, 0xac, 0x0 <repeats 16 times>}, v16_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
    0x1226, 0x43c1, 0xac5a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xffffffff, 0xffffffff, 0x1226ffff, 0xac5a43c1, 0x0, 0x0, 0x0, 0x0},
  v4_int64 = {0xffffffffffffffff, 0xac5a43c11226ffff, 0x0, 0x0}, v2_int128 = {0xac5a43c11226ffffffffffffffffffff, 0x00000000000000000000000000000000}}
ymm8           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
    0xff <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xffffffffffffffff,
    0xffffffffffffffff, 0x0, 0x0}, v2_int128 = {0xffffffffffffffffffffffffffffffff, 0x00000000000000000000000000000000}}
ymm9           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
    0xff <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xffffffffffffffff,
    0xffffffffffffffff, 0x0, 0x0}, v2_int128 = {0xffffffffffffffffffffffffffffffff, 0x00000000000000000000000000000000}}
ymm10          {v8_float = {0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x40, 0x33, 0x33, 0xcb,
    0x3f, 0x0 <repeats 24 times>}, v16_int16 = {0x0, 0x4000, 0x3333, 0x3fcb, 0x0 <repeats 12 times>}, v8_int32 = {0x40000000, 0x3fcb3333, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int64 = {0x3fcb333340000000, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000003fcb333340000000, 0x00000000000000000000000000000000}}
ymm11          {v8_float = {0xfffffffe, 0x2, 0xfffffffe, 0x2, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x2, 0x2, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0xc0,
    0x46, 0x65, 0x3, 0x40, 0x0, 0x0, 0x0, 0xc0, 0x46, 0x65, 0x3, 0x40, 0x0 <repeats 16 times>}, v16_int16 = {0x0, 0xc000, 0x6546, 0x4003, 0x0, 0xc000,
    0x6546, 0x4003, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xc0000000, 0x40036546, 0xc0000000, 0x40036546, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
    0x40036546c0000000, 0x40036546c0000000, 0x0, 0x0}, v2_int128 = {0x40036546c000000040036546c0000000, 0x00000000000000000000000000000000}}
ymm12          {v8_float = {0x15c28, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x7b, 0x14, 0xae, 0x47, 0xe1, 0x7a,
---Type <return> to continue, or q <return> to quit---
    0xa4, 0x3f, 0x0 <repeats 24 times>}, v16_int16 = {0x147b, 0x47ae, 0x7ae1, 0x3fa4, 0x0 <repeats 12 times>}, v8_int32 = {0x47ae147b, 0x3fa47ae1, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3fa47ae147ae147b, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000003fa47ae147ae147b,
    0x00000000000000000000000000000000}}
ymm13          {v8_float = {0x0, 0xc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x249ed8, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x0, 0x6c, 0x4f,
    0x42, 0x41, 0x0 <repeats 24 times>}, v16_int16 = {0x0, 0x0, 0x4f6c, 0x4142, 0x0 <repeats 12 times>}, v8_int32 = {0x0, 0x41424f6c, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0}, v4_int64 = {0x41424f6c00000000, 0x0, 0x0, 0x0}, v2_int128 = {0x000000000000000041424f6c00000000, 0x00000000000000000000000000000000}}
ymm14          {v8_float = {0x0, 0x6, 0x0, 0x6, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x6b77, 0x6b77, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x60, 0xf0, 0xdd,
    0xda, 0x40, 0x0, 0x0, 0x0, 0x60, 0xf0, 0xdd, 0xda, 0x40, 0x0 <repeats 16 times>}, v16_int16 = {0x0, 0x6000, 0xddf0, 0x40da, 0x0, 0x6000, 0xddf0,
    0x40da, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x60000000, 0x40daddf0, 0x60000000, 0x40daddf0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
    0x40daddf060000000, 0x40daddf060000000, 0x0, 0x0}, v2_int128 = {0x40daddf06000000040daddf060000000, 0x00000000000000000000000000000000}}
ymm15          {v8_float = {0x3, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x6, 0x0, 0x0, 0x0}, v32_int8 = {0x51, 0xbf, 0x68, 0x40, 0x36, 0x2a,
    0x1b, 0x40, 0x0 <repeats 24 times>}, v16_int16 = {0xbf51, 0x4068, 0x2a36, 0x401b, 0x0 <repeats 12 times>}, v8_int32 = {0x4068bf51, 0x401b2a36, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x401b2a364068bf51, 0x0, 0x0, 0x0}, v2_int128 = {0x0000000000000000401b2a364068bf51,
    0x00000000000000000000000000000000}}

report log

ffmpeg started on 2015-10-09 at 20:48:27
Report written to "ffmpeg-20151009-204827.log"
Command line:
ffmpeg_g -y -report -re -f lavfi -i "smptehdbars=size=320x180:r=25" -f lavfi -i "aevalsrc=0" -map 0:0 -map 1:0 -vcodec libx264 -preset medium -x264opts "keyint=25:min-keyint=25" -vb 800k -bufsize 2400k -r 25 -maxrate 1400k -profile:v main -level 3 -pix_fmt yuv420p -acodec libfdk_aac -cutoff 20000 -ac 2 -ar 44100 -ab 128k -flags +global_header -vtag 0x7 -f tee "[f=hls:bsfs/v=dump_extra:hls_time=3:hls_list_size=5:hls_flags=delete_segments]/tmp/bb.m3u8|[f=flv]/tmp/bb.flv"
ffmpeg version 2.8 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9)
  configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libx264 --enable-libzmq
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'lavfi'.
Reading option '-i' ... matched as input file with argument 'smptehdbars=size=320x180:r=25'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'lavfi'.
Reading option '-i' ... matched as input file with argument 'aevalsrc=0'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:0'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '1:0'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 'medium'.
Reading option '-x264opts' ... matched as AVOption 'x264opts' with argument 'keyint=25:min-keyint=25'.
Reading option '-vb' ... matched as AVOption 'vb' with argument '800k'.
Reading option '-bufsize' ... matched as AVOption 'bufsize' with argument '2400k'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '25'.
Reading option '-maxrate' ... matched as AVOption 'maxrate' with argument '1400k'.
Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'main'.
Reading option '-level' ... matched as AVOption 'level' with argument '3'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'libfdk_aac'.
Reading option '-cutoff' ... matched as AVOption 'cutoff' with argument '20000'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'.
Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a)) with argument '128k'.
Reading option '-flags' ... matched as AVOption 'flags' with argument '+global_header'.
Reading option '-vtag' ... matched as option 'vtag' (force video tag/fourcc) with argument '0x7'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'tee'.
Reading option '[f=hls:bsfs/v=dump_extra:hls_time=3:hls_list_size=5:hls_flags=delete_segments]/tmp/bb.m3u8|[f=flv]/tmp/bb.flv' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file smptehdbars=size=320x180:r=25.
Applying option re (read input at native frame rate) with argument 1.
Applying option f (force format) with argument lavfi.
Successfully parsed a group of options.
Opening an input file: smptehdbars=size=320x180:r=25.
detected 32 logical cores
[Parsed_smptehdbars_0 @ 0x2fb6d40] Setting 'size' to value '320x180'
[Parsed_smptehdbars_0 @ 0x2fb6d40] Setting 'r' to value '25'
[Parsed_smptehdbars_0 @ 0x2fb6d40] size:320x180 rate:25/1 duration:-1.000000 sar:1/1
[AVFilterGraph @ 0x2fb3ac0] query_formats: 2 queried, 1 merged, 0 already done, 0 delayed
[lavfi @ 0x2fb34a0] All info found
Input #0, lavfi, from 'smptehdbars=size=320x180:r=25':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0, 1, 1/25: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x180 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: input file aevalsrc=0.
Applying option f (force format) with argument lavfi.
Successfully parsed a group of options.
Opening an input file: aevalsrc=0.
[Parsed_aevalsrc_0 @ 0x2fe8280] compat: called with args=[0]
[Parsed_aevalsrc_0 @ 0x2fe8280] Setting 'exprs' to value '0'
[out @ 0x2fe85c0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_aevalsrc_0' and the filter 'out'
[AVFilterGraph @ 0x2fb3f80] query_formats: 2 queried, 0 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 0x2fea100] picking dbl out of 5 ref:dblp
[Parsed_aevalsrc_0 @ 0x2fe8280] sample_rate:44100 chlayout:mono duration:-1
[auto-inserted resampler 0 @ 0x2fea100] [SWR @ 0x2fea500] Using dblp internally between filters
[auto-inserted resampler 0 @ 0x2fea100] ch:1 chl:mono fmt:dblp r:44100Hz -> ch:1 chl:mono fmt:dbl r:44100Hz
[lavfi @ 0x2fe4ec0] All info found
Input #1, lavfi, from 'aevalsrc=0':
  Duration: N/A, start: 0.000000, bitrate: 2822 kb/s
    Stream #1:0, 1, 1/44100: Audio: pcm_f64le, 44100 Hz, mono, dbl, 2822 kb/s
Successfully opened the file.
Parsing a group of options: output file [f=hls:bsfs/v=dump_extra:hls_time=3:hls_list_size=5:hls_flags=delete_segments]/tmp/bb.m3u8|[f=flv]/tmp/bb.flv.
Applying option map (set input stream mapping) with argument 0:0.
Applying option map (set input stream mapping) with argument 1:0.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 25.
Applying option profile:v (set profile) with argument main.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument libfdk_aac.
Applying option ac (set number of audio channels) with argument 2.
Applying option ar (set audio sampling rate (in Hz)) with argument 44100.
Applying option ab (audio bitrate (please use -b:a)) with argument 128k.
Applying option vtag (force video tag/fourcc) with argument 0x7.
Applying option f (force format) with argument tee.
Successfully parsed a group of options.
Opening an output file: [f=hls:bsfs/v=dump_extra:hls_time=3:hls_list_size=5:hls_flags=delete_segments]/tmp/bb.m3u8|[f=flv]/tmp/bb.flv.
Successfully opened the file.
[graph 0 input from stream 0:0 @ 0x2fb2d00] Setting 'video_size' to value '320x180'
[graph 0 input from stream 0:0 @ 0x2fb2d00] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x2fb2d00] Setting 'time_base' to value '1/25'
[graph 0 input from stream 0:0 @ 0x2fb2d00] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x2fb2d00] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x2fb2d00] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x2fb2d00] w:320 h:180 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[format @ 0x2ffb6a0] compat: called with args=[yuv420p]
[format @ 0x2ffb6a0] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x2ffd380] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[graph 1 input from stream 1:0 @ 0x30007c0] Setting 'time_base' to value '1/44100'
[graph 1 input from stream 1:0 @ 0x30007c0] Setting 'sample_rate' to value '44100'
[graph 1 input from stream 1:0 @ 0x30007c0] Setting 'sample_fmt' to value 'dbl'
[graph 1 input from stream 1:0 @ 0x30007c0] Setting 'channel_layout' to value '0x4'
[graph 1 input from stream 1:0 @ 0x30007c0] tb:1/44100 samplefmt:dbl samplerate:44100 chlayout:0x4
[audio format for output stream 0:1 @ 0x30005c0] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:1 @ 0x30005c0] Setting 'sample_rates' to value '44100'
[audio format for output stream 0:1 @ 0x30005c0] Setting 'channel_layouts' to value '0x3'
[audio format for output stream 0:1 @ 0x30005c0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'
[AVFilterGraph @ 0x3001520] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 0x3004a60] [SWR @ 0x3005000] Using dblp internally between filters
0.707107 
0.707107 
[auto-inserted resampler 0 @ 0x3004a60] ch:1 chl:mono fmt:dbl r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
[libx264 @ 0x2ffac20] using mv_range_thread = 24
[libx264 @ 0x2ffac20] using SAR=1/1
[libx264 @ 0x2ffac20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x2ffac20] profile Main, level 3.0
[libx264 @ 0x2ffac20] 264 - core 146 r61 121396c - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=48 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=25 keyint_min=13 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1400 vbv_bufsize=2400 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[mpegts @ 0x3953180] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
[tee @ 0x2ff9960] spec:v bsfs:dump_extra matches stream 0 of slave output '/tmp/bb.m3u8'
[tee @ 0x2ff9960] filename:'/tmp/bb.m3u8' format:hls
[tee @ 0x2ff9960]     stream:0 codec:h264 type:video bsfs:dump_extra
[tee @ 0x2ff9960]     stream:1 codec:aac type:audio
[tee @ 0x2ff9960] filename:'/tmp/bb.flv' format:flv
[tee @ 0x2ff9960]     stream:0 codec:h264 type:video
[tee @ 0x2ff9960]     stream:1 codec:aac type:audio
Output #0, tee, to '[f=hls:bsfs/v=dump_extra:hls_time=3:hls_list_size=5:hls_flags=delete_segments]/tmp/bb.m3u8|[f=flv]/tmp/bb.flv':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0, 0, 1/25: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 320x180 [SAR 1:1 DAR 16:9], q=-1--1, 800 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 libx264
    Stream #0:1, 0, 1/44100: Audio: aac (libfdk_aac), 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      encoder         : Lavc56.60.100 libfdk_aac
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  Stream #1:0 -> #0:1 (pcm_f64le (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
Cliping frame in rate conversion by 0.000008
frame=   15 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A    
[libx264 @ 0x2ffac20] frame=   0 QP=10.20 NAL=3 Slice:I Poc:0   I:240  P:0    SKIP:0    size=1302 bytes
[libx264 @ 0x2ffac20] frame=   1 QP=5.00 NAL=2 Slice:P Poc:8   I:0    P:1    SKIP:239  size=22 bytes
[libx264 @ 0x2ffac20] frame=   2 QP=8.00 NAL=2 Slice:B Poc:4   I:0    P:1    SKIP:239  size=17 bytes
[libx264 @ 0x2ffac20] frame=   3 QP=9.00 NAL=0 Slice:B Poc:2   I:0    P:1    SKIP:239  size=17 bytes
[libx264 @ 0x2ffac20] frame=   4 QP=9.00 NAL=0 Slice:B Poc:6   I:0    P:0    SKIP:240  size=13 bytes
[libx264 @ 0x2ffac20] frame=   5 QP=5.00 NAL=2 Slice:P Poc:16  I:0    P:0    SKIP:240  size=23 bytes
[libx264 @ 0x2ffac20] frame=   6 QP=8.00 NAL=2 Slice:B Poc:12  I:0    P:0    SKIP:240  size=16 bytes
[libx264 @ 0x2ffac20] frame=   7 QP=9.00 NAL=0 Slice:B Poc:10  I:0    P:0    SKIP:240  size=13 bytes
[libx264 @ 0x2ffac20] frame=   8 QP=9.00 NAL=0 Slice:B Poc:14  I:0    P:0    SKIP:240  size=13 bytes
[libx264 @ 0x2ffac20] frame=   9 QP=5.00 NAL=2 Slice:P Poc:24  I:0    P:0    SKIP:240  size=23 bytes
[libx264 @ 0x2ffac20] frame=  10 QP=8.00 NAL=2 Slice:B Poc:20  I:0    P:0    SKIP:240  size=16 bytes
[libx264 @ 0x2ffac20] frame=  11 QP=9.00 NAL=0 Slice:B Poc:18  I:0    P:0    SKIP:240  size=13 bytes
[libx264 @ 0x2ffac20] frame=  12 QP=9.00 NAL=0 Slice:B Poc:22  I:0    P:0    SKIP:240  size=13 bytes
[libx264 @ 0x2ffac20] frame=  13 QP=5.00 NAL=2 Slice:P Poc:32  I:0    P:0    SKIP:240  size=23 bytes
[libx264 @ 0x2ffac20] frame=  14 QP=8.00 NAL=2 Slice:B Poc:28  I:0    P:0    SKIP:240  size=16 bytes
[libx264 @ 0x2ffac20] frame=  15 QP=9.00 NAL=0 Slice:B Poc:26  I:0    P:0    SKIP:240  size=13 bytes
[libx264 @ 0x2ffac20] frame=  16 QP=9.00 NAL=0 Slice:B Poc:30  I:0    P:0    SKIP:240  size=13 bytes
[libx264 @ 0x2ffac20] frame=  17 QP=6.00 NAL=2 Slice:P Poc:40  I:0    P:0    SKIP:240  size=23 bytes
[libx264 @ 0x2ffac20] frame=  18 QP=8.00 NAL=2 Slice:B Poc:36  I:0    P:0    SKIP:240  size=16 bytes
[libx264 @ 0x2ffac20] frame=  19 QP=9.00 NAL=0 Slice:B Poc:34  I:0    P:0    SKIP:240  size=13 bytes
[libx264 @ 0x2ffac20] frame=  20 QP=9.00 NAL=0 Slice:B Poc:38  I:0    P:0    SKIP:240  size=13 bytes
[libx264 @ 0x2ffac20] frame=  21 QP=9.00 NAL=2 Slice:P Poc:48  I:0    P:0    SKIP:240  size=22 bytes
[libx264 @ 0x2ffac20] frame=  22 QP=8.00 NAL=2 Slice:B Poc:44  I:0    P:0    SKIP:240  size=16 bytes
[libx264 @ 0x2ffac20] frame=  23 QP=9.00 NAL=0 Slice:B Poc:42  I:0    P:0    SKIP:240  size=13 bytes
[libx264 @ 0x2ffac20] frame=  24 QP=9.00 NAL=0 Slice:B Poc:46  I:0    P:0    SKIP:240  size=13 bytes
[libfdk_aac @ 0x2ffe7c0] Trying to remove 1024 samples, but the queue is empty
[libfdk_aac @ 0x2ffe7c0] Trying to remove 1024 more samples than there are in the queue
[tee @ 0x2ff9960] Encoder did not produce proper pts, making some up.

Change History (8)

comment:1 Changed 3 years ago by doubleb

ffmpeg version N-47809-gba0b4e5 does not produce this error

comment:2 Changed 3 years ago by doubleb

valgrind output
.
.
.
.
==16957== Invalid read of size 8/A time=00:00:00.00 bitrate=N/A
==16957== at 0xE1CDB3: av_freep (mem.c:247)
==16957== by 0x6B1053: av_packet_free_side_data (avpacket.c:275)
==16957== by 0x6B1053: av_free_packet (avpacket.c:295)
==16957== by 0x5FBAF3: av_interleaved_write_frame (mux.c:974)
==16957== by 0x6635E4: tee_write_packet (tee.c:485)
==16957== by 0x5FBD89: write_packet (mux.c:660)
==16957== by 0x5FBD89: av_interleaved_write_frame (mux.c:970)
==16957== by 0x48AC8F: write_frame (ffmpeg.c:787)
==16957== by 0x4907DC: do_audio_out (ffmpeg.c:865)
==16957== by 0x4907DC: reap_filters (ffmpeg.c:1398)
==16957== by 0x4731E5: transcode_step (ffmpeg.c:3939)
==16957== by 0x4731E5: transcode (ffmpeg.c:3982)
==16957== by 0x4731E5: main (ffmpeg.c:4165)
==16957== Address 0x6c806bc0 is 0 bytes inside a block of size 16 free'd
==16957== at 0x4C2AD17: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16957== by 0x6B1064: av_packet_free_side_data (avpacket.c:276)
==16957== by 0x6B1064: av_free_packet (avpacket.c:295)
==16957== by 0x66338D: filter_packet (tee.c:412)
==16957== by 0x66338D: tee_write_packet (tee.c:484)
==16957== by 0x5FBD89: write_packet (mux.c:660)
==16957== by 0x5FBD89: av_interleaved_write_frame (mux.c:970)
==16957== by 0x48AC8F: write_frame (ffmpeg.c:787)
==16957== by 0x4907DC: do_audio_out (ffmpeg.c:865)
==16957== by 0x4907DC: reap_filters (ffmpeg.c:1398)
==16957== by 0x4731E5: transcode_step (ffmpeg.c:3939)
==16957== by 0x4731E5: transcode (ffmpeg.c:3982)
==16957== by 0x4731E5: main (ffmpeg.c:4165)
==16957==
==16957== Invalid write of size 8
==16957== at 0xE1CDB6: av_freep (mem.c:248)
==16957== by 0x6B1053: av_packet_free_side_data (avpacket.c:275)
==16957== by 0x6B1053: av_free_packet (avpacket.c:295)
==16957== by 0x5FBAF3: av_interleaved_write_frame (mux.c:974)
==16957== by 0x6635E4: tee_write_packet (tee.c:485)
==16957== by 0x5FBD89: write_packet (mux.c:660)
==16957== by 0x5FBD89: av_interleaved_write_frame (mux.c:970)
==16957== by 0x48AC8F: write_frame (ffmpeg.c:787)
==16957== by 0x4907DC: do_audio_out (ffmpeg.c:865)
==16957== by 0x4907DC: reap_filters (ffmpeg.c:1398)
==16957== by 0x4731E5: transcode_step (ffmpeg.c:3939)
==16957== by 0x4731E5: transcode (ffmpeg.c:3982)
==16957== by 0x4731E5: main (ffmpeg.c:4165)
==16957== Address 0x6c806bc0 is 0 bytes inside a block of size 16 free'd
==16957== at 0x4C2AD17: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16957== by 0x6B1064: av_packet_free_side_data (avpacket.c:276)
==16957== by 0x6B1064: av_free_packet (avpacket.c:295)
==16957== by 0x66338D: filter_packet (tee.c:412)
==16957== by 0x66338D: tee_write_packet (tee.c:484)
==16957== by 0x5FBD89: write_packet (mux.c:660)
==16957== by 0x5FBD89: av_interleaved_write_frame (mux.c:970)
==16957== by 0x48AC8F: write_frame (ffmpeg.c:787)
==16957== by 0x4907DC: do_audio_out (ffmpeg.c:865)
==16957== by 0x4907DC: reap_filters (ffmpeg.c:1398)
==16957== by 0x4731E5: transcode_step (ffmpeg.c:3939)
==16957== by 0x4731E5: transcode (ffmpeg.c:3982)
==16957== by 0x4731E5: main (ffmpeg.c:4165)
==16957==
==16957== Invalid free() / delete / delete[] / realloc()
==16957== at 0x4C2AD17: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16957== by 0x6B1064: av_packet_free_side_data (avpacket.c:276)
==16957== by 0x6B1064: av_free_packet (avpacket.c:295)
==16957== by 0x5FBAF3: av_interleaved_write_frame (mux.c:974)
==16957== by 0x6635E4: tee_write_packet (tee.c:485)
==16957== by 0x5FBD89: write_packet (mux.c:660)
==16957== by 0x5FBD89: av_interleaved_write_frame (mux.c:970)
==16957== by 0x48AC8F: write_frame (ffmpeg.c:787)
==16957== by 0x4907DC: do_audio_out (ffmpeg.c:865)
==16957== by 0x4907DC: reap_filters (ffmpeg.c:1398)
==16957== by 0x4731E5: transcode_step (ffmpeg.c:3939)
==16957== by 0x4731E5: transcode (ffmpeg.c:3982)
==16957== by 0x4731E5: main (ffmpeg.c:4165)
==16957== Address 0x6c806bc0 is 0 bytes inside a block of size 16 free'd
==16957== at 0x4C2AD17: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16957== by 0x6B1064: av_packet_free_side_data (avpacket.c:276)
==16957== by 0x6B1064: av_free_packet (avpacket.c:295)
==16957== by 0x66338D: filter_packet (tee.c:412)
==16957== by 0x66338D: tee_write_packet (tee.c:484)
==16957== by 0x5FBD89: write_packet (mux.c:660)
==16957== by 0x5FBD89: av_interleaved_write_frame (mux.c:970)
==16957== by 0x48AC8F: write_frame (ffmpeg.c:787)
==16957== by 0x4907DC: do_audio_out (ffmpeg.c:865)
==16957== by 0x4907DC: reap_filters (ffmpeg.c:1398)
==16957== by 0x4731E5: transcode_step (ffmpeg.c:3939)
==16957== by 0x4731E5: transcode (ffmpeg.c:3982)
==16957== by 0x4731E5: main (ffmpeg.c:4165)
==16957==
==16957== Invalid read of size 8/A time=00:00:18.88 bitrate=N/A
==16957== at 0xE1CDB3: av_freep (mem.c:247)
==16957== by 0x6B1053: av_packet_free_side_data (avpacket.c:275)
==16957== by 0x6B1053: av_free_packet (avpacket.c:295)
==16957== by 0x5FC2E3: av_write_trailer (mux.c:1002)
==16957== by 0x6641CA: tee_write_trailer (tee.c:441)
==16957== by 0x5FC314: av_write_trailer (mux.c:1013)
==16957== by 0x473EE9: transcode (ffmpeg.c:4016)
==16957== by 0x473EE9: main (ffmpeg.c:4165)
==16957== Address 0x6a20540 is 0 bytes inside a block of size 16 free'd
==16957== at 0x4C2AD17: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16957== by 0x6B1064: av_packet_free_side_data (avpacket.c:276)
==16957== by 0x6B1064: av_free_packet (avpacket.c:295)
==16957== by 0x66338D: filter_packet (tee.c:412)
==16957== by 0x66338D: tee_write_packet (tee.c:484)
==16957== by 0x5FC43E: write_packet (mux.c:660)
==16957== by 0x5FC43E: av_write_trailer (mux.c:998)
==16957== by 0x473EE9: transcode (ffmpeg.c:4016)
==16957== by 0x473EE9: main (ffmpeg.c:4165)
==16957==
==16957== Invalid write of size 8
==16957== at 0xE1CDB6: av_freep (mem.c:248)
==16957== by 0x6B1053: av_packet_free_side_data (avpacket.c:275)
==16957== by 0x6B1053: av_free_packet (avpacket.c:295)
==16957== by 0x5FC2E3: av_write_trailer (mux.c:1002)
==16957== by 0x6641CA: tee_write_trailer (tee.c:441)
==16957== by 0x5FC314: av_write_trailer (mux.c:1013)
==16957== by 0x473EE9: transcode (ffmpeg.c:4016)
==16957== by 0x473EE9: main (ffmpeg.c:4165)
==16957== Address 0x6a20540 is 0 bytes inside a block of size 16 free'd
==16957== at 0x4C2AD17: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16957== by 0x6B1064: av_packet_free_side_data (avpacket.c:276)
==16957== by 0x6B1064: av_free_packet (avpacket.c:295)
==16957== by 0x66338D: filter_packet (tee.c:412)
==16957== by 0x66338D: tee_write_packet (tee.c:484)
==16957== by 0x5FC43E: write_packet (mux.c:660)
==16957== by 0x5FC43E: av_write_trailer (mux.c:998)
==16957== by 0x473EE9: transcode (ffmpeg.c:4016)
==16957== by 0x473EE9: main (ffmpeg.c:4165)
==16957==
==16957== Invalid free() / delete / delete[] / realloc()
==16957== at 0x4C2AD17: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16957== by 0x6B1064: av_packet_free_side_data (avpacket.c:276)
==16957== by 0x6B1064: av_free_packet (avpacket.c:295)
==16957== by 0x5FC2E3: av_write_trailer (mux.c:1002)
==16957== by 0x6641CA: tee_write_trailer (tee.c:441)
==16957== by 0x5FC314: av_write_trailer (mux.c:1013)
==16957== by 0x473EE9: transcode (ffmpeg.c:4016)
==16957== by 0x473EE9: main (ffmpeg.c:4165)
==16957== Address 0x6a20540 is 0 bytes inside a block of size 16 free'd
==16957== at 0x4C2AD17: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16957== by 0x6B1064: av_packet_free_side_data (avpacket.c:276)
==16957== by 0x6B1064: av_free_packet (avpacket.c:295)
==16957== by 0x66338D: filter_packet (tee.c:412)
==16957== by 0x66338D: tee_write_packet (tee.c:484)
==16957== by 0x5FC43E: write_packet (mux.c:660)
==16957== by 0x5FC43E: av_write_trailer (mux.c:998)
==16957== by 0x473EE9: transcode (ffmpeg.c:4016)
==16957== by 0x473EE9: main (ffmpeg.c:4165)
==16957==
.
.
.
.

==16957==
==16957== HEAP SUMMARY:
==16957== in use at exit: 40 bytes in 1 blocks
==16957== total heap usage: 47,498 allocs, 47,520 frees, 209,569,602 bytes allocated
==16957==
==16957== LEAK SUMMARY:
==16957== definitely lost: 0 bytes in 0 blocks
==16957== indirectly lost: 0 bytes in 0 blocks
==16957== possibly lost: 0 bytes in 0 blocks
==16957== still reachable: 40 bytes in 1 blocks
==16957== suppressed: 0 bytes in 0 blocks
==16957== Rerun with --leak-check=full to see details of leaked memory
==16957==

comment:3 Changed 3 years ago by cehoyos

  • Keywords crash abort regression added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:4 Changed 3 years ago by doubleb

I made some further testings and concluded that the problem relates to using bit stream filter in tee muxer.

comment:6 Changed 3 years ago by doubleb

I submitted a possible fix to the devel mailing list.

comment:7 Changed 3 years ago by doubleb

Sorry George, I did not see your fix. I concluded almost the same solution. :)

comment:8 Changed 2 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed

Fixed with nicolas/doubleb patch in 1acc90eaa54ad82a21474ed759b8ed3a0f3d482d
btw, if patches like this arent applied for ages, someone please ping it or something

Note: See TracTickets for help on using tickets.