x86_64-archlinux-gcc-valgrind-threads N-59766-ge11983b

Architecturex86
Variantx86_64
CPUgeneric
OSlinux
Ownerubitux
Compilergcc 4.8.2 (GCC)
Configuration--prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning
CommentHelgrind (threads=2)
RevisionN-59766-ge11983b
DateSat Jan 11 23:28:49 2014
Status1071 / 1829
Warnings158
Logscompile configure test
758 failed testsStatusLast good rev
diffstderracodec-alac1N-53857-g702c1bf
--- /home/ux/fate/ffmpeg/tests/ref/acodec/alac 2013-08-23 15:09:25.444189617 +0200 +++ tests/data/fate/acodec-alac 2014-01-11 22:48:12.702381107 +0100 @@ -1,4 +1,2 @@ 8d9fb9f5433962e7880b666e6e2e428e *tests/data/fate/acodec-alac.mov 389018 tests/data/fate/acodec-alac.mov -64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-alac.out.wav -stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
==16039== Helgrind, a thread error detector ==16039== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==16039== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==16039== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -f wav -threads 2 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -threads 2 -thread_type frame+slice -i /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/asynth-44100-2.wav -threads 1 -idct simple -dct fastint -b 128k -c alac -compression_level 1 -flags +bitexact -sws_flags +accurate_rnd+bitexact -f mov -y /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.mov ==16039== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, wav, from '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/asynth-44100-2.wav': Duration: 00:00:06.00, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Codec AVOption idct (select IDCT implementation) specified for input file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/asynth-44100-2.wav) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream. Please use -b:a or -b:v, -b is ambiguous Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.mov) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Codec AVOption idct (select IDCT implementation) specified for output file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.mov) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Codec AVOption dct (DCT algorithm) specified for output file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.mov) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Output #0, mov, to '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.mov': Stream #0:0: Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (pcm_s16le -> alac) Press [q] to stop, [?] for help size= 380kB time=00:00:06.03 bitrate= 515.5kbits/s video:0kB audio:379kB subtitle:0 global headers:0kB muxing overhead 0.248677% ==16039== ==16039== For counts of detected and suppressed errors, rerun with: -v ==16039== Use --history-level=approx or =none to gain increased speed, at ==16039== the cost of reduced accuracy of conflicting-access information ==16039== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==16090== Helgrind, a thread error detector ==16090== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==16090== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==16090== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -threads 2 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -threads 2 -thread_type frame+slice -i /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.mov -threads 1 -idct simple -dct fastint -c pcm_s16le -flags +bitexact -sws_flags +accurate_rnd+bitexact -f wav -y /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.out.wav ==16090== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt Duration: 00:00:06.00, start: 0.000000, bitrate: 518 kb/s Stream #0:0(eng): Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 517 kb/s (default) Metadata: handler_name : DataHandler Codec AVOption idct (select IDCT implementation) specified for input file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.mov) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream. Codec AVOption dct (DCT algorithm) specified for output file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.out.wav) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Codec AVOption idct (select IDCT implementation) specified for output file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.out.wav) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Output #0, wav, to '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-alac.out.wav': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s (default) Metadata: handler_name : DataHandler Stream mapping: Stream #0:0 -> #0:0 (alac -> pcm_s16le) Press [q] to stop, [?] for help ==16090== ---Thread-Announcement------------------------------------------ ==16090== ==16090== Thread #3 was created ==16090== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==16090== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==16090== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==16090== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== ---Thread-Announcement------------------------------------------ ==16090== ==16090== Thread #1 is the program's root thread ==16090== ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 8 at 0x766B040 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0xBA43D8: av_buffer_pool_get (buffer.c:346) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== This conflicts with a previous write of size 8 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==16090== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== ==16090== Address 0x766B040 is 32 bytes inside a block of size 40 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x766B040 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== This conflicts with a previous write of size 8 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==16090== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== ==16090== Address 0x766B040 is 32 bytes inside a block of size 40 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 2 at 0x765FC20 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xA9AED3: alac_decode_frame (alac.c:397) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== This conflicts with a previous read of size 2 by thread #1 ==16090== Locks held: none ==16090== at 0xB575BD: ??? (audio_convert.asm:390) ==16090== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==16090== by 0xB5038E: swr_convert (swresample.c:623) ==16090== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== ==16090== Address 0x765FC20 is 0 bytes inside a block of size 8192 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16090== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A68 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 4 at 0x7671B18 by thread #1 ==16090== Locks held: 1, at address 0x7671888 ==16090== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous write of size 4 by thread #3 ==16090== Locks held: 2, at addresses 0x7671A40 0x7671A68 ==16090== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7671B18 is 824 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A68 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 4 at 0x7671B18 by thread #1 ==16090== Locks held: none ==16090== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous write of size 4 by thread #3 ==16090== Locks held: 2, at addresses 0x7671A40 0x7671A68 ==16090== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7671B18 is 824 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 8 at 0x76690A0 by thread #1 ==16090== Locks held: none ==16090== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==16090== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous write of size 8 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xBAB728: av_frame_unref (frame.c:94) ==16090== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x76690A0 is 0 bytes inside a block of size 624 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBAB48A: av_frame_alloc (frame.c:112) ==16090== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 4 at 0x76690E0 by thread #1 ==16090== Locks held: none ==16090== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==16090== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous write of size 8 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xBAB728: av_frame_unref (frame.c:94) ==16090== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x76690E0 is 64 bytes inside a block of size 624 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBAB48A: av_frame_alloc (frame.c:112) ==16090== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x76690A0 by thread #1 ==16090== Locks held: none ==16090== at 0xBABC98: av_frame_move_ref (frame.c:384) ==16090== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous read of size 8 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xA9AEBA: alac_decode_frame (alac.c:395) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x76690A0 is 0 bytes inside a block of size 624 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBAB48A: av_frame_alloc (frame.c:112) ==16090== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 4 at 0x76690E0 by thread #1 ==16090== Locks held: none ==16090== at 0xBABC98: av_frame_move_ref (frame.c:384) ==16090== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous write of size 8 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xBAB728: av_frame_unref (frame.c:94) ==16090== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x76690E0 is 64 bytes inside a block of size 624 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBAB48A: av_frame_alloc (frame.c:112) ==16090== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 4 at 0x7671B10 by thread #1 ==16090== Locks held: none ==16090== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous write of size 4 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7671B10 is 816 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 4 at 0x7671B10 by thread #1 ==16090== Locks held: none ==16090== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous write of size 4 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7671B10 is 816 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 4 at 0x7671B14 by thread #1 ==16090== Locks held: none ==16090== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous write of size 4 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7671B14 is 820 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 2 at 0x765FC20 by thread #1 ==16090== Locks held: none ==16090== at 0xB575B4: ??? (audio_convert.asm:390) ==16090== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==16090== by 0xB5038E: swr_convert (swresample.c:623) ==16090== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== This conflicts with a previous write of size 2 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xA9AED3: alac_decode_frame (alac.c:397) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x765FC20 is 0 bytes inside a block of size 8192 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16090== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 2 at 0x7658200 by thread #1 ==16090== Locks held: none ==16090== at 0xB575BD: ??? (audio_convert.asm:390) ==16090== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==16090== by 0xB5038E: swr_convert (swresample.c:623) ==16090== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== This conflicts with a previous write of size 2 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xA9AED3: alac_decode_frame (alac.c:397) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7658200 is 0 bytes inside a block of size 8192 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16090== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 2 at 0x765FC40 by thread #1 ==16090== Locks held: none ==16090== at 0xB575D9: ??? (audio_convert.asm:390) ==16090== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==16090== by 0xB5038E: swr_convert (swresample.c:623) ==16090== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== This conflicts with a previous write of size 2 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xA9AED3: alac_decode_frame (alac.c:397) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x765FC40 is 32 bytes inside a block of size 8192 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16090== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Possible data race during read of size 8 at 0x766AE80 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3D31: av_buffer_unref (buffer.c:111) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== Address 0x766AE80 is 0 bytes inside a block of size 24 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA44C0: av_buffer_pool_get (buffer.c:47) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Possible data race during read of size 4 at 0x766ACEC by thread #1 ==16090== Locks held: none ==16090== at 0xBA3D43: av_buffer_unref (buffer.c:114) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== Address 0x766ACEC is 12 bytes inside a block of size 40 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4492: av_buffer_pool_get (buffer.c:34) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Possible data race during read of size 8 at 0x766ACF8 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3D55: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== Address 0x766ACF8 is 24 bytes inside a block of size 40 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4492: av_buffer_pool_get (buffer.c:34) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Possible data race during read of size 8 at 0x766ACE0 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3D59: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== Address 0x766ACE0 is 0 bytes inside a block of size 40 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4492: av_buffer_pool_get (buffer.c:34) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Possible data race during read of size 8 at 0x766ACF0 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3D5C: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== Address 0x766ACF0 is 16 bytes inside a block of size 40 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4492: av_buffer_pool_get (buffer.c:34) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 8 at 0x766B040 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3A80: pool_release_buffer (buffer.c:273) ==16090== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== ==16090== This conflicts with a previous write of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== ==16090== Address 0x766B040 is 32 bytes inside a block of size 40 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x766ADE0 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==16090== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== ==16090== This conflicts with a previous write of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== ==16090== Address 0x766ADE0 is 32 bytes inside a block of size 40 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x7668DE0 by thread #1 ==16090== Locks held: none ==16090== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous read of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0x9604C9: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668DE0 is 544 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x7668DC8 by thread #1 ==16090== Locks held: none ==16090== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous read of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0x960273: ff_get_buffer (utils.c:857) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668DC8 is 520 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x7668C18 by thread #1 ==16090== Locks held: none ==16090== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous read of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0x475A90: get_buffer (ffmpeg.c:2056) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668C18 is 88 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 4 at 0x7668EC4 by thread #1 ==16090== Locks held: none ==16090== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous read of size 4 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668EC4 is 772 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x7668ED0 by thread #1 ==16090== Locks held: none ==16090== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous read of size 8 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0x95FF5B: ff_init_buffer_info (utils.c:763) ==16090== by 0x8C5D9A: ff_thread_get_buffer (pthread_frame.c:764) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668ED0 is 784 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 4 at 0x7668F54 by thread #1 ==16090== Locks held: none ==16090== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== This conflicts with a previous read of size 4 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0x8C5DC0: ff_thread_get_buffer (pthread_frame.c:770) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668F54 is 916 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Possible data race during read of size 8 at 0x766B278 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3A84: pool_release_buffer (buffer.c:288) ==16090== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== ==16090== Address 0x766B278 is 24 bytes inside a block of size 40 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 8 at 0x766B040 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3AEC: pool_release_buffer (buffer.c:280) ==16090== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== ==16090== This conflicts with a previous write of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== ==16090== Address 0x766B040 is 32 bytes inside a block of size 40 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==16090== ---Thread-Announcement------------------------------------------ ==16090== ==16090== Thread #2 was created ==16090== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==16090== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==16090== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==16090== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 8 at 0x766B040 by thread #2 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671888 ==16090== at 0xBA43E5: av_buffer_pool_get (buffer.c:273) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== This conflicts with a previous write of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== ==16090== Address 0x766B040 is 32 bytes inside a block of size 40 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x76718B0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 4 at 0x7671960 by thread #2 ==16090== Locks held: 2, at addresses 0x7671888 0x76718B0 ==16090== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== This conflicts with a previous read of size 4 by thread #1 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x4653EC: main (ffmpeg.c:1904) ==16090== ==16090== Address 0x7671960 is 384 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 8 at 0x765FC20 by thread #1 ==16090== Locks held: none ==16090== at 0xB575B4: ??? (audio_convert.asm:390) ==16090== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==16090== by 0xB5038E: swr_convert (swresample.c:623) ==16090== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== This conflicts with a previous write of size 2 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xA9AED3: alac_decode_frame (alac.c:397) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x765FC20 is 0 bytes inside a block of size 8192 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16090== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 8 at 0x7658200 by thread #1 ==16090== Locks held: none ==16090== at 0xB575BD: ??? (audio_convert.asm:390) ==16090== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==16090== by 0xB5038E: swr_convert (swresample.c:623) ==16090== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== This conflicts with a previous write of size 2 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xA9AED3: alac_decode_frame (alac.c:397) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7658200 is 0 bytes inside a block of size 8192 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16090== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 8 at 0x765FC40 by thread #1 ==16090== Locks held: none ==16090== at 0xB575D9: ??? (audio_convert.asm:390) ==16090== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==16090== by 0xB5038E: swr_convert (swresample.c:623) ==16090== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== This conflicts with a previous write of size 2 by thread #3 ==16090== Locks held: 1, at address 0x7671A40 ==16090== at 0xA9AED3: alac_decode_frame (alac.c:397) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x765FC40 is 32 bytes inside a block of size 8192 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16090== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x766D4A0 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3B33: pool_release_buffer (buffer.c:228) ==16090== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== ==16090== This conflicts with a previous read of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0xBA42DF: av_buffer_pool_get (buffer.c:252) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== ==16090== Address 0x766D4A0 is 0 bytes inside a block of size 32 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==16090== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x7668DE0 by thread #1 ==16090== Locks held: none ==16090== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16090== by 0x463FF4: main (ffmpeg.c:3059) ==16090== ==16090== This conflicts with a previous read of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0x9604C9: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668DE0 is 544 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x7668DC8 by thread #1 ==16090== Locks held: none ==16090== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16090== by 0x463FF4: main (ffmpeg.c:3059) ==16090== ==16090== This conflicts with a previous read of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0x960273: ff_get_buffer (utils.c:857) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668DC8 is 520 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x7668C18 by thread #1 ==16090== Locks held: none ==16090== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16090== by 0x463FF4: main (ffmpeg.c:3059) ==16090== ==16090== This conflicts with a previous read of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0x475A90: get_buffer (ffmpeg.c:2056) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668C18 is 88 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 4 at 0x7668EC4 by thread #1 ==16090== Locks held: none ==16090== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16090== by 0x463FF4: main (ffmpeg.c:3059) ==16090== ==16090== This conflicts with a previous read of size 4 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668EC4 is 772 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 8 at 0x7668ED0 by thread #1 ==16090== Locks held: none ==16090== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16090== by 0x463FF4: main (ffmpeg.c:3059) ==16090== ==16090== This conflicts with a previous read of size 8 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0x96024D: ff_get_buffer (utils.c:763) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668ED0 is 784 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7670BB0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x7671A40 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 4 at 0x7668F54 by thread #1 ==16090== Locks held: none ==16090== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16090== by 0x463FF4: main (ffmpeg.c:3059) ==16090== ==16090== This conflicts with a previous read of size 4 by thread #3 ==16090== Locks held: 2, at addresses 0x7670BB0 0x7671A40 ==16090== at 0x8C5E28: ff_thread_get_buffer (pthread_frame.c:788) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7668F54 is 916 bytes inside a block of size 1072 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x76718B0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 4 at 0x7671960 by thread #1 ==16090== Locks held: none ==16090== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16090== by 0x463FF4: main (ffmpeg.c:3059) ==16090== ==16090== This conflicts with a previous write of size 4 by thread #2 ==16090== Locks held: 2, at addresses 0x7671888 0x76718B0 ==16090== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7671960 is 384 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 4 at 0x7671958 by thread #1 ==16090== Locks held: none ==16090== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16090== by 0x463FF4: main (ffmpeg.c:3059) ==16090== ==16090== This conflicts with a previous write of size 4 by thread #2 ==16090== Locks held: 1, at address 0x7671888 ==16090== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7671958 is 376 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 4 at 0x7671958 by thread #1 ==16090== Locks held: none ==16090== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16090== by 0x463FF4: main (ffmpeg.c:3059) ==16090== ==16090== This conflicts with a previous write of size 4 by thread #2 ==16090== Locks held: 1, at address 0x7671888 ==16090== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7671958 is 376 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 4 at 0x767195C by thread #1 ==16090== Locks held: none ==16090== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==16090== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16090== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16090== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16090== by 0x463FF4: main (ffmpeg.c:3059) ==16090== ==16090== This conflicts with a previous write of size 4 by thread #2 ==16090== Locks held: 1, at address 0x7671888 ==16090== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x767195C is 380 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 2 at 0x7662FE0 by thread #1 ==16090== Locks held: none ==16090== at 0xB51B18: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==16090== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==16090== by 0xB5038E: swr_convert (swresample.c:623) ==16090== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== This conflicts with a previous write of size 2 by thread #2 ==16090== Locks held: 1, at address 0x7671888 ==16090== at 0xA9AED3: alac_decode_frame (alac.c:397) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7662FE0 is 4896 bytes inside a block of size 4928 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16090== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 2 at 0x7662FE2 by thread #1 ==16090== Locks held: none ==16090== at 0xB51B20: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==16090== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==16090== by 0xB5038E: swr_convert (swresample.c:623) ==16090== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== This conflicts with a previous write of size 2 by thread #2 ==16090== Locks held: 1, at address 0x7671888 ==16090== at 0xA9AED3: alac_decode_frame (alac.c:397) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7662FE2 is 4898 bytes inside a block of size 4928 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16090== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 2 at 0x7662FE4 by thread #1 ==16090== Locks held: none ==16090== at 0xB51B2A: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==16090== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==16090== by 0xB5038E: swr_convert (swresample.c:623) ==16090== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== This conflicts with a previous write of size 2 by thread #2 ==16090== Locks held: 1, at address 0x7671888 ==16090== at 0xA9AED3: alac_decode_frame (alac.c:397) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7662FE4 is 4900 bytes inside a block of size 4928 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16090== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 2 at 0x7662FE6 by thread #1 ==16090== Locks held: none ==16090== at 0xB51B34: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==16090== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==16090== by 0xB5038E: swr_convert (swresample.c:623) ==16090== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==16090== ==16090== This conflicts with a previous write of size 2 by thread #2 ==16090== Locks held: 1, at address 0x7671888 ==16090== at 0xA9AED3: alac_decode_frame (alac.c:397) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7662FE6 is 4902 bytes inside a block of size 4928 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB13F9: av_malloc (mem.c:94) ==16090== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16090== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16090== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Possible data race during read of size 8 at 0x76743A0 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3AA3: pool_release_buffer (atomic_gcc.h:57) ==16090== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== ==16090== Address 0x76743A0 is 0 bytes inside a block of size 32 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==16090== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Possible data race during read of size 4 at 0x76743A8 by thread #1 ==16090== Locks held: none ==16090== at 0xBA3AF7: pool_release_buffer (buffer.c:294) ==16090== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16090== by 0xBAB68C: av_frame_unref (frame.c:369) ==16090== by 0xBAB825: av_frame_free (frame.c:128) ==16090== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==16090== by 0x489318: ff_filter_frame (avfilter.c:1161) ==16090== by 0x48DA31: request_frame (buffersrc.c:488) ==16090== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==16090== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==16090== ==16090== Address 0x76743A8 is 8 bytes inside a block of size 32 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==16090== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==16090== by 0x9604CE: ff_get_buffer (utils.c:965) ==16090== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16090== by 0xA9A104: alac_decode_frame (alac.c:294) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } size= 1034kB time=00:00:06.00 bitrate=1411.3kbits/s video:0kB audio:1034kB subtitle:0 global headers:0kB muxing overhead 0.004346% ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x766D580 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16090== by 0x965580: avcodec_open2 (utils.c:3284) ==16090== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16090== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16090== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16090== by 0x462EE7: main (ffmpeg.c:3522) ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Lock at 0x76718B0 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during read of size 4 at 0x7671960 by thread #1 ==16090== Locks held: 1, at address 0x766D580 ==16090== at 0x8C4F5F: ff_frame_thread_free (pthread_frame.c:540) ==16090== by 0x440857: avcodec_close (utils.c:2587) ==16090== by 0x463712: main (ffmpeg.c:3413) ==16090== ==16090== This conflicts with a previous write of size 4 by thread #2 ==16090== Locks held: 2, at addresses 0x7671888 0x76718B0 ==16090== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7671960 is 384 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x766D580 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16090== by 0x965580: avcodec_open2 (utils.c:3284) ==16090== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16090== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16090== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16090== by 0x462EE7: main (ffmpeg.c:3522) ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 4 at 0x7671958 by thread #1 ==16090== Locks held: 1, at address 0x766D580 ==16090== at 0x8C4F4C: ff_frame_thread_free (pthread_frame.c:546) ==16090== by 0x440857: avcodec_close (utils.c:2587) ==16090== by 0x463712: main (ffmpeg.c:3413) ==16090== ==16090== This conflicts with a previous write of size 4 by thread #2 ==16090== Locks held: 1, at address 0x7671888 ==16090== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==16090== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7671958 is 376 bytes inside a block of size 880 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16090== ---------------------------------------------------------------- ==16090== ==16090== Lock at 0x766D580 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16090== by 0x965580: avcodec_open2 (utils.c:3284) ==16090== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16090== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16090== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16090== by 0x462EE7: main (ffmpeg.c:3522) ==16090== ==16090== Lock at 0x7671888 was first observed ==16090== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== ==16090== Possible data race during write of size 4 at 0x7670BE4 by thread #1 ==16090== Locks held: 1, at address 0x766D580 ==16090== at 0x8C513E: ff_frame_thread_free (pthread_frame.c:565) ==16090== by 0x440857: avcodec_close (utils.c:2587) ==16090== by 0x463712: main (ffmpeg.c:3413) ==16090== ==16090== This conflicts with a previous read of size 4 by thread #2 ==16090== Locks held: 1, at address 0x7671888 ==16090== at 0x8C410C: frame_worker_thread (pthread_frame.c:143) ==16090== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16090== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16090== ==16090== Address 0x7670BE4 is 68 bytes inside a block of size 72 alloc'd ==16090== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16090== by 0xBB16DF: av_mallocz (mem.c:94) ==16090== by 0x8C5415: ff_frame_thread_init (pthread_frame.c:641) ==16090== by 0x965C97: avcodec_open2 (utils.c:1302) ==16090== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16090== by 0x462F3E: main (ffmpeg.c:3335) ==16090== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16090== ==16090== For counts of detected and suppressed errors, rerun with: -v ==16090== Use --history-level=approx or =none to gain increased speed, at ==16090== the cost of reduced accuracy of conflicting-access information ==16090== ERROR SUMMARY: 554034 errors from 55 contexts (suppressed: 1008 from 55)
diffstderracodec-flac1N-53857-g702c1bf
--- /home/ux/fate/ffmpeg/tests/ref/acodec/flac 2012-12-03 03:55:32.165545886 +0100 +++ tests/data/fate/acodec-flac 2014-01-11 22:48:17.005608623 +0100 @@ -1,4 +1,2 @@ 151eef9097f944726968bec48649f00a *tests/data/fate/acodec-flac.flac 361582 tests/data/fate/acodec-flac.flac -64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-flac.out.wav -stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
==16110== Helgrind, a thread error detector ==16110== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==16110== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==16110== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -f wav -threads 2 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -threads 2 -thread_type frame+slice -i /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/asynth-44100-2.wav -threads 1 -idct simple -dct fastint -b 128k -c flac -compression_level 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -f flac -y /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.flac ==16110== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, wav, from '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/asynth-44100-2.wav': Duration: 00:00:06.00, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Codec AVOption idct (select IDCT implementation) specified for input file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/asynth-44100-2.wav) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream. Please use -b:a or -b:v, -b is ambiguous Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.flac) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Codec AVOption idct (select IDCT implementation) specified for output file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.flac) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Codec AVOption dct (DCT algorithm) specified for output file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.flac) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Output #0, flac, to '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.flac': Stream #0:0: Audio: flac, 44100 Hz, stereo, s16, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (pcm_s16le -> flac) Press [q] to stop, [?] for help size= 353kB time=00:00:06.00 bitrate= 481.5kbits/s video:0kB audio:345kB subtitle:0 global headers:0kB muxing overhead 2.326806% ==16110== ==16110== For counts of detected and suppressed errors, rerun with: -v ==16110== Use --history-level=approx or =none to gain increased speed, at ==16110== the cost of reduced accuracy of conflicting-access information ==16110== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==16125== Helgrind, a thread error detector ==16125== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==16125== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==16125== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -threads 2 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -threads 2 -thread_type frame+slice -i /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.flac -threads 1 -idct simple -dct fastint -c pcm_s16le -flags +bitexact -sws_flags +accurate_rnd+bitexact -f wav -y /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.out.wav ==16125== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Input #0, flac, from '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.flac': Duration: 00:00:06.00, bitrate: 482 kb/s Stream #0:0: Audio: flac, 44100 Hz, stereo, s16 Codec AVOption idct (select IDCT implementation) specified for input file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.flac) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream. Codec AVOption dct (DCT algorithm) specified for output file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.out.wav) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Codec AVOption idct (select IDCT implementation) specified for output file #0 (/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.out.wav) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Output #0, wav, to '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/acodec-flac.out.wav': Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Stream mapping: Stream #0:0 -> #0:0 (flac -> pcm_s16le) Press [q] to stop, [?] for help ==16125== ---Thread-Announcement------------------------------------------ ==16125== ==16125== Thread #1 is the program's root thread ==16125== ==16125== ---Thread-Announcement------------------------------------------ ==16125== ==16125== Thread #3 was created ==16125== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==16125== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==16125== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==16125== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697C28 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x7697CD8 by thread #1 ==16125== Locks held: 1, at address 0x7697A48 ==16125== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 2, at addresses 0x7697C00 0x7697C28 ==16125== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697CD8 is 824 bytes inside a block of size 880 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x769B0D4 by thread #1 ==16125== Locks held: 1, at address 0x7697A48 ==16125== at 0x8C468F: ff_thread_decode_frame (pthread_frame.c:225) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE42C: flac_decode_frame (flacdec.c:430) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B0D4 is 468 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x769B0D0 by thread #1 ==16125== Locks held: 1, at address 0x7697A48 ==16125== at 0x8C469B: ff_thread_decode_frame (pthread_frame.c:226) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE4AE: flac_decode_frame (flacdec.c:468) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B0D0 is 464 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697C28 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x7697CD8 by thread #1 ==16125== Locks held: none ==16125== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 2, at addresses 0x7697C00 0x7697C28 ==16125== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697CD8 is 824 bytes inside a block of size 880 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 8 at 0x769B3C0 by thread #1 ==16125== Locks held: none ==16125== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==16125== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 8 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0xBAB728: av_frame_unref (frame.c:94) ==16125== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B3C0 is 0 bytes inside a block of size 624 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBAB48A: av_frame_alloc (frame.c:112) ==16125== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x769B400 by thread #1 ==16125== Locks held: none ==16125== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==16125== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 8 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0xBAB728: av_frame_unref (frame.c:94) ==16125== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B400 is 64 bytes inside a block of size 624 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBAB48A: av_frame_alloc (frame.c:112) ==16125== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x769B3C0 by thread #1 ==16125== Locks held: none ==16125== at 0xBABC98: av_frame_move_ref (frame.c:384) ==16125== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous read of size 8 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BF613: flac_decorrelate_ls_c_16 (flacdsp_template.c:65) ==16125== by 0x6BE914: flac_decode_frame (flacdec.c:561) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B3C0 is 0 bytes inside a block of size 624 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBAB48A: av_frame_alloc (frame.c:112) ==16125== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x769B400 by thread #1 ==16125== Locks held: none ==16125== at 0xBABC98: av_frame_move_ref (frame.c:384) ==16125== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 8 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0xBAB728: av_frame_unref (frame.c:94) ==16125== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B400 is 64 bytes inside a block of size 624 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBAB48A: av_frame_alloc (frame.c:112) ==16125== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x7697CD0 by thread #1 ==16125== Locks held: none ==16125== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE92C: flac_decode_frame (flacdec.c:573) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697CD0 is 816 bytes inside a block of size 880 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x7697CD0 by thread #1 ==16125== Locks held: none ==16125== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE92C: flac_decode_frame (flacdec.c:573) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697CD0 is 816 bytes inside a block of size 880 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x769B0D4 by thread #1 ==16125== Locks held: none ==16125== at 0x8C4B71: ff_thread_decode_frame (pthread_frame.c:225) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE42C: flac_decode_frame (flacdec.c:430) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B0D4 is 468 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x769B0D0 by thread #1 ==16125== Locks held: none ==16125== at 0x8C4B7D: ff_thread_decode_frame (pthread_frame.c:226) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE4AE: flac_decode_frame (flacdec.c:468) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B0D0 is 464 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x7697CD4 by thread #1 ==16125== Locks held: none ==16125== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697CD4 is 820 bytes inside a block of size 880 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 2 at 0x7669E20 by thread #1 ==16125== Locks held: none ==16125== at 0x4C2F350: memcpy (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8B36E4: pcm_encode_frame (pcm.c:188) ==16125== by 0x961026: avcodec_encode_audio2 (utils.c:1667) ==16125== by 0x47922F: reap_filters (ffmpeg.c:698) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== This conflicts with a previous write of size 2 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BF64A: flac_decorrelate_ls_c_16 (flacdsp_template.c:71) ==16125== by 0x6BE914: flac_decode_frame (flacdec.c:561) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7669E20 is 0 bytes inside a block of size 4608 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:memcpy fun:pcm_encode_frame fun:avcodec_encode_audio2 fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 2 at 0x7669E30 by thread #1 ==16125== Locks held: none ==16125== at 0x4C2F35E: memcpy (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8B36E4: pcm_encode_frame (pcm.c:188) ==16125== by 0x961026: avcodec_encode_audio2 (utils.c:1667) ==16125== by 0x47922F: reap_filters (ffmpeg.c:698) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== This conflicts with a previous write of size 2 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BF64A: flac_decorrelate_ls_c_16 (flacdsp_template.c:71) ==16125== by 0x6BE914: flac_decode_frame (flacdec.c:561) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7669E30 is 16 bytes inside a block of size 4608 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:memcpy fun:pcm_encode_frame fun:avcodec_encode_audio2 fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 8 at 0x766B180 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3D31: av_buffer_unref (buffer.c:111) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== Address 0x766B180 is 0 bytes inside a block of size 24 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA3A47: av_buffer_alloc (buffer.c:47) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 4 at 0x766B0CC by thread #1 ==16125== Locks held: none ==16125== at 0xBA3D43: av_buffer_unref (buffer.c:114) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== Address 0x766B0CC is 12 bytes inside a block of size 40 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 8 at 0x766B0D8 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3D55: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== Address 0x766B0D8 is 24 bytes inside a block of size 40 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 8 at 0x766B0C0 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3D59: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== Address 0x766B0C0 is 0 bytes inside a block of size 40 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 8 at 0x766B0D0 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3D5C: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== Address 0x766B0D0 is 16 bytes inside a block of size 40 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 8 at 0x766B260 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3A80: pool_release_buffer (buffer.c:273) ==16125== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== Address 0x766B260 is 32 bytes inside a block of size 40 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 8 at 0x766B258 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3A84: pool_release_buffer (buffer.c:288) ==16125== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== Address 0x766B258 is 24 bytes inside a block of size 40 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x769B120 by thread #1 ==16125== Locks held: none ==16125== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous read of size 8 by thread #3 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697C00 ==16125== at 0x9604C9: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B120 is 544 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x769B108 by thread #1 ==16125== Locks held: none ==16125== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous read of size 8 by thread #3 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697C00 ==16125== at 0x960273: ff_get_buffer (utils.c:857) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B108 is 520 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x769AF58 by thread #1 ==16125== Locks held: none ==16125== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous read of size 8 by thread #3 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697C00 ==16125== at 0x475A90: get_buffer (ffmpeg.c:2056) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769AF58 is 88 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x769B204 by thread #1 ==16125== Locks held: none ==16125== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous read of size 4 by thread #3 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697C00 ==16125== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B204 is 772 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x769B210 by thread #1 ==16125== Locks held: none ==16125== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous read of size 8 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x95FF5B: ff_init_buffer_info (utils.c:763) ==16125== by 0x8C5D9A: ff_thread_get_buffer (pthread_frame.c:764) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B210 is 784 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x769B294 by thread #1 ==16125== Locks held: none ==16125== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x4653EC: main (ffmpeg.c:1904) ==16125== ==16125== This conflicts with a previous read of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x8C5DC0: ff_thread_get_buffer (pthread_frame.c:770) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B294 is 916 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==16125== ---Thread-Announcement------------------------------------------ ==16125== ==16125== Thread #2 was created ==16125== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==16125== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==16125== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==16125== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 2 at 0x7667598 by thread #1 ==16125== Locks held: none ==16125== at 0x4C2F420: memcpy (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8B36E4: pcm_encode_frame (pcm.c:188) ==16125== by 0x961026: avcodec_encode_audio2 (utils.c:1667) ==16125== by 0x47922F: reap_filters (ffmpeg.c:698) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== This conflicts with a previous write of size 2 by thread #2 ==16125== Locks held: 1, at address 0x7697A48 ==16125== at 0x6BF64A: flac_decorrelate_ls_c_16 (flacdsp_template.c:71) ==16125== by 0x6BE914: flac_decode_frame (flacdec.c:561) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7667598 is 4600 bytes inside a block of size 4608 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:memcpy fun:pcm_encode_frame fun:avcodec_encode_audio2 fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 2 at 0x7667588 by thread #1 ==16125== Locks held: none ==16125== at 0x4C2F432: memcpy (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8B36E4: pcm_encode_frame (pcm.c:188) ==16125== by 0x961026: avcodec_encode_audio2 (utils.c:1667) ==16125== by 0x47922F: reap_filters (ffmpeg.c:698) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== This conflicts with a previous write of size 2 by thread #2 ==16125== Locks held: 1, at address 0x7697A48 ==16125== at 0x6BF64A: flac_decorrelate_ls_c_16 (flacdsp_template.c:71) ==16125== by 0x6BE914: flac_decode_frame (flacdec.c:561) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7667588 is 4584 bytes inside a block of size 4608 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:memcpy fun:pcm_encode_frame fun:avcodec_encode_audio2 fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x7670BA0 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==16125== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== This conflicts with a previous write of size 8 by thread #2 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697A48 ==16125== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== ==16125== Address 0x7670BA0 is 32 bytes inside a block of size 40 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 8 at 0x7667598 by thread #1 ==16125== Locks held: none ==16125== at 0x4C2F420: memcpy (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8B36E4: pcm_encode_frame (pcm.c:188) ==16125== by 0x961026: avcodec_encode_audio2 (utils.c:1667) ==16125== by 0x47922F: reap_filters (ffmpeg.c:698) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== This conflicts with a previous write of size 2 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BF64A: flac_decorrelate_ls_c_16 (flacdsp_template.c:71) ==16125== by 0x6BE914: flac_decode_frame (flacdec.c:561) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7667598 is 4600 bytes inside a block of size 4608 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:memcpy fun:pcm_encode_frame fun:avcodec_encode_audio2 fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 8 at 0x7667588 by thread #1 ==16125== Locks held: none ==16125== at 0x4C2F432: memcpy (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8B36E4: pcm_encode_frame (pcm.c:188) ==16125== by 0x961026: avcodec_encode_audio2 (utils.c:1667) ==16125== by 0x47922F: reap_filters (ffmpeg.c:698) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== This conflicts with a previous write of size 2 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BF64A: flac_decorrelate_ls_c_16 (flacdsp_template.c:71) ==16125== by 0x6BE914: flac_decode_frame (flacdec.c:561) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7667588 is 4584 bytes inside a block of size 4608 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:memcpy fun:pcm_encode_frame fun:avcodec_encode_audio2 fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 8 at 0x7669E20 by thread #1 ==16125== Locks held: none ==16125== at 0x4C2F350: memcpy (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8B36E4: pcm_encode_frame (pcm.c:188) ==16125== by 0x961026: avcodec_encode_audio2 (utils.c:1667) ==16125== by 0x47922F: reap_filters (ffmpeg.c:698) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== This conflicts with a previous write of size 2 by thread #2 ==16125== Locks held: 1, at address 0x7697A48 ==16125== at 0x6BF64A: flac_decorrelate_ls_c_16 (flacdsp_template.c:71) ==16125== by 0x6BE914: flac_decode_frame (flacdec.c:561) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7669E20 is 0 bytes inside a block of size 4608 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:memcpy fun:pcm_encode_frame fun:avcodec_encode_audio2 fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 8 at 0x7669E30 by thread #1 ==16125== Locks held: none ==16125== at 0x4C2F35E: memcpy (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8B36E4: pcm_encode_frame (pcm.c:188) ==16125== by 0x961026: avcodec_encode_audio2 (utils.c:1667) ==16125== by 0x47922F: reap_filters (ffmpeg.c:698) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== This conflicts with a previous write of size 2 by thread #2 ==16125== Locks held: 1, at address 0x7697A48 ==16125== at 0x6BF64A: flac_decorrelate_ls_c_16 (flacdsp_template.c:71) ==16125== by 0x6BE914: flac_decode_frame (flacdec.c:561) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7669E30 is 16 bytes inside a block of size 4608 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:memcpy fun:pcm_encode_frame fun:avcodec_encode_audio2 fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x766C3C0 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3B33: pool_release_buffer (buffer.c:228) ==16125== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x463E8E: main (ffmpeg.c:3321) ==16125== ==16125== This conflicts with a previous read of size 8 by thread #2 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697A48 ==16125== at 0xBA42DF: av_buffer_pool_get (buffer.c:252) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== ==16125== Address 0x766C3C0 is 0 bytes inside a block of size 32 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==16125== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x7697FE0 by thread #1 ==16125== Locks held: none ==16125== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous read of size 8 by thread #2 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697A48 ==16125== at 0x9604C9: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697FE0 is 544 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x7697FC8 by thread #1 ==16125== Locks held: none ==16125== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous read of size 8 by thread #2 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697A48 ==16125== at 0x960273: ff_get_buffer (utils.c:857) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697FC8 is 520 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x7697E18 by thread #1 ==16125== Locks held: none ==16125== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous read of size 8 by thread #2 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697A48 ==16125== at 0x475A90: get_buffer (ffmpeg.c:2056) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697E18 is 88 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x76980C4 by thread #1 ==16125== Locks held: none ==16125== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous read of size 4 by thread #2 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697A48 ==16125== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x76980C4 is 772 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x76980D0 by thread #1 ==16125== Locks held: none ==16125== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous read of size 8 by thread #2 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697A48 ==16125== at 0x96024D: ff_get_buffer (utils.c:763) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x76980D0 is 784 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x7698154 by thread #1 ==16125== Locks held: none ==16125== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous read of size 4 by thread #2 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697A48 ==16125== at 0x8C5E28: ff_thread_get_buffer (pthread_frame.c:788) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7698154 is 916 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697C28 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x7697CD8 by thread #1 ==16125== Locks held: none ==16125== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 2, at addresses 0x7697C00 0x7697C28 ==16125== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697CD8 is 824 bytes inside a block of size 880 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x7697CD0 by thread #1 ==16125== Locks held: none ==16125== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE92C: flac_decode_frame (flacdec.c:573) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697CD0 is 816 bytes inside a block of size 880 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x7697CD0 by thread #1 ==16125== Locks held: none ==16125== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE92C: flac_decode_frame (flacdec.c:573) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697CD0 is 816 bytes inside a block of size 880 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x769B0D4 by thread #1 ==16125== Locks held: none ==16125== at 0x8C4B71: ff_thread_decode_frame (pthread_frame.c:225) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE42C: flac_decode_frame (flacdec.c:430) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B0D4 is 468 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x769B0D0 by thread #1 ==16125== Locks held: none ==16125== at 0x8C4B7D: ff_thread_decode_frame (pthread_frame.c:226) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE4AE: flac_decode_frame (flacdec.c:468) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B0D0 is 464 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x7697CD4 by thread #1 ==16125== Locks held: none ==16125== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==16125== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==16125== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==16125== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==16125== by 0x463FF4: main (ffmpeg.c:3059) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697CD4 is 820 bytes inside a block of size 880 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 8 at 0x76DBF20 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3D31: av_buffer_unref (buffer.c:111) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x4648C9: main (ffmpeg.c:3252) ==16125== ==16125== Address 0x76DBF20 is 0 bytes inside a block of size 24 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA3A47: av_buffer_alloc (buffer.c:47) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 4 at 0x770E0EC by thread #1 ==16125== Locks held: none ==16125== at 0xBA3D43: av_buffer_unref (buffer.c:114) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x4648C9: main (ffmpeg.c:3252) ==16125== ==16125== Address 0x770E0EC is 12 bytes inside a block of size 40 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 8 at 0x770E0F8 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3D55: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x4648C9: main (ffmpeg.c:3252) ==16125== ==16125== Address 0x770E0F8 is 24 bytes inside a block of size 40 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 8 at 0x770E0E0 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3D59: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x4648C9: main (ffmpeg.c:3252) ==16125== ==16125== Address 0x770E0E0 is 0 bytes inside a block of size 40 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 8 at 0x770E0F0 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3D5C: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x4648C9: main (ffmpeg.c:3252) ==16125== ==16125== Address 0x770E0F0 is 16 bytes inside a block of size 40 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==16125== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==16125== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 8 at 0x766B180 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3AA3: pool_release_buffer (atomic_gcc.h:57) ==16125== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x4648C9: main (ffmpeg.c:3252) ==16125== ==16125== Address 0x766B180 is 0 bytes inside a block of size 32 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==16125== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Possible data race during read of size 4 at 0x766B188 by thread #1 ==16125== Locks held: none ==16125== at 0xBA3AF7: pool_release_buffer (buffer.c:294) ==16125== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==16125== by 0xBAB68C: av_frame_unref (frame.c:369) ==16125== by 0x479335: reap_filters (ffmpeg.c:1133) ==16125== by 0x4648C9: main (ffmpeg.c:3252) ==16125== ==16125== Address 0x766B188 is 8 bytes inside a block of size 32 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==16125== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==16125== by 0x9604CE: ff_get_buffer (utils.c:965) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:reap_filters fun:main } size= 1034kB time=00:00:06.00 bitrate=1411.3kbits/s video:0kB audio:1034kB subtitle:0 global headers:0kB muxing overhead 0.004346% ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766C520 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16125== by 0x965580: avcodec_open2 (utils.c:3284) ==16125== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16125== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16125== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16125== by 0x462EE7: main (ffmpeg.c:3522) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697A70 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x7697B20 by thread #1 ==16125== Locks held: 1, at address 0x766C520 ==16125== at 0x8C4F5F: ff_frame_thread_free (pthread_frame.c:540) ==16125== by 0x440857: avcodec_close (utils.c:2587) ==16125== by 0x463712: main (ffmpeg.c:3413) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #2 ==16125== Locks held: 2, at addresses 0x7697A48 0x7697A70 ==16125== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697B20 is 384 bytes inside a block of size 880 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766C520 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16125== by 0x965580: avcodec_open2 (utils.c:3284) ==16125== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16125== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16125== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16125== by 0x462EE7: main (ffmpeg.c:3522) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x7697B18 by thread #1 ==16125== Locks held: 1, at address 0x766C520 ==16125== at 0x8C4F4C: ff_frame_thread_free (pthread_frame.c:546) ==16125== by 0x440857: avcodec_close (utils.c:2587) ==16125== by 0x463712: main (ffmpeg.c:3413) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #2 ==16125== Locks held: 1, at address 0x7697A48 ==16125== at 0x6BE92C: flac_decode_frame (flacdec.c:573) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697B18 is 376 bytes inside a block of size 880 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766C520 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16125== by 0x965580: avcodec_open2 (utils.c:3284) ==16125== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16125== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16125== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16125== by 0x462EE7: main (ffmpeg.c:3522) ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x769B0D4 by thread #1 ==16125== Locks held: 1, at address 0x766C520 ==16125== at 0x8C50F0: ff_frame_thread_free (pthread_frame.c:225) ==16125== by 0x440857: avcodec_close (utils.c:2587) ==16125== by 0x463712: main (ffmpeg.c:3413) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE42C: flac_decode_frame (flacdec.c:430) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B0D4 is 468 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766C520 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16125== by 0x965580: avcodec_open2 (utils.c:3284) ==16125== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16125== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16125== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16125== by 0x462EE7: main (ffmpeg.c:3522) ==16125== ==16125== Lock at 0x766E2B0 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x7697F94 by thread #1 ==16125== Locks held: 1, at address 0x766C520 ==16125== at 0x8C50F6: ff_frame_thread_free (pthread_frame.c:225) ==16125== by 0x440857: avcodec_close (utils.c:2587) ==16125== by 0x463712: main (ffmpeg.c:3413) ==16125== ==16125== This conflicts with a previous read of size 4 by thread #2 ==16125== Locks held: 2, at addresses 0x766E2B0 0x7697A48 ==16125== at 0x960490: ff_get_buffer (utils.c:761) ==16125== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697F94 is 468 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766C520 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16125== by 0x965580: avcodec_open2 (utils.c:3284) ==16125== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16125== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16125== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16125== by 0x462EE7: main (ffmpeg.c:3522) ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during read of size 4 at 0x769B0D0 by thread #1 ==16125== Locks held: 1, at address 0x766C520 ==16125== at 0x8C50FC: ff_frame_thread_free (pthread_frame.c:226) ==16125== by 0x440857: avcodec_close (utils.c:2587) ==16125== by 0x463712: main (ffmpeg.c:3413) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x6BE4AE: flac_decode_frame (flacdec.c:468) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x769B0D0 is 464 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766C520 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16125== by 0x965580: avcodec_open2 (utils.c:3284) ==16125== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16125== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16125== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16125== by 0x462EE7: main (ffmpeg.c:3522) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x7697F90 by thread #1 ==16125== Locks held: 1, at address 0x766C520 ==16125== at 0x8C5102: ff_frame_thread_free (pthread_frame.c:226) ==16125== by 0x440857: avcodec_close (utils.c:2587) ==16125== by 0x463712: main (ffmpeg.c:3413) ==16125== ==16125== This conflicts with a previous write of size 4 by thread #2 ==16125== Locks held: 1, at address 0x7697A48 ==16125== at 0x6BE4AE: flac_decode_frame (flacdec.c:468) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697F90 is 464 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766C520 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16125== by 0x965580: avcodec_open2 (utils.c:3284) ==16125== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16125== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16125== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16125== by 0x462EE7: main (ffmpeg.c:3522) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x7697F98 by thread #1 ==16125== Locks held: 1, at address 0x766C520 ==16125== at 0x8C510E: ff_frame_thread_free (pthread_frame.c:227) ==16125== by 0x440857: avcodec_close (utils.c:2587) ==16125== by 0x463712: main (ffmpeg.c:3413) ==16125== ==16125== This conflicts with a previous read of size 4 by thread #2 ==16125== Locks held: 1, at address 0x7697A48 ==16125== at 0x960130: ff_init_buffer_info (utils.c:782) ==16125== by 0x8C5D9A: ff_thread_get_buffer (pthread_frame.c:764) ==16125== by 0x6BE8ED: flac_decode_frame (flacdec.c:558) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697F98 is 472 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766C520 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16125== by 0x965580: avcodec_open2 (utils.c:3284) ==16125== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16125== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16125== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16125== by 0x462EE7: main (ffmpeg.c:3522) ==16125== ==16125== Lock at 0x7697A48 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 8 at 0x7697FB0 by thread #1 ==16125== Locks held: 1, at address 0x766C520 ==16125== at 0x8C511B: ff_frame_thread_free (pthread_frame.c:228) ==16125== by 0x440857: avcodec_close (utils.c:2587) ==16125== by 0x463712: main (ffmpeg.c:3413) ==16125== ==16125== This conflicts with a previous read of size 8 by thread #2 ==16125== Locks held: 1, at address 0x7697A48 ==16125== at 0x6BE424: flac_decode_frame (flacdec.c:431) ==16125== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x7697FB0 is 496 bytes inside a block of size 1072 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB13F9: av_malloc (mem.c:94) ==16125== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16125== ---------------------------------------------------------------- ==16125== ==16125== Lock at 0x766C520 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==16125== by 0x965580: avcodec_open2 (utils.c:3284) ==16125== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==16125== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==16125== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==16125== by 0x462EE7: main (ffmpeg.c:3522) ==16125== ==16125== Lock at 0x7697C00 was first observed ==16125== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== ==16125== Possible data race during write of size 4 at 0x766E2E4 by thread #1 ==16125== Locks held: 1, at address 0x766C520 ==16125== at 0x8C513E: ff_frame_thread_free (pthread_frame.c:565) ==16125== by 0x440857: avcodec_close (utils.c:2587) ==16125== by 0x463712: main (ffmpeg.c:3413) ==16125== ==16125== This conflicts with a previous read of size 4 by thread #3 ==16125== Locks held: 1, at address 0x7697C00 ==16125== at 0x8C410C: frame_worker_thread (pthread_frame.c:143) ==16125== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==16125== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==16125== ==16125== Address 0x766E2E4 is 68 bytes inside a block of size 72 alloc'd ==16125== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==16125== by 0xBB16DF: av_mallocz (mem.c:94) ==16125== by 0x8C5415: ff_frame_thread_init (pthread_frame.c:641) ==16125== by 0x965C97: avcodec_open2 (utils.c:1302) ==16125== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==16125== by 0x462F3E: main (ffmpeg.c:3335) ==16125== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==16125== ==16125== For counts of detected and suppressed errors, rerun with: -v ==16125== Use --history-level=approx or =none to gain increased speed, at ==16125== the cost of reduced accuracy of conflicting-access information ==16125== ERROR SUMMARY: 546276 errors from 64 contexts (suppressed: 3412 from 44)
diffstderralac-16-level-01N-53857-g702c1bf
No diff output recorded
==27055== Helgrind, a thread error detector ==27055== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==27055== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==27055== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -threads 2 -thread_type frame+slice -i /home/ux/fate/fate-suite/audio-reference/luckynight_2ch_44kHz_s16.wav -c alac -compression_level 0 -f mov -y /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-0.mov ==27055== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, wav, from '/home/ux/fate/fate-suite/audio-reference/luckynight_2ch_44kHz_s16.wav': Duration: 00:00:09.50, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Output #0, mov, to '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-0.mov': Metadata: encoder : Lavf55.22.103 Stream #0:0: Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (pcm_s16le -> alac) Press [q] to stop, [?] for help size= 1638kB time=00:00:09.56 bitrate=1402.7kbits/s video:0kB audio:1637kB subtitle:0 global headers:0kB muxing overhead 0.069560% ==27055== ==27055== For counts of detected and suppressed errors, rerun with: -v ==27055== Use --history-level=approx or =none to gain increased speed, at ==27055== the cost of reduced accuracy of conflicting-access information ==27055== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 209 from 40) ==27065== Helgrind, a thread error detector ==27065== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==27065== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==27065== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -flags +bitexact -threads 2 -thread_type frame+slice -i /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-0.mov -c:a pcm_s16le -f wav - ==27065== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-0.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf55.22.103 Duration: 00:00:09.50, start: 0.000000, bitrate: 1412 kb/s Stream #0:0(eng): Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 1411 kb/s (default) Metadata: handler_name : DataHandler Output #0, wav, to 'pipe:': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt ISFT : Lavf55.22.103 Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s (default) Metadata: handler_name : DataHandler Stream mapping: Stream #0:0 -> #0:0 (alac -> pcm_s16le) Press [q] to stop, [?] for help ==27065== ---Thread-Announcement------------------------------------------ ==27065== ==27065== Thread #1 is the program's root thread ==27065== ==27065== ---Thread-Announcement------------------------------------------ ==27065== ==27065== Thread #11 was created ==27065== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==27065== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==27065== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==27065== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668490 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 4 at 0x7668540 by thread #1 ==27065== Locks held: 1, at address 0x7668620 ==27065== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 2, at addresses 0x7668468 0x7668490 ==27065== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668540 is 384 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668490 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 4 at 0x7668540 by thread #1 ==27065== Locks held: none ==27065== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 2, at addresses 0x7668468 0x7668490 ==27065== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668540 is 384 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 8 at 0x7668CA0 by thread #1 ==27065== Locks held: none ==27065== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==27065== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous write of size 8 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xBAB728: av_frame_unref (frame.c:94) ==27065== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668CA0 is 0 bytes inside a block of size 624 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27065== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 4 at 0x7668EB8 by thread #1 ==27065== Locks held: none ==27065== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==27065== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xBAB728: av_frame_unref (frame.c:94) ==27065== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668EB8 is 536 bytes inside a block of size 624 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27065== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 8 at 0x7668CA0 by thread #1 ==27065== Locks held: none ==27065== at 0xBABC98: av_frame_move_ref (frame.c:384) ==27065== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous read of size 8 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AEBA: alac_decode_frame (alac.c:395) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668CA0 is 0 bytes inside a block of size 624 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27065== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 4 at 0x7668EB8 by thread #1 ==27065== Locks held: none ==27065== at 0xBABC98: av_frame_move_ref (frame.c:384) ==27065== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xBAB728: av_frame_unref (frame.c:94) ==27065== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668EB8 is 536 bytes inside a block of size 624 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27065== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 4 at 0x7668538 by thread #1 ==27065== Locks held: none ==27065== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668538 is 376 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 4 at 0x7668538 by thread #1 ==27065== Locks held: none ==27065== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668538 is 376 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 4 at 0x766853C by thread #1 ==27065== Locks held: none ==27065== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x766853C is 380 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 2 at 0x7660340 by thread #1 ==27065== Locks held: none ==27065== at 0xB575B4: ??? (audio_convert.asm:390) ==27065== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== This conflicts with a previous write of size 2 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7660340 is 0 bytes inside a block of size 8192 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 2 at 0x76B0AE0 by thread #1 ==27065== Locks held: none ==27065== at 0xB575BD: ??? (audio_convert.asm:390) ==27065== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== This conflicts with a previous write of size 2 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x76B0AE0 is 0 bytes inside a block of size 8192 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 2 at 0x7660360 by thread #1 ==27065== Locks held: none ==27065== at 0xB575D9: ??? (audio_convert.asm:390) ==27065== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== This conflicts with a previous write of size 2 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7660360 is 32 bytes inside a block of size 8192 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Possible data race during read of size 8 at 0x766F140 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3D31: av_buffer_unref (buffer.c:111) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== Address 0x766F140 is 0 bytes inside a block of size 24 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA3A47: av_buffer_alloc (buffer.c:47) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Possible data race during read of size 4 at 0x766F06C by thread #1 ==27065== Locks held: none ==27065== at 0xBA3D43: av_buffer_unref (buffer.c:114) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== Address 0x766F06C is 12 bytes inside a block of size 40 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Possible data race during read of size 8 at 0x766F078 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3D55: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== Address 0x766F078 is 24 bytes inside a block of size 40 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Possible data race during read of size 8 at 0x766F060 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3D59: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== Address 0x766F060 is 0 bytes inside a block of size 40 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Possible data race during read of size 8 at 0x766F070 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3D5C: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== Address 0x766F070 is 16 bytes inside a block of size 40 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Possible data race during read of size 8 at 0x766F220 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3A80: pool_release_buffer (buffer.c:273) ==27065== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== ==27065== Address 0x766F220 is 32 bytes inside a block of size 40 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Possible data race during read of size 8 at 0x766F218 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3A84: pool_release_buffer (buffer.c:288) ==27065== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== ==27065== Address 0x766F218 is 24 bytes inside a block of size 40 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Possible data race during read of size 8 at 0x766C8E0 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3AA3: pool_release_buffer (atomic_gcc.h:57) ==27065== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== ==27065== Address 0x766C8E0 is 0 bytes inside a block of size 32 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27065== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Possible data race during read of size 4 at 0x766C8E8 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3AF7: pool_release_buffer (buffer.c:294) ==27065== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== ==27065== Address 0x766C8E8 is 8 bytes inside a block of size 32 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27065== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Possible data race during write of size 8 at 0x766A740 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27065== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== ==27065== Address 0x766A740 is 32 bytes inside a block of size 40 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27065== ---Thread-Announcement------------------------------------------ ==27065== ==27065== Thread #12 was created ==27065== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==27065== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==27065== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==27065== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 8 at 0x766A740 by thread #12 ==27065== Locks held: 2, at addresses 0x7673170 0x7668620 ==27065== at 0xBA43D8: av_buffer_pool_get (buffer.c:346) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== This conflicts with a previous write of size 8 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27065== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== ==27065== Address 0x766A740 is 32 bytes inside a block of size 40 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 8 at 0x766A740 by thread #12 ==27065== Locks held: 2, at addresses 0x7673170 0x7668620 ==27065== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== This conflicts with a previous write of size 8 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27065== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== ==27065== Address 0x766A740 is 32 bytes inside a block of size 40 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 2 at 0x76B0AE0 by thread #12 ==27065== Locks held: 1, at address 0x7668620 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== This conflicts with a previous read of size 2 by thread #1 ==27065== Locks held: none ==27065== at 0xB575BD: ??? (audio_convert.asm:390) ==27065== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== ==27065== Address 0x76B0AE0 is 0 bytes inside a block of size 8192 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 8 at 0x76689E0 by thread #1 ==27065== Locks held: none ==27065== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous read of size 8 by thread #11 ==27065== Locks held: 2, at addresses 0x7673170 0x7668468 ==27065== at 0x9604C9: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x76689E0 is 544 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 8 at 0x76689C8 by thread #1 ==27065== Locks held: none ==27065== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous read of size 8 by thread #11 ==27065== Locks held: 2, at addresses 0x7673170 0x7668468 ==27065== at 0x960273: ff_get_buffer (utils.c:857) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x76689C8 is 520 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 8 at 0x7668818 by thread #1 ==27065== Locks held: none ==27065== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous read of size 8 by thread #11 ==27065== Locks held: 2, at addresses 0x7673170 0x7668468 ==27065== at 0x475A90: get_buffer (ffmpeg.c:2056) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668818 is 88 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 4 at 0x7668AC4 by thread #1 ==27065== Locks held: none ==27065== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous read of size 4 by thread #11 ==27065== Locks held: 2, at addresses 0x7673170 0x7668468 ==27065== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668AC4 is 772 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 8 at 0x7668AD0 by thread #1 ==27065== Locks held: none ==27065== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous read of size 8 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0x95FF5B: ff_init_buffer_info (utils.c:763) ==27065== by 0x8C5D9A: ff_thread_get_buffer (pthread_frame.c:764) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668AD0 is 784 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 4 at 0x7668B54 by thread #1 ==27065== Locks held: none ==27065== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== This conflicts with a previous read of size 4 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0x8C5DC0: ff_thread_get_buffer (pthread_frame.c:770) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668B54 is 916 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 8 at 0x7660340 by thread #1 ==27065== Locks held: none ==27065== at 0xB575B4: ??? (audio_convert.asm:390) ==27065== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== This conflicts with a previous write of size 2 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7660340 is 0 bytes inside a block of size 8192 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 8 at 0x76B0AE0 by thread #1 ==27065== Locks held: none ==27065== at 0xB575BD: ??? (audio_convert.asm:390) ==27065== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== This conflicts with a previous write of size 2 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x76B0AE0 is 0 bytes inside a block of size 8192 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 8 at 0x7660360 by thread #1 ==27065== Locks held: none ==27065== at 0xB575D9: ??? (audio_convert.asm:390) ==27065== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== This conflicts with a previous write of size 2 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7660360 is 32 bytes inside a block of size 8192 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 8 at 0x766A740 by thread #12 ==27065== Locks held: 2, at addresses 0x7673170 0x7668620 ==27065== at 0xBA43E5: av_buffer_pool_get (buffer.c:273) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== This conflicts with a previous write of size 8 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27065== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== ==27065== Address 0x766A740 is 32 bytes inside a block of size 40 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668648 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 4 at 0x76686F8 by thread #12 ==27065== Locks held: 2, at addresses 0x7668620 0x7668648 ==27065== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== This conflicts with a previous read of size 4 by thread #1 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x4653EC: main (ffmpeg.c:1904) ==27065== ==27065== Address 0x76686F8 is 824 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 8 at 0x766C8E0 by thread #1 ==27065== Locks held: none ==27065== at 0xBA3B33: pool_release_buffer (buffer.c:228) ==27065== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27065== by 0xBAB68C: av_frame_unref (frame.c:369) ==27065== by 0xBAB825: av_frame_free (frame.c:128) ==27065== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== ==27065== This conflicts with a previous read of size 8 by thread #12 ==27065== Locks held: 2, at addresses 0x7673170 0x7668620 ==27065== at 0xBA42DF: av_buffer_pool_get (buffer.c:252) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== ==27065== Address 0x766C8E0 is 0 bytes inside a block of size 32 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27065== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 8 at 0x7669320 by thread #1 ==27065== Locks held: none ==27065== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27065== by 0x463FF4: main (ffmpeg.c:3059) ==27065== ==27065== This conflicts with a previous read of size 8 by thread #12 ==27065== Locks held: 2, at addresses 0x7673170 0x7668620 ==27065== at 0x9604C9: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7669320 is 544 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 8 at 0x7669308 by thread #1 ==27065== Locks held: none ==27065== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27065== by 0x463FF4: main (ffmpeg.c:3059) ==27065== ==27065== This conflicts with a previous read of size 8 by thread #12 ==27065== Locks held: 2, at addresses 0x7673170 0x7668620 ==27065== at 0x960273: ff_get_buffer (utils.c:857) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7669308 is 520 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 8 at 0x7669158 by thread #1 ==27065== Locks held: none ==27065== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27065== by 0x463FF4: main (ffmpeg.c:3059) ==27065== ==27065== This conflicts with a previous read of size 8 by thread #12 ==27065== Locks held: 2, at addresses 0x7673170 0x7668620 ==27065== at 0x475A90: get_buffer (ffmpeg.c:2056) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7669158 is 88 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 4 at 0x7669404 by thread #1 ==27065== Locks held: none ==27065== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27065== by 0x463FF4: main (ffmpeg.c:3059) ==27065== ==27065== This conflicts with a previous read of size 4 by thread #12 ==27065== Locks held: 2, at addresses 0x7673170 0x7668620 ==27065== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7669404 is 772 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 8 at 0x7669410 by thread #1 ==27065== Locks held: none ==27065== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27065== by 0x463FF4: main (ffmpeg.c:3059) ==27065== ==27065== This conflicts with a previous read of size 8 by thread #12 ==27065== Locks held: 2, at addresses 0x7673170 0x7668620 ==27065== at 0x96024D: ff_get_buffer (utils.c:763) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7669410 is 784 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7673170 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668620 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 4 at 0x7669494 by thread #1 ==27065== Locks held: none ==27065== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27065== by 0x463FF4: main (ffmpeg.c:3059) ==27065== ==27065== This conflicts with a previous read of size 4 by thread #12 ==27065== Locks held: 2, at addresses 0x7673170 0x7668620 ==27065== at 0x8C5E28: ff_thread_get_buffer (pthread_frame.c:788) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7669494 is 916 bytes inside a block of size 1072 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668490 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 4 at 0x7668540 by thread #1 ==27065== Locks held: none ==27065== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27065== by 0x463FF4: main (ffmpeg.c:3059) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 2, at addresses 0x7668468 0x7668490 ==27065== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668540 is 384 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 4 at 0x7668538 by thread #1 ==27065== Locks held: none ==27065== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27065== by 0x463FF4: main (ffmpeg.c:3059) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668538 is 376 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 4 at 0x7668538 by thread #1 ==27065== Locks held: none ==27065== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27065== by 0x463FF4: main (ffmpeg.c:3059) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668538 is 376 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 4 at 0x766853C by thread #1 ==27065== Locks held: none ==27065== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==27065== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27065== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27065== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27065== by 0x463FF4: main (ffmpeg.c:3059) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x766853C is 380 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 2 at 0x76AF420 by thread #1 ==27065== Locks held: none ==27065== at 0xB51B18: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27065== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== This conflicts with a previous write of size 2 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x76AF420 is 2304 bytes inside a block of size 2368 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 2 at 0x76AF422 by thread #1 ==27065== Locks held: none ==27065== at 0xB51B20: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27065== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== This conflicts with a previous write of size 2 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x76AF422 is 2306 bytes inside a block of size 2368 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 2 at 0x76AF424 by thread #1 ==27065== Locks held: none ==27065== at 0xB51B2A: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27065== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== This conflicts with a previous write of size 2 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x76AF424 is 2308 bytes inside a block of size 2368 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 2 at 0x76AF426 by thread #1 ==27065== Locks held: none ==27065== at 0xB51B34: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27065== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== This conflicts with a previous write of size 2 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x76AF426 is 2310 bytes inside a block of size 2368 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 2 at 0x76AF428 by thread #1 ==27065== Locks held: none ==27065== at 0xB51B58: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27065== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27065== by 0xB5038E: swr_convert (swresample.c:623) ==27065== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27065== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27065== by 0x48DA31: request_frame (buffersrc.c:488) ==27065== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27065== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27065== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27065== ==27065== This conflicts with a previous write of size 2 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x76AF428 is 2312 bytes inside a block of size 2368 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB13F9: av_malloc (mem.c:94) ==27065== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27065== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27065== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27065== by 0x9604CE: ff_get_buffer (utils.c:965) ==27065== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27065== by 0xA9A104: alac_decode_frame (alac.c:294) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } size= 1637kB time=00:00:09.50 bitrate=1411.3kbits/s video:0kB audio:1637kB subtitle:0 global headers:0kB muxing overhead 0.004774% ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x766D6A0 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27065== by 0x965580: avcodec_open2 (utils.c:3284) ==27065== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27065== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27065== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27065== by 0x462EE7: main (ffmpeg.c:3522) ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Lock at 0x7668490 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during read of size 4 at 0x7668540 by thread #1 ==27065== Locks held: 1, at address 0x766D6A0 ==27065== at 0x8C4F5F: ff_frame_thread_free (pthread_frame.c:540) ==27065== by 0x440857: avcodec_close (utils.c:2587) ==27065== by 0x463712: main (ffmpeg.c:3413) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 2, at addresses 0x7668468 0x7668490 ==27065== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668540 is 384 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x766D6A0 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27065== by 0x965580: avcodec_open2 (utils.c:3284) ==27065== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27065== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27065== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27065== by 0x462EE7: main (ffmpeg.c:3522) ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 4 at 0x7668538 by thread #1 ==27065== Locks held: 1, at address 0x766D6A0 ==27065== at 0x8C4F4C: ff_frame_thread_free (pthread_frame.c:546) ==27065== by 0x440857: avcodec_close (utils.c:2587) ==27065== by 0x463712: main (ffmpeg.c:3413) ==27065== ==27065== This conflicts with a previous write of size 4 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27065== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x7668538 is 376 bytes inside a block of size 880 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27065== ---------------------------------------------------------------- ==27065== ==27065== Lock at 0x766D6A0 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27065== by 0x965580: avcodec_open2 (utils.c:3284) ==27065== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27065== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27065== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27065== by 0x462EE7: main (ffmpeg.c:3522) ==27065== ==27065== Lock at 0x7668468 was first observed ==27065== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== ==27065== Possible data race during write of size 4 at 0x76731A4 by thread #1 ==27065== Locks held: 1, at address 0x766D6A0 ==27065== at 0x8C513E: ff_frame_thread_free (pthread_frame.c:565) ==27065== by 0x440857: avcodec_close (utils.c:2587) ==27065== by 0x463712: main (ffmpeg.c:3413) ==27065== ==27065== This conflicts with a previous read of size 4 by thread #11 ==27065== Locks held: 1, at address 0x7668468 ==27065== at 0x8C410C: frame_worker_thread (pthread_frame.c:143) ==27065== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27065== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27065== ==27065== Address 0x76731A4 is 68 bytes inside a block of size 72 alloc'd ==27065== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27065== by 0xBB16DF: av_mallocz (mem.c:94) ==27065== by 0x8C5415: ff_frame_thread_init (pthread_frame.c:641) ==27065== by 0x965C97: avcodec_open2 (utils.c:1302) ==27065== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27065== by 0x462F3E: main (ffmpeg.c:3335) ==27065== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27065== ==27065== For counts of detected and suppressed errors, rerun with: -v ==27065== Use --history-level=approx or =none to gain increased speed, at ==27065== the cost of reduced accuracy of conflicting-access information ==27065== ERROR SUMMARY: 1161537 errors from 55 contexts (suppressed: 1627 from 75)
diffstderralac-16-level-11N-53857-g702c1bf
No diff output recorded
==27103== Helgrind, a thread error detector ==27103== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==27103== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==27103== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -threads 2 -thread_type frame+slice -i /home/ux/fate/fate-suite/audio-reference/luckynight_2ch_44kHz_s16.wav -c alac -compression_level 1 -f mov -y /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-1.mov ==27103== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, wav, from '/home/ux/fate/fate-suite/audio-reference/luckynight_2ch_44kHz_s16.wav': Duration: 00:00:09.50, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Output #0, mov, to '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-1.mov': Metadata: encoder : Lavf55.22.103 Stream #0:0: Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (pcm_s16le -> alac) Press [q] to stop, [?] for help size= 1041kB time=00:00:09.56 bitrate= 891.2kbits/s video:0kB audio:1040kB subtitle:0 global headers:0kB muxing overhead 0.109529% ==27103== ==27103== For counts of detected and suppressed errors, rerun with: -v ==27103== Use --history-level=approx or =none to gain increased speed, at ==27103== the cost of reduced accuracy of conflicting-access information ==27103== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 207 from 39) ==27114== Helgrind, a thread error detector ==27114== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==27114== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==27114== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -flags +bitexact -threads 2 -thread_type frame+slice -i /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-1.mov -c:a pcm_s16le -f wav - ==27114== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-1.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf55.22.103 Duration: 00:00:09.50, start: 0.000000, bitrate: 897 kb/s Stream #0:0(eng): Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 896 kb/s (default) Metadata: handler_name : DataHandler Output #0, wav, to 'pipe:': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt ISFT : Lavf55.22.103 Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s (default) Metadata: handler_name : DataHandler Stream mapping: Stream #0:0 -> #0:0 (alac -> pcm_s16le) Press [q] to stop, [?] for help ==27114== ---Thread-Announcement------------------------------------------ ==27114== ==27114== Thread #1 is the program's root thread ==27114== ==27114== ---Thread-Announcement------------------------------------------ ==27114== ==27114== Thread #11 was created ==27114== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==27114== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==27114== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==27114== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668490 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 4 at 0x7668540 by thread #1 ==27114== Locks held: none ==27114== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 2, at addresses 0x7668468 0x7668490 ==27114== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668540 is 384 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 8 at 0x7668CA0 by thread #1 ==27114== Locks held: none ==27114== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==27114== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous write of size 8 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xBAB728: av_frame_unref (frame.c:94) ==27114== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668CA0 is 0 bytes inside a block of size 624 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27114== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 4 at 0x7668EB8 by thread #1 ==27114== Locks held: none ==27114== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==27114== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xBAB728: av_frame_unref (frame.c:94) ==27114== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668EB8 is 536 bytes inside a block of size 624 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27114== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 8 at 0x7668CA0 by thread #1 ==27114== Locks held: none ==27114== at 0xBABC98: av_frame_move_ref (frame.c:384) ==27114== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous read of size 8 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AEBA: alac_decode_frame (alac.c:395) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668CA0 is 0 bytes inside a block of size 624 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27114== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 4 at 0x7668EB8 by thread #1 ==27114== Locks held: none ==27114== at 0xBABC98: av_frame_move_ref (frame.c:384) ==27114== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xBAB728: av_frame_unref (frame.c:94) ==27114== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668EB8 is 536 bytes inside a block of size 624 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27114== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 4 at 0x7668538 by thread #1 ==27114== Locks held: none ==27114== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668538 is 376 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 4 at 0x7668538 by thread #1 ==27114== Locks held: none ==27114== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668538 is 376 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 4 at 0x766853C by thread #1 ==27114== Locks held: none ==27114== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x766853C is 380 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 2 at 0x76AA620 by thread #1 ==27114== Locks held: none ==27114== at 0xB575B4: ??? (audio_convert.asm:390) ==27114== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== This conflicts with a previous write of size 2 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76AA620 is 0 bytes inside a block of size 8192 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 2 at 0x76AC6C0 by thread #1 ==27114== Locks held: none ==27114== at 0xB575BD: ??? (audio_convert.asm:390) ==27114== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== This conflicts with a previous write of size 2 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76AC6C0 is 0 bytes inside a block of size 8192 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 2 at 0x76AA640 by thread #1 ==27114== Locks held: none ==27114== at 0xB575D9: ??? (audio_convert.asm:390) ==27114== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== This conflicts with a previous write of size 2 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76AA640 is 32 bytes inside a block of size 8192 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Possible data race during read of size 8 at 0x766F200 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3D31: av_buffer_unref (buffer.c:111) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== Address 0x766F200 is 0 bytes inside a block of size 24 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA3A47: av_buffer_alloc (buffer.c:47) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Possible data race during read of size 4 at 0x766F12C by thread #1 ==27114== Locks held: none ==27114== at 0xBA3D43: av_buffer_unref (buffer.c:114) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== Address 0x766F12C is 12 bytes inside a block of size 40 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Possible data race during read of size 8 at 0x766F138 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3D55: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== Address 0x766F138 is 24 bytes inside a block of size 40 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Possible data race during read of size 8 at 0x766F120 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3D59: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== Address 0x766F120 is 0 bytes inside a block of size 40 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Possible data race during read of size 8 at 0x766F130 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3D5C: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== Address 0x766F130 is 16 bytes inside a block of size 40 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Possible data race during read of size 8 at 0x766A5C0 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3A80: pool_release_buffer (buffer.c:273) ==27114== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== ==27114== Address 0x766A5C0 is 32 bytes inside a block of size 40 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Possible data race during read of size 8 at 0x766A5B8 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3A84: pool_release_buffer (buffer.c:288) ==27114== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== ==27114== Address 0x766A5B8 is 24 bytes inside a block of size 40 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Possible data race during read of size 8 at 0x766F060 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3AA3: pool_release_buffer (atomic_gcc.h:57) ==27114== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== ==27114== Address 0x766F060 is 0 bytes inside a block of size 32 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27114== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Possible data race during read of size 4 at 0x766F068 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3AF7: pool_release_buffer (buffer.c:294) ==27114== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== ==27114== Address 0x766F068 is 8 bytes inside a block of size 32 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27114== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Possible data race during write of size 8 at 0x766A820 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27114== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== ==27114== Address 0x766A820 is 32 bytes inside a block of size 40 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27114== ---Thread-Announcement------------------------------------------ ==27114== ==27114== Thread #12 was created ==27114== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==27114== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==27114== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==27114== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 8 at 0x766A820 by thread #12 ==27114== Locks held: 2, at addresses 0x7673170 0x7668620 ==27114== at 0xBA43D8: av_buffer_pool_get (buffer.c:346) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== This conflicts with a previous write of size 8 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27114== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== ==27114== Address 0x766A820 is 32 bytes inside a block of size 40 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 8 at 0x766A820 by thread #12 ==27114== Locks held: 2, at addresses 0x7673170 0x7668620 ==27114== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== This conflicts with a previous write of size 8 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27114== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== ==27114== Address 0x766A820 is 32 bytes inside a block of size 40 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 2 at 0x76AC6C0 by thread #12 ==27114== Locks held: 1, at address 0x7668620 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== This conflicts with a previous read of size 2 by thread #1 ==27114== Locks held: none ==27114== at 0xB575BD: ??? (audio_convert.asm:390) ==27114== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== ==27114== Address 0x76AC6C0 is 0 bytes inside a block of size 8192 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 8 at 0x76689E0 by thread #1 ==27114== Locks held: none ==27114== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous read of size 8 by thread #11 ==27114== Locks held: 2, at addresses 0x7673170 0x7668468 ==27114== at 0x9604C9: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76689E0 is 544 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 8 at 0x76689C8 by thread #1 ==27114== Locks held: none ==27114== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous read of size 8 by thread #11 ==27114== Locks held: 2, at addresses 0x7673170 0x7668468 ==27114== at 0x960273: ff_get_buffer (utils.c:857) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76689C8 is 520 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 8 at 0x7668818 by thread #1 ==27114== Locks held: none ==27114== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous read of size 8 by thread #11 ==27114== Locks held: 2, at addresses 0x7673170 0x7668468 ==27114== at 0x475A90: get_buffer (ffmpeg.c:2056) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668818 is 88 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 4 at 0x7668AC4 by thread #1 ==27114== Locks held: none ==27114== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous read of size 4 by thread #11 ==27114== Locks held: 2, at addresses 0x7673170 0x7668468 ==27114== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668AC4 is 772 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 8 at 0x7668AD0 by thread #1 ==27114== Locks held: none ==27114== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous read of size 8 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0x95FF5B: ff_init_buffer_info (utils.c:763) ==27114== by 0x8C5D9A: ff_thread_get_buffer (pthread_frame.c:764) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668AD0 is 784 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 4 at 0x7668B54 by thread #1 ==27114== Locks held: none ==27114== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous read of size 4 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0x8C5DC0: ff_thread_get_buffer (pthread_frame.c:770) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668B54 is 916 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668648 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 4 at 0x76686F8 by thread #1 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #12 ==27114== Locks held: 2, at addresses 0x7668620 0x7668648 ==27114== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76686F8 is 824 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 8 at 0x76B2420 by thread #11 ==27114== Locks held: 2, at addresses 0x7673170 0x7668468 ==27114== at 0xBA43E5: av_buffer_pool_get (buffer.c:273) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== This conflicts with a previous write of size 8 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27114== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== ==27114== Address 0x76B2420 is 32 bytes inside a block of size 40 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668490 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 4 at 0x7668540 by thread #11 ==27114== Locks held: 2, at addresses 0x7668468 0x7668490 ==27114== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== This conflicts with a previous read of size 4 by thread #1 ==27114== Locks held: 1, at address 0x7668620 ==27114== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x4653EC: main (ffmpeg.c:1904) ==27114== ==27114== Address 0x7668540 is 384 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 8 at 0x76B6D60 by thread #1 ==27114== Locks held: none ==27114== at 0xB575B4: ??? (audio_convert.asm:390) ==27114== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== This conflicts with a previous write of size 2 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76B6D60 is 0 bytes inside a block of size 8192 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 8 at 0x7660340 by thread #1 ==27114== Locks held: none ==27114== at 0xB575BD: ??? (audio_convert.asm:390) ==27114== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== This conflicts with a previous write of size 2 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7660340 is 0 bytes inside a block of size 8192 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 8 at 0x76B6D80 by thread #1 ==27114== Locks held: none ==27114== at 0xB575D9: ??? (audio_convert.asm:390) ==27114== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== This conflicts with a previous write of size 2 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76B6D80 is 32 bytes inside a block of size 8192 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 8 at 0x76B2680 by thread #11 ==27114== Locks held: 2, at addresses 0x7673170 0x7668468 ==27114== at 0xBA4293: av_buffer_pool_uninit (buffer.c:228) ==27114== by 0x95F73E: avcodec_default_get_buffer2 (utils.c:575) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== This conflicts with a previous write of size 8 by thread #12 ==27114== Locks held: 2, at addresses 0x7673170 0x7668620 ==27114== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== ==27114== Address 0x76B2680 is 32 bytes inside a block of size 40 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_uninit fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 8 at 0x766F060 by thread #11 ==27114== Locks held: 2, at addresses 0x7673170 0x7668468 ==27114== at 0xBA42A3: av_buffer_pool_uninit (buffer.c:228) ==27114== by 0x95F73E: avcodec_default_get_buffer2 (utils.c:575) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== This conflicts with a previous read of size 8 by thread #1 ==27114== Locks held: none ==27114== at 0xBA3AA3: pool_release_buffer (atomic_gcc.h:57) ==27114== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27114== by 0xBAB68C: av_frame_unref (frame.c:369) ==27114== by 0xBAB825: av_frame_free (frame.c:128) ==27114== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== ==27114== Address 0x766F060 is 0 bytes inside a block of size 32 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27114== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_uninit fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 8 at 0x7669320 by thread #1 ==27114== Locks held: none ==27114== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27114== by 0x463FF4: main (ffmpeg.c:3059) ==27114== ==27114== This conflicts with a previous read of size 8 by thread #12 ==27114== Locks held: 2, at addresses 0x7673170 0x7668620 ==27114== at 0x9604C9: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7669320 is 544 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 8 at 0x7669308 by thread #1 ==27114== Locks held: none ==27114== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27114== by 0x463FF4: main (ffmpeg.c:3059) ==27114== ==27114== This conflicts with a previous read of size 8 by thread #12 ==27114== Locks held: 2, at addresses 0x7673170 0x7668620 ==27114== at 0x960273: ff_get_buffer (utils.c:857) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7669308 is 520 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 8 at 0x7669158 by thread #1 ==27114== Locks held: none ==27114== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27114== by 0x463FF4: main (ffmpeg.c:3059) ==27114== ==27114== This conflicts with a previous read of size 8 by thread #12 ==27114== Locks held: 2, at addresses 0x7673170 0x7668620 ==27114== at 0x475A90: get_buffer (ffmpeg.c:2056) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7669158 is 88 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 4 at 0x7669404 by thread #1 ==27114== Locks held: none ==27114== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27114== by 0x463FF4: main (ffmpeg.c:3059) ==27114== ==27114== This conflicts with a previous read of size 4 by thread #12 ==27114== Locks held: 2, at addresses 0x7673170 0x7668620 ==27114== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7669404 is 772 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 8 at 0x7669410 by thread #1 ==27114== Locks held: none ==27114== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27114== by 0x463FF4: main (ffmpeg.c:3059) ==27114== ==27114== This conflicts with a previous read of size 8 by thread #12 ==27114== Locks held: 2, at addresses 0x7673170 0x7668620 ==27114== at 0x96024D: ff_get_buffer (utils.c:763) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7669410 is 784 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7673170 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668620 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 4 at 0x7669494 by thread #1 ==27114== Locks held: none ==27114== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27114== by 0x463FF4: main (ffmpeg.c:3059) ==27114== ==27114== This conflicts with a previous read of size 4 by thread #12 ==27114== Locks held: 2, at addresses 0x7673170 0x7668620 ==27114== at 0x8C5E28: ff_thread_get_buffer (pthread_frame.c:788) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7669494 is 916 bytes inside a block of size 1072 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668490 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 4 at 0x7668540 by thread #1 ==27114== Locks held: none ==27114== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27114== by 0x463FF4: main (ffmpeg.c:3059) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 2, at addresses 0x7668468 0x7668490 ==27114== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668540 is 384 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 4 at 0x7668538 by thread #1 ==27114== Locks held: none ==27114== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27114== by 0x463FF4: main (ffmpeg.c:3059) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668538 is 376 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 4 at 0x7668538 by thread #1 ==27114== Locks held: none ==27114== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27114== by 0x463FF4: main (ffmpeg.c:3059) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668538 is 376 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 4 at 0x766853C by thread #1 ==27114== Locks held: none ==27114== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==27114== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27114== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27114== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27114== by 0x463FF4: main (ffmpeg.c:3059) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x766853C is 380 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 2 at 0x76B18A0 by thread #1 ==27114== Locks held: none ==27114== at 0xB51B18: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27114== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== This conflicts with a previous write of size 2 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76B18A0 is 2304 bytes inside a block of size 2368 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 2 at 0x76B18A2 by thread #1 ==27114== Locks held: none ==27114== at 0xB51B20: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27114== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== This conflicts with a previous write of size 2 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76B18A2 is 2306 bytes inside a block of size 2368 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 2 at 0x76B18A4 by thread #1 ==27114== Locks held: none ==27114== at 0xB51B2A: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27114== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== This conflicts with a previous write of size 2 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76B18A4 is 2308 bytes inside a block of size 2368 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 2 at 0x76B18A6 by thread #1 ==27114== Locks held: none ==27114== at 0xB51B34: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27114== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== This conflicts with a previous write of size 2 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76B18A6 is 2310 bytes inside a block of size 2368 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 2 at 0x76B18A8 by thread #1 ==27114== Locks held: none ==27114== at 0xB51B58: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27114== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27114== by 0xB5038E: swr_convert (swresample.c:623) ==27114== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27114== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27114== by 0x48DA31: request_frame (buffersrc.c:488) ==27114== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27114== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27114== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27114== ==27114== This conflicts with a previous write of size 2 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76B18A8 is 2312 bytes inside a block of size 2368 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB13F9: av_malloc (mem.c:94) ==27114== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27114== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27114== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27114== by 0x9604CE: ff_get_buffer (utils.c:965) ==27114== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27114== by 0xA9A104: alac_decode_frame (alac.c:294) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } size= 1637kB time=00:00:09.50 bitrate=1411.3kbits/s video:0kB audio:1637kB subtitle:0 global headers:0kB muxing overhead 0.004774% ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x766D6A0 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27114== by 0x965580: avcodec_open2 (utils.c:3284) ==27114== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27114== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27114== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27114== by 0x462EE7: main (ffmpeg.c:3522) ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Lock at 0x7668490 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during read of size 4 at 0x7668540 by thread #1 ==27114== Locks held: 1, at address 0x766D6A0 ==27114== at 0x8C4F5F: ff_frame_thread_free (pthread_frame.c:540) ==27114== by 0x440857: avcodec_close (utils.c:2587) ==27114== by 0x463712: main (ffmpeg.c:3413) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 2, at addresses 0x7668468 0x7668490 ==27114== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668540 is 384 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x766D6A0 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27114== by 0x965580: avcodec_open2 (utils.c:3284) ==27114== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27114== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27114== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27114== by 0x462EE7: main (ffmpeg.c:3522) ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 4 at 0x7668538 by thread #1 ==27114== Locks held: 1, at address 0x766D6A0 ==27114== at 0x8C4F4C: ff_frame_thread_free (pthread_frame.c:546) ==27114== by 0x440857: avcodec_close (utils.c:2587) ==27114== by 0x463712: main (ffmpeg.c:3413) ==27114== ==27114== This conflicts with a previous write of size 4 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27114== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x7668538 is 376 bytes inside a block of size 880 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27114== ---------------------------------------------------------------- ==27114== ==27114== Lock at 0x766D6A0 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27114== by 0x965580: avcodec_open2 (utils.c:3284) ==27114== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27114== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27114== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27114== by 0x462EE7: main (ffmpeg.c:3522) ==27114== ==27114== Lock at 0x7668468 was first observed ==27114== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== ==27114== Possible data race during write of size 4 at 0x76731A4 by thread #1 ==27114== Locks held: 1, at address 0x766D6A0 ==27114== at 0x8C513E: ff_frame_thread_free (pthread_frame.c:565) ==27114== by 0x440857: avcodec_close (utils.c:2587) ==27114== by 0x463712: main (ffmpeg.c:3413) ==27114== ==27114== This conflicts with a previous read of size 4 by thread #11 ==27114== Locks held: 1, at address 0x7668468 ==27114== at 0x8C410C: frame_worker_thread (pthread_frame.c:143) ==27114== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27114== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27114== ==27114== Address 0x76731A4 is 68 bytes inside a block of size 72 alloc'd ==27114== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27114== by 0xBB16DF: av_mallocz (mem.c:94) ==27114== by 0x8C5415: ff_frame_thread_init (pthread_frame.c:641) ==27114== by 0x965C97: avcodec_open2 (utils.c:1302) ==27114== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27114== by 0x462F3E: main (ffmpeg.c:3335) ==27114== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27114== ==27114== For counts of detected and suppressed errors, rerun with: -v ==27114== Use --history-level=approx or =none to gain increased speed, at ==27114== the cost of reduced accuracy of conflicting-access information ==27114== ERROR SUMMARY: 1253746 errors from 56 contexts (suppressed: 1676 from 96)
diffstderralac-16-level-21N-53857-g702c1bf
No diff output recorded
==27151== Helgrind, a thread error detector ==27151== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==27151== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==27151== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -threads 2 -thread_type frame+slice -i /home/ux/fate/fate-suite/audio-reference/luckynight_2ch_44kHz_s16.wav -c alac -compression_level 2 -f mov -y /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-2.mov ==27151== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, wav, from '/home/ux/fate/fate-suite/audio-reference/luckynight_2ch_44kHz_s16.wav': Duration: 00:00:09.50, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Output #0, mov, to '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-2.mov': Metadata: encoder : Lavf55.22.103 Stream #0:0: Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (pcm_s16le -> alac) Press [q] to stop, [?] for help size= 1018kB time=00:00:09.56 bitrate= 871.9kbits/s video:0kB audio:1017kB subtitle:0 global headers:0kB muxing overhead 0.110418% ==27151== ==27151== For counts of detected and suppressed errors, rerun with: -v ==27151== Use --history-level=approx or =none to gain increased speed, at ==27151== the cost of reduced accuracy of conflicting-access information ==27151== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 207 from 39) ==27162== Helgrind, a thread error detector ==27162== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==27162== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==27162== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -flags +bitexact -threads 2 -thread_type frame+slice -i /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-2.mov -c:a pcm_s16le -f wav - ==27162== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-level-2.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf55.22.103 Duration: 00:00:09.50, start: 0.000000, bitrate: 878 kb/s Stream #0:0(eng): Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 877 kb/s (default) Metadata: handler_name : DataHandler Output #0, wav, to 'pipe:': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt ISFT : Lavf55.22.103 Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s (default) Metadata: handler_name : DataHandler Stream mapping: Stream #0:0 -> #0:0 (alac -> pcm_s16le) Press [q] to stop, [?] for help ==27162== ---Thread-Announcement------------------------------------------ ==27162== ==27162== Thread #1 is the program's root thread ==27162== ==27162== ---Thread-Announcement------------------------------------------ ==27162== ==27162== Thread #11 was created ==27162== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==27162== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==27162== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==27162== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x7669F30 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 4 at 0x7669FE0 by thread #1 ==27162== Locks held: none ==27162== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 2, at addresses 0x7669F08 0x7669F30 ==27162== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7669FE0 is 384 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 8 at 0x766A740 by thread #1 ==27162== Locks held: none ==27162== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==27162== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous write of size 8 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xBAB728: av_frame_unref (frame.c:94) ==27162== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766A740 is 0 bytes inside a block of size 624 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27162== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 4 at 0x766A958 by thread #1 ==27162== Locks held: none ==27162== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==27162== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xBAB728: av_frame_unref (frame.c:94) ==27162== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766A958 is 536 bytes inside a block of size 624 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27162== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 8 at 0x766A740 by thread #1 ==27162== Locks held: none ==27162== at 0xBABC98: av_frame_move_ref (frame.c:384) ==27162== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous read of size 8 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AEBA: alac_decode_frame (alac.c:395) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766A740 is 0 bytes inside a block of size 624 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27162== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 4 at 0x766A958 by thread #1 ==27162== Locks held: none ==27162== at 0xBABC98: av_frame_move_ref (frame.c:384) ==27162== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xBAB728: av_frame_unref (frame.c:94) ==27162== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766A958 is 536 bytes inside a block of size 624 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27162== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 4 at 0x7669FD8 by thread #1 ==27162== Locks held: none ==27162== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7669FD8 is 376 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 4 at 0x7669FD8 by thread #1 ==27162== Locks held: none ==27162== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7669FD8 is 376 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 4 at 0x7669FDC by thread #1 ==27162== Locks held: none ==27162== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7669FDC is 380 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 2 at 0x76A8980 by thread #1 ==27162== Locks held: none ==27162== at 0xB575B4: ??? (audio_convert.asm:390) ==27162== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== This conflicts with a previous write of size 2 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x76A8980 is 0 bytes inside a block of size 8192 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 2 at 0x76AAA20 by thread #1 ==27162== Locks held: none ==27162== at 0xB575BD: ??? (audio_convert.asm:390) ==27162== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== This conflicts with a previous write of size 2 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x76AAA20 is 0 bytes inside a block of size 8192 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 2 at 0x76A89A0 by thread #1 ==27162== Locks held: none ==27162== at 0xB575D9: ??? (audio_convert.asm:390) ==27162== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== This conflicts with a previous write of size 2 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x76A89A0 is 32 bytes inside a block of size 8192 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Possible data race during read of size 8 at 0x766F160 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3D31: av_buffer_unref (buffer.c:111) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== Address 0x766F160 is 0 bytes inside a block of size 24 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA3A47: av_buffer_alloc (buffer.c:47) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Possible data race during read of size 4 at 0x766F08C by thread #1 ==27162== Locks held: none ==27162== at 0xBA3D43: av_buffer_unref (buffer.c:114) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== Address 0x766F08C is 12 bytes inside a block of size 40 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Possible data race during read of size 8 at 0x766F098 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3D55: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== Address 0x766F098 is 24 bytes inside a block of size 40 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Possible data race during read of size 8 at 0x766F080 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3D59: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== Address 0x766F080 is 0 bytes inside a block of size 40 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Possible data race during read of size 8 at 0x766F090 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3D5C: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== Address 0x766F090 is 16 bytes inside a block of size 40 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Possible data race during read of size 8 at 0x766F240 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3A80: pool_release_buffer (buffer.c:273) ==27162== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== ==27162== Address 0x766F240 is 32 bytes inside a block of size 40 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Possible data race during read of size 8 at 0x766F238 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3A84: pool_release_buffer (buffer.c:288) ==27162== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== ==27162== Address 0x766F238 is 24 bytes inside a block of size 40 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Possible data race during read of size 8 at 0x766C8A0 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3AA3: pool_release_buffer (atomic_gcc.h:57) ==27162== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== ==27162== Address 0x766C8A0 is 0 bytes inside a block of size 32 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27162== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Possible data race during read of size 4 at 0x766C8A8 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3AF7: pool_release_buffer (buffer.c:294) ==27162== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== ==27162== Address 0x766C8A8 is 8 bytes inside a block of size 32 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27162== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Possible data race during write of size 8 at 0x7663060 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27162== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== ==27162== Address 0x7663060 is 32 bytes inside a block of size 40 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27162== ---Thread-Announcement------------------------------------------ ==27162== ==27162== Thread #12 was created ==27162== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==27162== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==27162== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==27162== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 8 at 0x7663060 by thread #12 ==27162== Locks held: 2, at addresses 0x76710D0 0x766A0C0 ==27162== at 0xBA43D8: av_buffer_pool_get (buffer.c:346) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== This conflicts with a previous write of size 8 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27162== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== ==27162== Address 0x7663060 is 32 bytes inside a block of size 40 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 8 at 0x7663060 by thread #12 ==27162== Locks held: 2, at addresses 0x76710D0 0x766A0C0 ==27162== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== This conflicts with a previous write of size 8 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27162== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== ==27162== Address 0x7663060 is 32 bytes inside a block of size 40 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 8 at 0x766A4A0 by thread #1 ==27162== Locks held: none ==27162== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous read of size 8 by thread #11 ==27162== Locks held: 2, at addresses 0x76710D0 0x7669F08 ==27162== at 0x9604C9: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766A4A0 is 544 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 8 at 0x766A488 by thread #1 ==27162== Locks held: none ==27162== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous read of size 8 by thread #11 ==27162== Locks held: 2, at addresses 0x76710D0 0x7669F08 ==27162== at 0x960273: ff_get_buffer (utils.c:857) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766A488 is 520 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 8 at 0x766A2D8 by thread #1 ==27162== Locks held: none ==27162== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous read of size 8 by thread #11 ==27162== Locks held: 2, at addresses 0x76710D0 0x7669F08 ==27162== at 0x475A90: get_buffer (ffmpeg.c:2056) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766A2D8 is 88 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 4 at 0x766A584 by thread #1 ==27162== Locks held: none ==27162== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous read of size 4 by thread #11 ==27162== Locks held: 2, at addresses 0x76710D0 0x7669F08 ==27162== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766A584 is 772 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 8 at 0x766A590 by thread #1 ==27162== Locks held: none ==27162== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous read of size 8 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0x95FF5B: ff_init_buffer_info (utils.c:763) ==27162== by 0x8C5D9A: ff_thread_get_buffer (pthread_frame.c:764) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766A590 is 784 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 4 at 0x766A614 by thread #1 ==27162== Locks held: none ==27162== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous read of size 4 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0x8C5DC0: ff_thread_get_buffer (pthread_frame.c:770) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766A614 is 916 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0E8 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 4 at 0x766A198 by thread #1 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #12 ==27162== Locks held: 2, at addresses 0x766A0C0 0x766A0E8 ==27162== at 0x8C42A4: frame_worker_thread (pthread_frame.c:527) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766A198 is 824 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 2 at 0x76AAA20 by thread #12 ==27162== Locks held: 1, at address 0x766A0C0 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== This conflicts with a previous read of size 2 by thread #1 ==27162== Locks held: none ==27162== at 0xB575BD: ??? (audio_convert.asm:390) ==27162== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== ==27162== Address 0x76AAA20 is 0 bytes inside a block of size 8192 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0E8 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 4 at 0x766A198 by thread #12 ==27162== Locks held: 2, at addresses 0x766A0C0 0x766A0E8 ==27162== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== This conflicts with a previous read of size 4 by thread #1 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x4653EC: main (ffmpeg.c:1904) ==27162== ==27162== Address 0x766A198 is 824 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 8 at 0x7663120 by thread #12 ==27162== Locks held: 2, at addresses 0x76710D0 0x766A0C0 ==27162== at 0xBA43E5: av_buffer_pool_get (buffer.c:273) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== This conflicts with a previous write of size 8 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27162== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== ==27162== Address 0x7663120 is 32 bytes inside a block of size 40 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 8 at 0x76B53E0 by thread #1 ==27162== Locks held: none ==27162== at 0xB575B4: ??? (audio_convert.asm:390) ==27162== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== This conflicts with a previous write of size 2 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x76B53E0 is 0 bytes inside a block of size 8192 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 8 at 0x76AE680 by thread #1 ==27162== Locks held: none ==27162== at 0xB575BD: ??? (audio_convert.asm:390) ==27162== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== This conflicts with a previous write of size 2 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x76AE680 is 0 bytes inside a block of size 8192 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 8 at 0x76B5400 by thread #1 ==27162== Locks held: none ==27162== at 0xB575D9: ??? (audio_convert.asm:390) ==27162== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== This conflicts with a previous write of size 2 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x76B5400 is 32 bytes inside a block of size 8192 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 8 at 0x766F240 by thread #11 ==27162== Locks held: 2, at addresses 0x76710D0 0x7669F08 ==27162== at 0xBA4293: av_buffer_pool_uninit (buffer.c:228) ==27162== by 0x95F73E: avcodec_default_get_buffer2 (utils.c:575) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== This conflicts with a previous write of size 8 by thread #12 ==27162== Locks held: 2, at addresses 0x76710D0 0x766A0C0 ==27162== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== ==27162== Address 0x766F240 is 32 bytes inside a block of size 40 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_uninit fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 8 at 0x766C8A0 by thread #11 ==27162== Locks held: 2, at addresses 0x76710D0 0x7669F08 ==27162== at 0xBA42A3: av_buffer_pool_uninit (buffer.c:228) ==27162== by 0x95F73E: avcodec_default_get_buffer2 (utils.c:575) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== This conflicts with a previous read of size 8 by thread #1 ==27162== Locks held: none ==27162== at 0xBA3AA3: pool_release_buffer (atomic_gcc.h:57) ==27162== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27162== by 0xBAB68C: av_frame_unref (frame.c:369) ==27162== by 0xBAB825: av_frame_free (frame.c:128) ==27162== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== ==27162== Address 0x766C8A0 is 0 bytes inside a block of size 32 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27162== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_uninit fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 8 at 0x766ADE0 by thread #1 ==27162== Locks held: none ==27162== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27162== by 0x463FF4: main (ffmpeg.c:3059) ==27162== ==27162== This conflicts with a previous read of size 8 by thread #12 ==27162== Locks held: 2, at addresses 0x76710D0 0x766A0C0 ==27162== at 0x9604C9: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766ADE0 is 544 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 8 at 0x766ADC8 by thread #1 ==27162== Locks held: none ==27162== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27162== by 0x463FF4: main (ffmpeg.c:3059) ==27162== ==27162== This conflicts with a previous read of size 8 by thread #12 ==27162== Locks held: 2, at addresses 0x76710D0 0x766A0C0 ==27162== at 0x960273: ff_get_buffer (utils.c:857) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766ADC8 is 520 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 8 at 0x766AC18 by thread #1 ==27162== Locks held: none ==27162== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27162== by 0x463FF4: main (ffmpeg.c:3059) ==27162== ==27162== This conflicts with a previous read of size 8 by thread #12 ==27162== Locks held: 2, at addresses 0x76710D0 0x766A0C0 ==27162== at 0x475A90: get_buffer (ffmpeg.c:2056) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766AC18 is 88 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 4 at 0x766AEC4 by thread #1 ==27162== Locks held: none ==27162== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27162== by 0x463FF4: main (ffmpeg.c:3059) ==27162== ==27162== This conflicts with a previous read of size 4 by thread #12 ==27162== Locks held: 2, at addresses 0x76710D0 0x766A0C0 ==27162== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766AEC4 is 772 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 8 at 0x766AED0 by thread #1 ==27162== Locks held: none ==27162== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27162== by 0x463FF4: main (ffmpeg.c:3059) ==27162== ==27162== This conflicts with a previous read of size 8 by thread #12 ==27162== Locks held: 2, at addresses 0x76710D0 0x766A0C0 ==27162== at 0x96024D: ff_get_buffer (utils.c:763) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766AED0 is 784 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x76710D0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x766A0C0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 4 at 0x766AF54 by thread #1 ==27162== Locks held: none ==27162== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27162== by 0x463FF4: main (ffmpeg.c:3059) ==27162== ==27162== This conflicts with a previous read of size 4 by thread #12 ==27162== Locks held: 2, at addresses 0x76710D0 0x766A0C0 ==27162== at 0x8C5E28: ff_thread_get_buffer (pthread_frame.c:788) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x766AF54 is 916 bytes inside a block of size 1072 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x7669F30 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 4 at 0x7669FE0 by thread #1 ==27162== Locks held: none ==27162== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27162== by 0x463FF4: main (ffmpeg.c:3059) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 2, at addresses 0x7669F08 0x7669F30 ==27162== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7669FE0 is 384 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 4 at 0x7669FD8 by thread #1 ==27162== Locks held: none ==27162== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27162== by 0x463FF4: main (ffmpeg.c:3059) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7669FD8 is 376 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 4 at 0x7669FD8 by thread #1 ==27162== Locks held: none ==27162== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27162== by 0x463FF4: main (ffmpeg.c:3059) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7669FD8 is 376 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 4 at 0x7669FDC by thread #1 ==27162== Locks held: none ==27162== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==27162== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27162== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27162== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27162== by 0x463FF4: main (ffmpeg.c:3059) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7669FDC is 380 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 2 at 0x7673240 by thread #1 ==27162== Locks held: none ==27162== at 0xB51B18: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27162== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== This conflicts with a previous write of size 2 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7673240 is 2304 bytes inside a block of size 2368 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 2 at 0x7673242 by thread #1 ==27162== Locks held: none ==27162== at 0xB51B20: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27162== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== This conflicts with a previous write of size 2 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7673242 is 2306 bytes inside a block of size 2368 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 2 at 0x7673244 by thread #1 ==27162== Locks held: none ==27162== at 0xB51B2A: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27162== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== This conflicts with a previous write of size 2 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7673244 is 2308 bytes inside a block of size 2368 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 2 at 0x7673246 by thread #1 ==27162== Locks held: none ==27162== at 0xB51B34: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27162== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== This conflicts with a previous write of size 2 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7673246 is 2310 bytes inside a block of size 2368 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 2 at 0x7673248 by thread #1 ==27162== Locks held: none ==27162== at 0xB51B58: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27162== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27162== by 0xB5038E: swr_convert (swresample.c:623) ==27162== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27162== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27162== by 0x48DA31: request_frame (buffersrc.c:488) ==27162== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27162== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27162== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27162== ==27162== This conflicts with a previous write of size 2 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7673248 is 2312 bytes inside a block of size 2368 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB13F9: av_malloc (mem.c:94) ==27162== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27162== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27162== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27162== by 0x9604CE: ff_get_buffer (utils.c:965) ==27162== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27162== by 0xA9A104: alac_decode_frame (alac.c:294) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } size= 1637kB time=00:00:09.50 bitrate=1411.3kbits/s video:0kB audio:1637kB subtitle:0 global headers:0kB muxing overhead 0.004774% ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x766D6E0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27162== by 0x965580: avcodec_open2 (utils.c:3284) ==27162== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27162== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27162== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27162== by 0x462EE7: main (ffmpeg.c:3522) ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Lock at 0x7669F30 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during read of size 4 at 0x7669FE0 by thread #1 ==27162== Locks held: 1, at address 0x766D6E0 ==27162== at 0x8C4F5F: ff_frame_thread_free (pthread_frame.c:540) ==27162== by 0x440857: avcodec_close (utils.c:2587) ==27162== by 0x463712: main (ffmpeg.c:3413) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 2, at addresses 0x7669F08 0x7669F30 ==27162== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7669FE0 is 384 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x766D6E0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27162== by 0x965580: avcodec_open2 (utils.c:3284) ==27162== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27162== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27162== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27162== by 0x462EE7: main (ffmpeg.c:3522) ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 4 at 0x7669FD8 by thread #1 ==27162== Locks held: 1, at address 0x766D6E0 ==27162== at 0x8C4F4C: ff_frame_thread_free (pthread_frame.c:546) ==27162== by 0x440857: avcodec_close (utils.c:2587) ==27162== by 0x463712: main (ffmpeg.c:3413) ==27162== ==27162== This conflicts with a previous write of size 4 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27162== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7669FD8 is 376 bytes inside a block of size 880 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27162== ---------------------------------------------------------------- ==27162== ==27162== Lock at 0x766D6E0 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27162== by 0x965580: avcodec_open2 (utils.c:3284) ==27162== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27162== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27162== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27162== by 0x462EE7: main (ffmpeg.c:3522) ==27162== ==27162== Lock at 0x7669F08 was first observed ==27162== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== ==27162== Possible data race during write of size 4 at 0x7671104 by thread #1 ==27162== Locks held: 1, at address 0x766D6E0 ==27162== at 0x8C513E: ff_frame_thread_free (pthread_frame.c:565) ==27162== by 0x440857: avcodec_close (utils.c:2587) ==27162== by 0x463712: main (ffmpeg.c:3413) ==27162== ==27162== This conflicts with a previous read of size 4 by thread #11 ==27162== Locks held: 1, at address 0x7669F08 ==27162== at 0x8C410C: frame_worker_thread (pthread_frame.c:143) ==27162== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27162== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27162== ==27162== Address 0x7671104 is 68 bytes inside a block of size 72 alloc'd ==27162== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27162== by 0xBB16DF: av_mallocz (mem.c:94) ==27162== by 0x8C5415: ff_frame_thread_init (pthread_frame.c:641) ==27162== by 0x965C97: avcodec_open2 (utils.c:1302) ==27162== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27162== by 0x462F3E: main (ffmpeg.c:3335) ==27162== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27162== ==27162== For counts of detected and suppressed errors, rerun with: -v ==27162== Use --history-level=approx or =none to gain increased speed, at ==27162== the cost of reduced accuracy of conflicting-access information ==27162== ERROR SUMMARY: 1291208 errors from 56 contexts (suppressed: 1669 from 97)
diffstderralac-16-lpc-orders1N-53857-g702c1bf
No diff output recorded
==27200== Helgrind, a thread error detector ==27200== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==27200== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==27200== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -threads 2 -thread_type frame+slice -i /home/ux/fate/fate-suite/audio-reference/luckynight_2ch_44kHz_s16.wav -c alac -min_prediction_order 1 -max_prediction_order 30 -f mov -y /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-lpc-orders.mov ==27200== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, wav, from '/home/ux/fate/fate-suite/audio-reference/luckynight_2ch_44kHz_s16.wav': Duration: 00:00:09.50, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Output #0, mov, to '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-lpc-orders.mov': Metadata: encoder : Lavf55.22.103 Stream #0:0: Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (pcm_s16le -> alac) Press [q] to stop, [?] for help size= 1036kB time=00:00:09.56 bitrate= 887.2kbits/s video:0kB audio:1035kB subtitle:0 global headers:0kB muxing overhead 0.110025% ==27200== ==27200== For counts of detected and suppressed errors, rerun with: -v ==27200== Use --history-level=approx or =none to gain increased speed, at ==27200== the cost of reduced accuracy of conflicting-access information ==27200== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 208 from 40) ==27212== Helgrind, a thread error detector ==27212== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==27212== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==27212== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -flags +bitexact -threads 2 -thread_type frame+slice -i /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-lpc-orders.mov -c:a pcm_s16le -f wav - ==27212== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-16-lpc-orders.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf55.22.103 Duration: 00:00:09.50, start: 0.000000, bitrate: 893 kb/s Stream #0:0(eng): Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 892 kb/s (default) Metadata: handler_name : DataHandler Output #0, wav, to 'pipe:': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt ISFT : Lavf55.22.103 Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s (default) Metadata: handler_name : DataHandler Stream mapping: Stream #0:0 -> #0:0 (alac -> pcm_s16le) Press [q] to stop, [?] for help ==27212== ---Thread-Announcement------------------------------------------ ==27212== ==27212== Thread #1 is the program's root thread ==27212== ==27212== ---Thread-Announcement------------------------------------------ ==27212== ==27212== Thread #11 was created ==27212== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==27212== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==27212== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==27212== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669D90 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 4 at 0x7669E40 by thread #1 ==27212== Locks held: 1, at address 0x7669F20 ==27212== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #11 ==27212== Locks held: 2, at addresses 0x7669D68 0x7669D90 ==27212== at 0x8C42A4: frame_worker_thread (pthread_frame.c:527) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7669E40 is 384 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669D90 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 4 at 0x7669E40 by thread #1 ==27212== Locks held: none ==27212== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #11 ==27212== Locks held: 2, at addresses 0x7669D68 0x7669D90 ==27212== at 0x8C42A4: frame_worker_thread (pthread_frame.c:527) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7669E40 is 384 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---Thread-Announcement------------------------------------------ ==27212== ==27212== Thread #12 was created ==27212== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==27212== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==27212== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==27212== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 8 at 0x7660340 by thread #1 ==27212== Locks held: none ==27212== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==27212== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous write of size 8 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x95FB42: avcodec_default_get_buffer2 (utils.c:632) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7660340 is 0 bytes inside a block of size 624 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27212== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 4 at 0x7660380 by thread #1 ==27212== Locks held: none ==27212== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==27212== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x95FAF5: avcodec_default_get_buffer2 (utils.c:611) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7660380 is 64 bytes inside a block of size 624 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27212== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 8 at 0x7660340 by thread #1 ==27212== Locks held: none ==27212== at 0xBABC98: av_frame_move_ref (frame.c:384) ==27212== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous read of size 8 by thread #12 ==27212== Locks held: 1, at address 0x7669F20 ==27212== at 0xA9AEBA: alac_decode_frame (alac.c:395) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7660340 is 0 bytes inside a block of size 624 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27212== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 4 at 0x7660380 by thread #1 ==27212== Locks held: none ==27212== at 0xBABC98: av_frame_move_ref (frame.c:384) ==27212== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x95FAF5: avcodec_default_get_buffer2 (utils.c:611) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7660380 is 64 bytes inside a block of size 624 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27212== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 4 at 0x7669FF0 by thread #1 ==27212== Locks held: none ==27212== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #12 ==27212== Locks held: 1, at address 0x7669F20 ==27212== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7669FF0 is 816 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 4 at 0x7669FF0 by thread #1 ==27212== Locks held: none ==27212== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #12 ==27212== Locks held: 1, at address 0x7669F20 ==27212== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7669FF0 is 816 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 4 at 0x7669FF4 by thread #1 ==27212== Locks held: none ==27212== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #12 ==27212== Locks held: 1, at address 0x7669F20 ==27212== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7669FF4 is 820 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 2 at 0x76AC5C0 by thread #1 ==27212== Locks held: none ==27212== at 0xB575B4: ??? (audio_convert.asm:390) ==27212== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27212== by 0xB5038E: swr_convert (swresample.c:623) ==27212== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== This conflicts with a previous write of size 2 by thread #12 ==27212== Locks held: 1, at address 0x7669F20 ==27212== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x76AC5C0 is 0 bytes inside a block of size 8192 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 2 at 0x76AE8C0 by thread #1 ==27212== Locks held: none ==27212== at 0xB575BD: ??? (audio_convert.asm:390) ==27212== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27212== by 0xB5038E: swr_convert (swresample.c:623) ==27212== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== This conflicts with a previous write of size 2 by thread #12 ==27212== Locks held: 1, at address 0x7669F20 ==27212== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x76AE8C0 is 0 bytes inside a block of size 8192 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 2 at 0x76AC5E0 by thread #1 ==27212== Locks held: none ==27212== at 0xB575D9: ??? (audio_convert.asm:390) ==27212== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27212== by 0xB5038E: swr_convert (swresample.c:623) ==27212== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== This conflicts with a previous write of size 2 by thread #12 ==27212== Locks held: 1, at address 0x7669F20 ==27212== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x76AC5E0 is 32 bytes inside a block of size 8192 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Possible data race during read of size 8 at 0x76AE740 by thread #1 ==27212== Locks held: none ==27212== at 0xBA3D31: av_buffer_unref (buffer.c:111) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== Address 0x76AE740 is 0 bytes inside a block of size 24 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA3A47: av_buffer_alloc (buffer.c:47) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Possible data race during read of size 4 at 0x76AE66C by thread #1 ==27212== Locks held: none ==27212== at 0xBA3D43: av_buffer_unref (buffer.c:114) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== Address 0x76AE66C is 12 bytes inside a block of size 40 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Possible data race during read of size 8 at 0x76AE678 by thread #1 ==27212== Locks held: none ==27212== at 0xBA3D55: av_buffer_unref (buffer.c:115) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== Address 0x76AE678 is 24 bytes inside a block of size 40 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Possible data race during read of size 8 at 0x76AE660 by thread #1 ==27212== Locks held: none ==27212== at 0xBA3D59: av_buffer_unref (buffer.c:115) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== Address 0x76AE660 is 0 bytes inside a block of size 40 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Possible data race during read of size 8 at 0x76AE670 by thread #1 ==27212== Locks held: none ==27212== at 0xBA3D5C: av_buffer_unref (buffer.c:115) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== Address 0x76AE670 is 16 bytes inside a block of size 40 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Possible data race during read of size 8 at 0x76AE820 by thread #1 ==27212== Locks held: none ==27212== at 0xBA3A80: pool_release_buffer (buffer.c:273) ==27212== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== ==27212== Address 0x76AE820 is 32 bytes inside a block of size 40 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Possible data race during read of size 8 at 0x76AE818 by thread #1 ==27212== Locks held: none ==27212== at 0xBA3A84: pool_release_buffer (buffer.c:288) ==27212== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== ==27212== Address 0x76AE818 is 24 bytes inside a block of size 40 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Possible data race during write of size 8 at 0x76B0B20 by thread #1 ==27212== Locks held: none ==27212== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27212== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== ==27212== Address 0x76B0B20 is 32 bytes inside a block of size 40 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 8 at 0x766AD40 by thread #1 ==27212== Locks held: none ==27212== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous read of size 8 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x9604C9: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AD40 is 544 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 8 at 0x766AD28 by thread #1 ==27212== Locks held: none ==27212== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous read of size 8 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x960273: ff_get_buffer (utils.c:857) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AD28 is 520 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 8 at 0x766AB78 by thread #1 ==27212== Locks held: none ==27212== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous read of size 8 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x475A90: get_buffer (ffmpeg.c:2056) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AB78 is 88 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 4 at 0x766AE24 by thread #1 ==27212== Locks held: none ==27212== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous read of size 4 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AE24 is 772 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 8 at 0x766AE30 by thread #1 ==27212== Locks held: none ==27212== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous read of size 8 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x96024D: ff_get_buffer (utils.c:763) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AE30 is 784 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 4 at 0x766AEB4 by thread #1 ==27212== Locks held: none ==27212== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== This conflicts with a previous read of size 4 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x8C5E28: ff_thread_get_buffer (pthread_frame.c:788) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AEB4 is 916 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 8 at 0x7663160 by thread #1 ==27212== Locks held: none ==27212== at 0xBA3AEC: pool_release_buffer (buffer.c:280) ==27212== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== ==27212== This conflicts with a previous write of size 8 by thread #11 ==27212== Locks held: 2, at addresses 0x7664690 0x7669D68 ==27212== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== ==27212== Address 0x7663160 is 32 bytes inside a block of size 40 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669D90 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 4 at 0x7669E40 by thread #11 ==27212== Locks held: 2, at addresses 0x7669D68 0x7669D90 ==27212== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== This conflicts with a previous read of size 4 by thread #1 ==27212== Locks held: 1, at address 0x7669F20 ==27212== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x4653EC: main (ffmpeg.c:1904) ==27212== ==27212== Address 0x7669E40 is 384 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 8 at 0x76A8980 by thread #1 ==27212== Locks held: none ==27212== at 0xB575B4: ??? (audio_convert.asm:390) ==27212== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27212== by 0xB5038E: swr_convert (swresample.c:623) ==27212== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== This conflicts with a previous write of size 2 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x76A8980 is 0 bytes inside a block of size 8192 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 8 at 0x7660FE0 by thread #1 ==27212== Locks held: none ==27212== at 0xB575BD: ??? (audio_convert.asm:390) ==27212== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27212== by 0xB5038E: swr_convert (swresample.c:623) ==27212== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== This conflicts with a previous write of size 2 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7660FE0 is 0 bytes inside a block of size 8192 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 8 at 0x76A89A0 by thread #1 ==27212== Locks held: none ==27212== at 0xB575D9: ??? (audio_convert.asm:390) ==27212== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27212== by 0xB5038E: swr_convert (swresample.c:623) ==27212== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== This conflicts with a previous write of size 2 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x76A89A0 is 32 bytes inside a block of size 8192 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 8 at 0x766D5E0 by thread #1 ==27212== Locks held: none ==27212== at 0xBA3B33: pool_release_buffer (buffer.c:228) ==27212== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== ==27212== This conflicts with a previous read of size 8 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0xBA42DF: av_buffer_pool_get (buffer.c:252) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== ==27212== Address 0x766D5E0 is 0 bytes inside a block of size 32 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27212== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 8 at 0x766AD40 by thread #1 ==27212== Locks held: none ==27212== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27212== by 0x463FF4: main (ffmpeg.c:3059) ==27212== ==27212== This conflicts with a previous read of size 8 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x9604C9: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AD40 is 544 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 8 at 0x766AD28 by thread #1 ==27212== Locks held: none ==27212== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27212== by 0x463FF4: main (ffmpeg.c:3059) ==27212== ==27212== This conflicts with a previous read of size 8 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x960273: ff_get_buffer (utils.c:857) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AD28 is 520 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 8 at 0x766AB78 by thread #1 ==27212== Locks held: none ==27212== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27212== by 0x463FF4: main (ffmpeg.c:3059) ==27212== ==27212== This conflicts with a previous read of size 8 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x475A90: get_buffer (ffmpeg.c:2056) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AB78 is 88 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 4 at 0x766AE24 by thread #1 ==27212== Locks held: none ==27212== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27212== by 0x463FF4: main (ffmpeg.c:3059) ==27212== ==27212== This conflicts with a previous read of size 4 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AE24 is 772 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 8 at 0x766AE30 by thread #1 ==27212== Locks held: none ==27212== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27212== by 0x463FF4: main (ffmpeg.c:3059) ==27212== ==27212== This conflicts with a previous read of size 8 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x96024D: ff_get_buffer (utils.c:763) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AE30 is 784 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7664690 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669F20 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 4 at 0x766AEB4 by thread #1 ==27212== Locks held: none ==27212== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27212== by 0x463FF4: main (ffmpeg.c:3059) ==27212== ==27212== This conflicts with a previous read of size 4 by thread #12 ==27212== Locks held: 2, at addresses 0x7664690 0x7669F20 ==27212== at 0x8C5E28: ff_thread_get_buffer (pthread_frame.c:788) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x766AEB4 is 916 bytes inside a block of size 1072 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669D90 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 4 at 0x7669E40 by thread #1 ==27212== Locks held: none ==27212== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27212== by 0x463FF4: main (ffmpeg.c:3059) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #11 ==27212== Locks held: 2, at addresses 0x7669D68 0x7669D90 ==27212== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7669E40 is 384 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 4 at 0x7669E38 by thread #1 ==27212== Locks held: none ==27212== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27212== by 0x463FF4: main (ffmpeg.c:3059) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7669E38 is 376 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 4 at 0x7669E38 by thread #1 ==27212== Locks held: none ==27212== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27212== by 0x463FF4: main (ffmpeg.c:3059) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7669E38 is 376 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 4 at 0x7669E3C by thread #1 ==27212== Locks held: none ==27212== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==27212== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27212== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27212== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27212== by 0x463FF4: main (ffmpeg.c:3059) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7669E3C is 380 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 2 at 0x7673220 by thread #1 ==27212== Locks held: none ==27212== at 0xB51B18: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27212== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27212== by 0xB5038E: swr_convert (swresample.c:623) ==27212== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== This conflicts with a previous write of size 2 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7673220 is 2304 bytes inside a block of size 2368 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 2 at 0x7673222 by thread #1 ==27212== Locks held: none ==27212== at 0xB51B20: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27212== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27212== by 0xB5038E: swr_convert (swresample.c:623) ==27212== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== This conflicts with a previous write of size 2 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7673222 is 2306 bytes inside a block of size 2368 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 2 at 0x7673224 by thread #1 ==27212== Locks held: none ==27212== at 0xB51B2A: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27212== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27212== by 0xB5038E: swr_convert (swresample.c:623) ==27212== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== This conflicts with a previous write of size 2 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7673224 is 2308 bytes inside a block of size 2368 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 2 at 0x7673226 by thread #1 ==27212== Locks held: none ==27212== at 0xB51B34: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27212== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27212== by 0xB5038E: swr_convert (swresample.c:623) ==27212== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== This conflicts with a previous write of size 2 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7673226 is 2310 bytes inside a block of size 2368 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 2 at 0x7673228 by thread #1 ==27212== Locks held: none ==27212== at 0xB51B58: conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 (audioconvert.c:60) ==27212== by 0xB52F3D: swri_audio_convert (audioconvert.c:221) ==27212== by 0xB5038E: swr_convert (swresample.c:623) ==27212== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27212== ==27212== This conflicts with a previous write of size 2 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0xA9AED3: alac_decode_frame (alac.c:397) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7673228 is 2312 bytes inside a block of size 2368 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB13F9: av_malloc (mem.c:94) ==27212== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27212== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27212== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S16 fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Possible data race during read of size 8 at 0x766F1A0 by thread #1 ==27212== Locks held: none ==27212== at 0xBA3AA3: pool_release_buffer (atomic_gcc.h:57) ==27212== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== ==27212== Address 0x766F1A0 is 0 bytes inside a block of size 32 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27212== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Possible data race during read of size 4 at 0x766F1A8 by thread #1 ==27212== Locks held: none ==27212== at 0xBA3AF7: pool_release_buffer (buffer.c:294) ==27212== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27212== by 0xBAB68C: av_frame_unref (frame.c:369) ==27212== by 0xBAB825: av_frame_free (frame.c:128) ==27212== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27212== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27212== by 0x48DA31: request_frame (buffersrc.c:488) ==27212== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27212== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27212== ==27212== Address 0x766F1A8 is 8 bytes inside a block of size 32 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27212== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27212== by 0x9604CE: ff_get_buffer (utils.c:965) ==27212== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27212== by 0xA9A104: alac_decode_frame (alac.c:294) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } size= 1637kB time=00:00:09.50 bitrate=1411.3kbits/s video:0kB audio:1637kB subtitle:0 global headers:0kB muxing overhead 0.004774% ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x766D6A0 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27212== by 0x965580: avcodec_open2 (utils.c:3284) ==27212== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27212== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27212== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27212== by 0x462EE7: main (ffmpeg.c:3522) ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Lock at 0x7669D90 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during read of size 4 at 0x7669E40 by thread #1 ==27212== Locks held: 1, at address 0x766D6A0 ==27212== at 0x8C4F5F: ff_frame_thread_free (pthread_frame.c:540) ==27212== by 0x440857: avcodec_close (utils.c:2587) ==27212== by 0x463712: main (ffmpeg.c:3413) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #11 ==27212== Locks held: 2, at addresses 0x7669D68 0x7669D90 ==27212== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7669E40 is 384 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x766D6A0 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27212== by 0x965580: avcodec_open2 (utils.c:3284) ==27212== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27212== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27212== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27212== by 0x462EE7: main (ffmpeg.c:3522) ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 4 at 0x7669E38 by thread #1 ==27212== Locks held: 1, at address 0x766D6A0 ==27212== at 0x8C4F4C: ff_frame_thread_free (pthread_frame.c:546) ==27212== by 0x440857: avcodec_close (utils.c:2587) ==27212== by 0x463712: main (ffmpeg.c:3413) ==27212== ==27212== This conflicts with a previous write of size 4 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27212== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x7669E38 is 376 bytes inside a block of size 880 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27212== ---------------------------------------------------------------- ==27212== ==27212== Lock at 0x766D6A0 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x95E7A3: default_lockmgr_cb (utils.c:81) ==27212== by 0x965580: avcodec_open2 (utils.c:3284) ==27212== by 0x5D9BE0: avformat_find_stream_info (utils.c:2896) ==27212== by 0x471AD0: open_input_file (ffmpeg_opt.c:861) ==27212== by 0x47301E: ffmpeg_parse_options (ffmpeg_opt.c:2587) ==27212== by 0x462EE7: main (ffmpeg.c:3522) ==27212== ==27212== Lock at 0x7669D68 was first observed ==27212== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== ==27212== Possible data race during write of size 4 at 0x76646C4 by thread #1 ==27212== Locks held: 1, at address 0x766D6A0 ==27212== at 0x8C513E: ff_frame_thread_free (pthread_frame.c:565) ==27212== by 0x440857: avcodec_close (utils.c:2587) ==27212== by 0x463712: main (ffmpeg.c:3413) ==27212== ==27212== This conflicts with a previous read of size 4 by thread #11 ==27212== Locks held: 1, at address 0x7669D68 ==27212== at 0x8C410C: frame_worker_thread (pthread_frame.c:143) ==27212== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27212== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27212== ==27212== Address 0x76646C4 is 68 bytes inside a block of size 72 alloc'd ==27212== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27212== by 0xBB16DF: av_mallocz (mem.c:94) ==27212== by 0x8C5415: ff_frame_thread_init (pthread_frame.c:641) ==27212== by 0x965C97: avcodec_open2 (utils.c:1302) ==27212== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27212== by 0x462F3E: main (ffmpeg.c:3335) ==27212== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_frame_thread_free fun:avcodec_close fun:main } ==27212== ==27212== For counts of detected and suppressed errors, rerun with: -v ==27212== Use --history-level=approx or =none to gain increased speed, at ==27212== the cost of reduced accuracy of conflicting-access information ==27212== ERROR SUMMARY: 808583 errors from 52 contexts (suppressed: 1807 from 81)
diffstderralac-24-level-01N-53857-g702c1bf
No diff output recorded
==27249== Helgrind, a thread error detector ==27249== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==27249== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==27249== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -threads 2 -thread_type frame+slice -i /home/ux/fate/fate-suite/audio-reference/divertimenti_2ch_96kHz_s24.wav -c alac -compression_level 0 -f mov -y /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-24-level-0.mov ==27249== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, wav, from '/home/ux/fate/fate-suite/audio-reference/divertimenti_2ch_96kHz_s24.wav': Duration: 00:00:10.00, bitrate: 9216 kb/s Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 192000 Hz, stereo, s32, 9216 kb/s Output #0, mov, to '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-24-level-0.mov': Metadata: encoder : Lavf55.22.103 Stream #0:0: Audio: alac (alac / 0x63616C61), 192000 Hz, stereo, s32p, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (pcm_s24le -> alac) Press [q] to stop, [?] for help size= 11254kB time=00:00:10.00 bitrate=9214.8kbits/s video:0kB audio:11252kB subtitle:0 global headers:0kB muxing overhead 0.023347% ==27249== ==27249== For counts of detected and suppressed errors, rerun with: -v ==27249== Use --history-level=approx or =none to gain increased speed, at ==27249== the cost of reduced accuracy of conflicting-access information ==27249== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 207 from 39) ==27262== Helgrind, a thread error detector ==27262== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al. ==27262== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==27262== Command: /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg -nostats -cpuflags all -flags +bitexact -threads 2 -thread_type frame+slice -i /home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-24-level-0.mov -c:a pcm_s24le -f wav - ==27262== ffmpeg version N-59766-ge11983b Copyright (c) 2000-2014 the FFmpeg developers built on Jan 11 2014 17:31:01 with gcc 4.8.2 (GCC) configuration: --prefix=/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/install --samples=/home/ux/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --tool=helgrind --error-exitcode=1 --gen-suppressions=all --suppressions=/home/ux/fate/ffmpeg/tests/fate-valgrind.supp' --disable-stripping --disable-memory-poisoning libavutil 52. 62.100 / 52. 62.100 libavcodec 55. 47.101 / 55. 47.101 libavformat 55. 22.103 / 55. 22.103 libavdevice 55. 5.102 / 55. 5.102 libavfilter 4. 1.100 / 4. 1.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/tests/data/fate/alac-24-level-0.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf55.22.103 Duration: 00:00:10.00, start: 0.000000, bitrate: 9219 kb/s Stream #0:0(eng): Audio: alac (alac / 0x63616C61), 192000 Hz, stereo, s32p, 9217 kb/s (default) Metadata: handler_name : DataHandler Output #0, wav, to 'pipe:': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt ISFT : Lavf55.22.103 Stream #0:0(eng): Audio: pcm_s24le ([1][0][0][0] / 0x0001), 192000 Hz, stereo, s32, 9216 kb/s (default) Metadata: handler_name : DataHandler Stream mapping: Stream #0:0 -> #0:0 (alac -> pcm_s24le) Press [q] to stop, [?] for help ==27262== ---Thread-Announcement------------------------------------------ ==27262== ==27262== Thread #1 is the program's root thread ==27262== ==27262== ---Thread-Announcement------------------------------------------ ==27262== ==27262== Thread #11 was created ==27262== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==27262== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==27262== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==27262== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A810 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 4 at 0x766A8C0 by thread #1 ==27262== Locks held: 1, at address 0x766A9A0 ==27262== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 2, at addresses 0x766A7E8 0x766A810 ==27262== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x766A8C0 is 384 bytes inside a block of size 880 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A810 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 4 at 0x766A8C0 by thread #1 ==27262== Locks held: none ==27262== at 0x8C495B: ff_thread_decode_frame (pthread_frame.c:449) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 2, at addresses 0x766A7E8 0x766A810 ==27262== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x766A8C0 is 384 bytes inside a block of size 880 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 8 at 0x76843E0 by thread #1 ==27262== Locks held: none ==27262== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==27262== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous write of size 8 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0xBAB728: av_frame_unref (frame.c:94) ==27262== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76843E0 is 0 bytes inside a block of size 624 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27262== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 4 at 0x76845F8 by thread #1 ==27262== Locks held: none ==27262== at 0xBABC5C: av_frame_move_ref (frame.c:381) ==27262== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0xBAB728: av_frame_unref (frame.c:94) ==27262== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76845F8 is 536 bytes inside a block of size 624 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27262== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 8 at 0x76843E0 by thread #1 ==27262== Locks held: none ==27262== at 0xBABC98: av_frame_move_ref (frame.c:384) ==27262== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous read of size 8 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0xA99E38: alac_decode_frame (alac.c:304) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76843E0 is 0 bytes inside a block of size 624 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27262== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 4 at 0x76845F8 by thread #1 ==27262== Locks held: none ==27262== at 0xBABC98: av_frame_move_ref (frame.c:384) ==27262== by 0x8C48DC: ff_thread_decode_frame (pthread_frame.c:456) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0xBAB728: av_frame_unref (frame.c:94) ==27262== by 0x8C4157: frame_worker_thread (pthread_frame.c:151) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76845F8 is 536 bytes inside a block of size 624 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBAB48A: av_frame_alloc (frame.c:112) ==27262== by 0x8C54A7: ff_frame_thread_init (pthread_frame.c:657) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_frame_move_ref fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 4 at 0x766A8B8 by thread #1 ==27262== Locks held: none ==27262== at 0x8C48DD: ff_thread_decode_frame (pthread_frame.c:457) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x766A8B8 is 376 bytes inside a block of size 880 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 4 at 0x766A8B8 by thread #1 ==27262== Locks held: none ==27262== at 0x8C490A: ff_thread_decode_frame (pthread_frame.c:466) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0xA9B1E0: alac_decode_frame (alac.c:494) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x766A8B8 is 376 bytes inside a block of size 880 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 4 at 0x766A8BC by thread #1 ==27262== Locks held: none ==27262== at 0x8C4BD6: ff_thread_decode_frame (pthread_frame.c:478) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0x8C417F: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x766A8BC is 380 bytes inside a block of size 880 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 4 at 0x76A8900 by thread #1 ==27262== Locks held: none ==27262== at 0xB57664: ??? (audio_convert.asm:392) ==27262== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27262== by 0xB5038E: swr_convert (swresample.c:623) ==27262== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0xA99F21: alac_decode_frame (alac.c:372) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76A8900 is 0 bytes inside a block of size 16384 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 4 at 0x76AC9A0 by thread #1 ==27262== Locks held: none ==27262== at 0xB5766D: ??? (audio_convert.asm:392) ==27262== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27262== by 0xB5038E: swr_convert (swresample.c:623) ==27262== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0xA99F21: alac_decode_frame (alac.c:372) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76AC9A0 is 0 bytes inside a block of size 16384 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 4 at 0x76A8920 by thread #1 ==27262== Locks held: none ==27262== at 0xB57689: ??? (audio_convert.asm:392) ==27262== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27262== by 0xB5038E: swr_convert (swresample.c:623) ==27262== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0xA99F21: alac_decode_frame (alac.c:372) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76A8920 is 32 bytes inside a block of size 16384 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Possible data race during read of size 8 at 0x7671420 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3D31: av_buffer_unref (buffer.c:111) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27262== ==27262== Address 0x7671420 is 0 bytes inside a block of size 24 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA3A47: av_buffer_alloc (buffer.c:47) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Possible data race during read of size 4 at 0x766C8AC by thread #1 ==27262== Locks held: none ==27262== at 0xBA3D43: av_buffer_unref (buffer.c:114) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27262== ==27262== Address 0x766C8AC is 12 bytes inside a block of size 40 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Possible data race during read of size 8 at 0x766C8B8 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3D55: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27262== ==27262== Address 0x766C8B8 is 24 bytes inside a block of size 40 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Possible data race during read of size 8 at 0x766C8A0 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3D59: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27262== ==27262== Address 0x766C8A0 is 0 bytes inside a block of size 40 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Possible data race during read of size 8 at 0x766C8B0 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3D5C: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27262== ==27262== Address 0x766C8B0 is 16 bytes inside a block of size 40 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA3A16: av_buffer_alloc (buffer.c:34) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Possible data race during read of size 8 at 0x7671500 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3A80: pool_release_buffer (buffer.c:273) ==27262== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== ==27262== Address 0x7671500 is 32 bytes inside a block of size 40 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Possible data race during read of size 8 at 0x76714F8 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3A84: pool_release_buffer (buffer.c:288) ==27262== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== ==27262== Address 0x76714F8 is 24 bytes inside a block of size 40 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Possible data race during read of size 8 at 0x766C7E0 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3AA3: pool_release_buffer (atomic_gcc.h:57) ==27262== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== ==27262== Address 0x766C7E0 is 0 bytes inside a block of size 32 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27262== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Possible data race during read of size 4 at 0x766C7E8 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3AF7: pool_release_buffer (buffer.c:294) ==27262== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== ==27262== Address 0x766C7E8 is 8 bytes inside a block of size 32 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27262== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Possible data race during write of size 8 at 0x7661AE0 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27262== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== ==27262== Address 0x7661AE0 is 32 bytes inside a block of size 40 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:pool_release_buffer fun:av_buffer_unref fun:av_frame_unref fun:av_frame_free fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags } ==27262== ---Thread-Announcement------------------------------------------ ==27262== ==27262== Thread #12 was created ==27262== at 0x695A39E: clone (in /usr/lib/libc-2.18.so) ==27262== by 0x5F362B9: do_clone.constprop.3 (in /usr/lib/libpthread-2.18.so) ==27262== by 0x5F37742: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.18.so) ==27262== by 0x4C2C6D0: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C55E8: ff_frame_thread_init (pthread_frame.c:705) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 8 at 0x7661AE0 by thread #12 ==27262== Locks held: 2, at addresses 0x7665570 0x766A9A0 ==27262== at 0xBA43D8: av_buffer_pool_get (buffer.c:346) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== This conflicts with a previous write of size 8 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27262== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== ==27262== Address 0x7661AE0 is 32 bytes inside a block of size 40 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 8 at 0x7661AE0 by thread #12 ==27262== Locks held: 2, at addresses 0x7665570 0x766A9A0 ==27262== at 0xBA4470: av_buffer_pool_get (buffer.c:347) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== This conflicts with a previous write of size 8 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27262== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== ==27262== Address 0x7661AE0 is 32 bytes inside a block of size 40 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 4 at 0x76AC9A0 by thread #12 ==27262== Locks held: 1, at address 0x766A9A0 ==27262== at 0xA99F21: alac_decode_frame (alac.c:372) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== This conflicts with a previous read of size 4 by thread #1 ==27262== Locks held: none ==27262== at 0xB5766D: ??? (audio_convert.asm:392) ==27262== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27262== by 0xB5038E: swr_convert (swresample.c:623) ==27262== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== ==27262== Address 0x76AC9A0 is 0 bytes inside a block of size 16384 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 4 at 0x76AC9A0 by thread #12 ==27262== Locks held: 1, at address 0x766A9A0 ==27262== at 0xA9A010: alac_decode_frame (alac.c:403) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0xA99F21: alac_decode_frame (alac.c:372) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76AC9A0 is 0 bytes inside a block of size 16384 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 4 at 0x76AC9A0 by thread #12 ==27262== Locks held: 1, at address 0x766A9A0 ==27262== at 0xA9A010: alac_decode_frame (alac.c:403) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== This conflicts with a previous read of size 4 by thread #1 ==27262== Locks held: none ==27262== at 0xB5766D: ??? (audio_convert.asm:392) ==27262== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27262== by 0xB5038E: swr_convert (swresample.c:623) ==27262== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== ==27262== Address 0x76AC9A0 is 0 bytes inside a block of size 16384 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 4 at 0x76AC9A8 by thread #12 ==27262== Locks held: 1, at address 0x766A9A0 ==27262== at 0xA9A020: alac_decode_frame (alac.c:402) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0xA99F21: alac_decode_frame (alac.c:372) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76AC9A8 is 8 bytes inside a block of size 16384 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 4 at 0x76AC9A8 by thread #12 ==27262== Locks held: 1, at address 0x766A9A0 ==27262== at 0xA9A020: alac_decode_frame (alac.c:402) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== This conflicts with a previous read of size 4 by thread #1 ==27262== Locks held: none ==27262== at 0xB5766D: ??? (audio_convert.asm:392) ==27262== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27262== by 0xB5038E: swr_convert (swresample.c:623) ==27262== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== ==27262== Address 0x76AC9A8 is 8 bytes inside a block of size 16384 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 8 at 0x766AD60 by thread #1 ==27262== Locks held: none ==27262== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous read of size 8 by thread #11 ==27262== Locks held: 2, at addresses 0x7665570 0x766A7E8 ==27262== at 0x9604C9: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x766AD60 is 544 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 8 at 0x766AD48 by thread #1 ==27262== Locks held: none ==27262== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous read of size 8 by thread #11 ==27262== Locks held: 2, at addresses 0x7665570 0x766A7E8 ==27262== at 0x960273: ff_get_buffer (utils.c:857) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x766AD48 is 520 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 8 at 0x766AB98 by thread #1 ==27262== Locks held: none ==27262== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous read of size 8 by thread #11 ==27262== Locks held: 2, at addresses 0x7665570 0x766A7E8 ==27262== at 0x475A90: get_buffer (ffmpeg.c:2056) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x766AB98 is 88 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 4 at 0x766AE44 by thread #1 ==27262== Locks held: none ==27262== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous read of size 4 by thread #11 ==27262== Locks held: 2, at addresses 0x7665570 0x766A7E8 ==27262== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x766AE44 is 772 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 8 at 0x766AE50 by thread #1 ==27262== Locks held: none ==27262== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous read of size 8 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0x95FF5B: ff_init_buffer_info (utils.c:763) ==27262== by 0x8C5D9A: ff_thread_get_buffer (pthread_frame.c:764) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x766AE50 is 784 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 4 at 0x766AED4 by thread #1 ==27262== Locks held: none ==27262== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== This conflicts with a previous read of size 4 by thread #11 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0x8C5DC0: ff_thread_get_buffer (pthread_frame.c:770) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x766AED4 is 916 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 8 at 0x7661E00 by thread #11 ==27262== Locks held: 2, at addresses 0x7665570 0x766A7E8 ==27262== at 0xBA43E5: av_buffer_pool_get (buffer.c:273) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== This conflicts with a previous write of size 8 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27262== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== ==27262== Address 0x7661E00 is 32 bytes inside a block of size 40 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_get fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A9C8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5481: ff_frame_thread_init (pthread_frame.c:652) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 4 at 0x766AA78 by thread #12 ==27262== Locks held: 2, at addresses 0x766A9A0 0x766A9C8 ==27262== at 0x8C41CF: frame_worker_thread (pthread_frame.c:172) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== This conflicts with a previous read of size 4 by thread #1 ==27262== Locks held: 1, at address 0x766A7E8 ==27262== at 0x8C4558: ff_thread_decode_frame (pthread_frame.c:329) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x4653EC: main (ffmpeg.c:1904) ==27262== ==27262== Address 0x766AA78 is 824 bytes inside a block of size 880 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0x8C542A: ff_frame_thread_init (pthread_frame.c:643) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 8 at 0x76AC9A0 by thread #1 ==27262== Locks held: none ==27262== at 0xB57664: ??? (audio_convert.asm:392) ==27262== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27262== by 0xB5038E: swr_convert (swresample.c:623) ==27262== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #12 ==27262== Locks held: 1, at address 0x766A9A0 ==27262== at 0xA99F21: alac_decode_frame (alac.c:372) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76AC9A0 is 0 bytes inside a block of size 16384 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 8 at 0x76A8900 by thread #1 ==27262== Locks held: none ==27262== at 0xB5766D: ??? (audio_convert.asm:392) ==27262== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27262== by 0xB5038E: swr_convert (swresample.c:623) ==27262== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #12 ==27262== Locks held: 1, at address 0x766A9A0 ==27262== at 0xA99F21: alac_decode_frame (alac.c:372) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76A8900 is 0 bytes inside a block of size 16384 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 8 at 0x76AC9C0 by thread #1 ==27262== Locks held: none ==27262== at 0xB57689: ??? (audio_convert.asm:392) ==27262== by 0xB52FED: swri_audio_convert (audioconvert.c:206) ==27262== by 0xB5038E: swr_convert (swresample.c:623) ==27262== by 0x4DA4AC: filter_frame (af_aresample.c:205) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x48DA31: request_frame (buffersrc.c:488) ==27262== by 0x48D794: av_buffersrc_add_frame_internal (buffersrc.c:169) ==27262== by 0x48DE2C: av_buffersrc_add_frame_flags (buffersrc.c:106) ==27262== by 0x47B2F5: decode_audio (ffmpeg.c:1665) ==27262== ==27262== This conflicts with a previous write of size 4 by thread #12 ==27262== Locks held: 1, at address 0x766A9A0 ==27262== at 0xA99F21: alac_decode_frame (alac.c:372) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76AC9C0 is 32 bytes inside a block of size 16384 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0xBA39F7: av_buffer_alloc (buffer.c:70) ==27262== by 0xBA431B: av_buffer_pool_get (buffer.c:305) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race obj:/home/ux/fate/x86_64-archlinux-gcc-valgrind-threads/build/ffmpeg fun:swri_audio_convert fun:swr_convert fun:filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:ff_filter_frame_framed fun:ff_filter_frame fun:request_frame fun:av_buffersrc_add_frame_internal fun:av_buffersrc_add_frame_flags fun:decode_audio } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during read of size 8 at 0x7661E00 by thread #11 ==27262== Locks held: 2, at addresses 0x7665570 0x766A7E8 ==27262== at 0xBA4293: av_buffer_pool_uninit (buffer.c:228) ==27262== by 0x95F73E: avcodec_default_get_buffer2 (utils.c:575) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== This conflicts with a previous write of size 8 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3AD7: pool_release_buffer (buffer.c:279) ==27262== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== ==27262== Address 0x7661E00 is 32 bytes inside a block of size 40 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA4333: av_buffer_pool_get (buffer.c:309) ==27262== by 0x95FB56: avcodec_default_get_buffer2 (utils.c:629) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_uninit fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 8 at 0x766C7E0 by thread #11 ==27262== Locks held: 2, at addresses 0x7665570 0x766A7E8 ==27262== at 0xBA42A3: av_buffer_pool_uninit (buffer.c:228) ==27262== by 0x95F73E: avcodec_default_get_buffer2 (utils.c:575) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== This conflicts with a previous read of size 8 by thread #1 ==27262== Locks held: none ==27262== at 0xBA3AA3: pool_release_buffer (atomic_gcc.h:57) ==27262== by 0xBA3D5E: av_buffer_unref (buffer.c:115) ==27262== by 0xBAB68C: av_frame_unref (frame.c:369) ==27262== by 0xBAB825: av_frame_free (frame.c:128) ==27262== by 0x4DA4D5: filter_frame (af_aresample.c:217) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== by 0x489318: ff_filter_frame (avfilter.c:1161) ==27262== by 0x488495: ff_filter_frame_framed (avfilter.c:1081) ==27262== ==27262== Address 0x766C7E0 is 0 bytes inside a block of size 32 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB16DF: av_mallocz (mem.c:94) ==27262== by 0xBA4224: av_buffer_pool_init (buffer.c:208) ==27262== by 0x95F76A: avcodec_default_get_buffer2 (utils.c:581) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:av_buffer_pool_uninit fun:avcodec_default_get_buffer2 fun:ff_get_buffer fun:ff_thread_get_buffer fun:alac_decode_frame fun:frame_worker_thread obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so fun:start_thread fun:clone } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 8 at 0x76606C0 by thread #1 ==27262== Locks held: none ==27262== at 0x8C43CE: ff_thread_decode_frame (pthread_frame.c:255) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27262== by 0x463FF4: main (ffmpeg.c:3059) ==27262== ==27262== This conflicts with a previous read of size 8 by thread #12 ==27262== Locks held: 2, at addresses 0x7665570 0x766A9A0 ==27262== at 0x9604C9: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76606C0 is 544 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 8 at 0x76606A8 by thread #1 ==27262== Locks held: none ==27262== at 0x8C43DC: ff_thread_decode_frame (pthread_frame.c:258) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27262== by 0x463FF4: main (ffmpeg.c:3059) ==27262== ==27262== This conflicts with a previous read of size 8 by thread #12 ==27262== Locks held: 2, at addresses 0x7665570 0x766A9A0 ==27262== at 0x960273: ff_get_buffer (utils.c:857) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76606A8 is 520 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 8 at 0x76604F8 by thread #1 ==27262== Locks held: none ==27262== at 0x8C43F5: ff_thread_decode_frame (pthread_frame.c:263) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27262== by 0x463FF4: main (ffmpeg.c:3059) ==27262== ==27262== This conflicts with a previous read of size 8 by thread #12 ==27262== Locks held: 2, at addresses 0x7665570 0x766A9A0 ==27262== at 0x475A90: get_buffer (ffmpeg.c:2056) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76604F8 is 88 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 4 at 0x76607A4 by thread #1 ==27262== Locks held: none ==27262== at 0x8C43FF: ff_thread_decode_frame (pthread_frame.c:264) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27262== by 0x463FF4: main (ffmpeg.c:3059) ==27262== ==27262== This conflicts with a previous read of size 4 by thread #12 ==27262== Locks held: 2, at addresses 0x7665570 0x766A9A0 ==27262== at 0x95FE20: avcodec_default_get_buffer2 (utils.c:641) ==27262== by 0x9604CE: ff_get_buffer (utils.c:965) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76607A4 is 772 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 8 at 0x76607B0 by thread #1 ==27262== Locks held: none ==27262== at 0x8C4459: ff_thread_decode_frame (pthread_frame.c:273) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27262== by 0x463FF4: main (ffmpeg.c:3059) ==27262== ==27262== This conflicts with a previous read of size 8 by thread #12 ==27262== Locks held: 2, at addresses 0x7665570 0x766A9A0 ==27262== at 0x96024D: ff_get_buffer (utils.c:763) ==27262== by 0x8C5F2D: ff_thread_get_buffer (pthread_frame.c:794) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x76607B0 is 784 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x7665570 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5438: ff_frame_thread_init (pthread_frame.c:644) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A9A0 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Possible data race during write of size 4 at 0x7660834 by thread #1 ==27262== Locks held: none ==27262== at 0x8C4466: ff_thread_decode_frame (pthread_frame.c:274) ==27262== by 0x961E52: avcodec_decode_audio4 (utils.c:2267) ==27262== by 0x47AE2A: decode_audio (ffmpeg.c:1553) ==27262== by 0x47B709: output_packet.constprop.13 (ffmpeg.c:1904) ==27262== by 0x463FF4: main (ffmpeg.c:3059) ==27262== ==27262== This conflicts with a previous read of size 4 by thread #12 ==27262== Locks held: 2, at addresses 0x7665570 0x766A9A0 ==27262== at 0x8C5E28: ff_thread_get_buffer (pthread_frame.c:788) ==27262== by 0xA9A104: alac_decode_frame (alac.c:294) ==27262== by 0x8C417C: frame_worker_thread (pthread_frame.c:153) ==27262== by 0x4C2C866: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x5F370A1: start_thread (in /usr/lib/libpthread-2.18.so) ==27262== by 0x695A3DC: clone (in /usr/lib/libc-2.18.so) ==27262== ==27262== Address 0x7660834 is 916 bytes inside a block of size 1072 alloc'd ==27262== at 0x4C29EE0: memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x4C29FF7: posix_memalign (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0xBB13F9: av_malloc (mem.c:94) ==27262== by 0x8C5459: ff_frame_thread_init (pthread_frame.c:648) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== { <insert_a_suppression_name_here> Helgrind:Race fun:ff_thread_decode_frame fun:avcodec_decode_audio4 fun:decode_audio fun:output_packet.constprop.13 fun:main } ==27262== ---------------------------------------------------------------- ==27262== ==27262== Lock at 0x766A7E8 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so) ==27262== by 0x8C5473: ff_frame_thread_init (pthread_frame.c:651) ==27262== by 0x965C97: avcodec_open2 (utils.c:1302) ==27262== by 0x47CAC1: transcode_init (ffmpeg.c:2086) ==27262== by 0x462F3E: main (ffmpeg.c:3335) ==27262== ==27262== Lock at 0x766A810 was first observed ==27262== at 0x4C2D72A: pthread_mutex_init (in /us