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

Michael Niedermayer michaelni at gmx.at
Wed Oct 30 15:35:37 CET 2013


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

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- 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/8788b921/attachment.asc>


More information about the ffmpeg-devel mailing list