[FFmpeg-devel] [PATCH] ffmpeg: make reading packets from thread blocking.

Michael Niedermayer michaelni at gmx.at
Wed Oct 30 16:06:09 CET 2013


On Wed, Oct 30, 2013 at 03:52:32PM +0100, Michael Niedermayer wrote:
> On Wed, Oct 30, 2013 at 03:35:37PM +0100, Michael Niedermayer wrote:
> > On Wed, Oct 30, 2013 at 02:44:52PM +0100, Nicolas George wrote:
> > > Le nonidi 9 brumaire, an CCXXII, Michael Niedermayer a écrit :
> > > > this code deadlocked 1 out of 2 make -j12 fate
> > > 
> > > I did not manage to reproduce it even once. With how many cores /
> > > hyperthreads does it happen?
> > 
> > 6 physical cores 12 logical ones
> > 
> > 
> > > Do you happen to remember the test(s) that got
> > > stuck?
> > 
> > sadly not but i could reproduce it here again stuck in
> > fate-filter-amix-transition
> > but even running that 100 times shows no deadlock, seems it happens
> > only in a full fate run for me
> > 
> > 
> > 
> > also from looking at the code i see that finished could get set
> > while the other thread is waiting, i didnt check if that would deadlock
> > though
> > also iam not sure that fifo_cond should be reused
> 
> i managed to make it happen with a binary with debug symbols in it:
> (gdb) thread apply all bt
> 
> Thread 15 (Thread 0x2ad0d6cf4700 (LWP 31775)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d6cf4700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 14 (Thread 0x2ad0d6ef5700 (LWP 31776)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d6ef5700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 13 (Thread 0x2ad0d70f6700 (LWP 31777)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d70f6700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 12 (Thread 0x2ad0d72f7700 (LWP 31778)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d72f7700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 11 (Thread 0x2ad0d74f8700 (LWP 31780)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d74f8700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 10 (Thread 0x2ad0d76f9700 (LWP 31781)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d76f9700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 9 (Thread 0x2ad0d78fa700 (LWP 31782)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d78fa700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 8 (Thread 0x2ad0d7afb700 (LWP 31783)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d7afb700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 7 (Thread 0x2ad0d7cfc700 (LWP 31784)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d7cfc700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 6 (Thread 0x2ad0d7efd700 (LWP 31785)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d7efd700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 5 (Thread 0x2ad0d80fe700 (LWP 31786)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d80fe700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 4 (Thread 0x2ad0d82ff700 (LWP 31787)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> ---Type <return> to continue, or q <return> to quit---
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d82ff700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 3 (Thread 0x2ad0d8500700 (LWP 31788)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x00000000004ab4eb in worker (v=0x2566f00) at libavfilter/pthread.c:81
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d8500700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 2 (Thread 0x2ad0d8701700 (LWP 31805)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x000000000048213b in input_thread (arg=0x246bf60) at ffmpeg.c:2799
> #2  0x00002ad0d2e05e9a in start_thread (arg=0x2ad0d8701700) at pthread_create.c:308
> #3  0x00002ad0d310eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #4  0x0000000000000000 in ?? ()
> 
> Thread 1 (Thread 0x2ad0d6af16c0 (LWP 31721)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1  0x0000000000488573 in get_input_packet_mt (pkt=0x7fff6bf8bb90, f=0x2566d20) at ffmpeg.c:2893
> #2  get_input_packet (pkt=0x7fff6bf8bb90, f=0x2566d20) at ffmpeg.c:2918
> #3  process_input (file_index=1) at ffmpeg.c:2957
> #4  0x000000000047745e in transcode_step () at ffmpeg.c:3227
> #5  transcode () at ffmpeg.c:3279
> #6  main (argc=<optimized out>, argv=<optimized out>) at ffmpeg.c:3457


heres one without optimizations:

Thread 53 (Thread 0x2b930cc6b700 (LWP 30170)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930cc6b700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 52 (Thread 0x2b930ce6c700 (LWP 30171)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930ce6c700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 51 (Thread 0x2b930d06d700 (LWP 30172)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930d06d700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 50 (Thread 0x2b930d26e700 (LWP 30173)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930d26e700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 49 (Thread 0x2b930d46f700 (LWP 30174)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930d46f700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 48 (Thread 0x2b930d670700 (LWP 30175)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930d670700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 47 (Thread 0x2b930d871700 (LWP 30176)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930d871700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 46 (Thread 0x2b930da72700 (LWP 30177)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930da72700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 45 (Thread 0x2b930dc73700 (LWP 30178)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930dc73700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 44 (Thread 0x2b930de74700 (LWP 30179)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930de74700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 43 (Thread 0x2b930e075700 (LWP 30180)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930e075700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 42 (Thread 0x2b930e276700 (LWP 30181)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
---Type <return> to continue, or q <return> to quit---
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930e276700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 41 (Thread 0x2b930e477700 (LWP 30182)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cbfc40) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930e477700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 40 (Thread 0x2b930e6ee700 (LWP 30215)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930e6ee700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 39 (Thread 0x2b930e8ef700 (LWP 30216)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930e8ef700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 38 (Thread 0x2b930eaf0700 (LWP 30217)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930eaf0700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 37 (Thread 0x2b930ecf1700 (LWP 30218)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930ecf1700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 36 (Thread 0x2b930eef2700 (LWP 30219)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930eef2700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 35 (Thread 0x2b930f0f3700 (LWP 30220)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930f0f3700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 34 (Thread 0x2b930f2f4700 (LWP 30221)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930f2f4700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 33 (Thread 0x2b930f4f5700 (LWP 30222)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930f4f5700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 32 (Thread 0x2b930f6f6700 (LWP 30223)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930f6f6700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 31 (Thread 0x2b930f8f7700 (LWP 30224)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930f8f7700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
---Type <return> to continue, or q <return> to quit---
#4  0x0000000000000000 in ?? ()

Thread 30 (Thread 0x2b930faf8700 (LWP 30225)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930faf8700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 29 (Thread 0x2b930fcf9700 (LWP 30226)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930fcf9700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 28 (Thread 0x2b930fefa700 (LWP 30227)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2cdc1c0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b930fefa700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 27 (Thread 0x2b93100fb700 (LWP 30228)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b93100fb700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 26 (Thread 0x2b93102fc700 (LWP 30229)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b93102fc700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 25 (Thread 0x2b93104fd700 (LWP 30230)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b93104fd700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 24 (Thread 0x2b93106fe700 (LWP 30231)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b93106fe700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 23 (Thread 0x2b93108ff700 (LWP 30232)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b93108ff700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 22 (Thread 0x2b9310b00700 (LWP 30233)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9310b00700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 21 (Thread 0x2b9310d01700 (LWP 30234)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9310d01700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 20 (Thread 0x2b9310f02700 (LWP 30235)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9310f02700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 19 (Thread 0x2b9311103700 (LWP 30236)):
---Type <return> to continue, or q <return> to quit---
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9311103700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x2b9311304700 (LWP 30237)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9311304700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x2b9311505700 (LWP 30238)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9311505700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x2b9311706700 (LWP 30239)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9311706700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x2b9311907700 (LWP 30240)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2caab20) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9311907700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x2b9311b08700 (LWP 30241)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9311b08700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x2b9311d09700 (LWP 30242)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9311d09700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x2b9311f0a700 (LWP 30243)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9311f0a700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x2b931210b700 (LWP 30244)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b931210b700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x2b931230c700 (LWP 30245)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b931230c700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x2b931250d700 (LWP 30246)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b931250d700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x2b931270e700 (LWP 30247)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b931270e700) at pthread_create.c:308
---Type <return> to continue, or q <return> to quit---
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x2b931290f700 (LWP 30248)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b931290f700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x2b9312b10700 (LWP 30249)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9312b10700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x2b9312d11700 (LWP 30250)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9312d11700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x2b9312f12700 (LWP 30251)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9312f12700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x2b9313113700 (LWP 30252)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9313113700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x2b9313314700 (LWP 30253)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000459ccd in worker (v=0x2ca59a0) at libavfilter/pthread.c:81
#2  0x00002b9308d7ce9a in start_thread (arg=0x2b9313314700) at pthread_create.c:308
#3  0x00002b9309086ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x2b930ca68940 (LWP 30169)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000000000429b7b in get_input_packet_mt (f=0x2cc5600, pkt=0x7fffb5a73310) at ffmpeg.c:2893
#2  0x0000000000429c4b in get_input_packet (f=0x2cc5600, pkt=0x7fffb5a73310) at ffmpeg.c:2918
#3  0x0000000000429d99 in process_input (file_index=0) at ffmpeg.c:2957
#4  0x000000000042b6ea in transcode_step () at ffmpeg.c:3227
#5  0x000000000042b7f7 in transcode () at ffmpeg.c:3279
#6  0x000000000042bd22 in main (argc=29, argv=0x7fffb5a73938) at ffmpeg.c:3457


[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131030/4f3d5691/attachment.asc>


More information about the ffmpeg-devel mailing list