[FFmpeg-cvslog] avcodec/ff_init_vlc_sparse: use a spinlock for thread sync

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jun 17 02:12:48 CEST 2014


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > >> avcodec/ff_init_vlc_sparse: use a spinlock for thread sync
> > > 
> > > This commit leads to many deadlocks when running fate 
> > > on AIX PPC64, for example when reading the mp2 file 
> > > produced by fate-acodec-mp2.
> 
> should be fixed

fate-acodec-mp2 and many others are fixed, 
ffprobe still deadlocks on start:
(gdb) r
Starting program: ffprobe_g
[New Thread 1]
^C
Program received signal SIGINT, Interrupt.
[Switching to Thread 1]
0x00000001000ac980 in avcodec_register (codec=<error reading variable>) at 
_start_ :268
268      _start_ : A file or directory in the path name does not exist..
(gdb) bt
#0  0x00000001000ac980 in avcodec_register (codec=<error reading variable>)
at  _start_ :268
#1  0x000000010044a6f0 in avcodec_register_all () at libavcodec/allcodecs.c:100
#2  0x00000001002e0d90 in av_register_all () at libavformat/allformats.c:59
#3  0x00000001000005d0 in main (argc=<error reading variable>, argv=<error
reading variable>)
    at  _start_ :2919

Carl Eugen



More information about the ffmpeg-cvslog mailing list