[MPlayer-users] crash in filter_video with lavdopts=threads=2

William Brana wbrana at gmail.com
Mon Jul 6 14:31:01 CEST 2015


I ran valgrind on crashing and non-crashing avi file and found some
errors which are present only with crashing file. I'm not aware of
easy comparison of valgrind outputs.

==136168== Thread 2:
==136168== Invalid write of size 8
==136168==    at 0x86BFEB: ??? (fpel.asm:106)
==136168==    by 0x5211C6: decode_slice (h263dec.c:297)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x3141709e000 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BFEF: ??? (fpel.asm:106)
==136168==    by 0x5211C6: decode_slice (h263dec.c:297)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x3141709e2e0 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BFF4: ??? (fpel.asm:106)
==136168==    by 0x5211C6: decode_slice (h263dec.c:297)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x3141709e5c0 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BFF9: ??? (fpel.asm:106)
==136168==    by 0x5211C6: decode_slice (h263dec.c:297)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x3141709e8a0 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC57: ??? (fpel.asm:95)
==136168==    by 0x5211C6: decode_slice (h263dec.c:297)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170e8c00 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC5A: ??? (fpel.asm:95)
==136168==    by 0x5211C6: decode_slice (h263dec.c:297)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170e8d70 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC5E: ??? (fpel.asm:95)
==136168==    by 0x5211C6: decode_slice (h263dec.c:297)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170e8ee0 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC62: ??? (fpel.asm:95)
==136168==    by 0x5211C6: decode_slice (h263dec.c:297)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170e9050 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC57: ??? (fpel.asm:95)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170fb700 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC5A: ??? (fpel.asm:95)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170fb870 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC5E: ??? (fpel.asm:95)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170fb9e0 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC62: ??? (fpel.asm:95)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170fbb50 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BFEB: ??? (fpel.asm:106)
==136168==    by 0x5214CE: decode_slice (h263dec.c:264)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170e32c0 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BFEF: ??? (fpel.asm:106)
==136168==    by 0x5214CE: decode_slice (h263dec.c:264)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170e35a0 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BFF4: ??? (fpel.asm:106)
==136168==    by 0x5214CE: decode_slice (h263dec.c:264)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170e3880 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BFF9: ??? (fpel.asm:106)
==136168==    by 0x5214CE: decode_slice (h263dec.c:264)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170e3b60 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC57: ??? (fpel.asm:95)
==136168==    by 0x5214CE: decode_slice (h263dec.c:264)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170fa160 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC5A: ??? (fpel.asm:95)
==136168==    by 0x5214CE: decode_slice (h263dec.c:264)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170fa2d0 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC5E: ??? (fpel.asm:95)
==136168==    by 0x5214CE: decode_slice (h263dec.c:264)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170fa440 is not stack'd, malloc'd or (recently) free'd
==136168==
==136168== Invalid write of size 8
==136168==    at 0x86BC62: ??? (fpel.asm:95)
==136168==    by 0x5214CE: decode_slice (h263dec.c:264)
==136168==    by 0x521D9E: ff_h263_decode_frame (h263dec.c:635)
==136168==    by 0x6D479A: frame_worker_thread (pthread_frame.c:159)
==136168==    by 0x66454CB: start_thread (in /lib64/libpthread-2.20.so)
==136168==    by 0xAD10E3C: clone (in /lib64/libc-2.20.so)
==136168==  Address 0x314170fa5b0 is not stack'd, malloc'd or (recently) free'd
==136168==

==136168== Invalid read of size 8
==136168==    at 0x4C307F3: memcpy@@GLIBC_2.14 (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==136168==    by 0x150F35D5: memcpy_texture.isra.0 (in
/usr/lib64/mesa/i965_dri.so)
==136168==    by 0x150F3A05: _mesa_texstore (in /usr/lib64/mesa/i965_dri.so)
==136168==    by 0x150F4434: store_texsubimage (in /usr/lib64/mesa/i965_dri.so)
==136168==    by 0x150E1DD4: _mesa_texture_sub_image (in
/usr/lib64/mesa/i965_dri.so)
==136168==    by 0x150E20A5: texsubimage (in /usr/lib64/mesa/i965_dri.so)
==136168==    by 0x150E24D6: _mesa_TexSubImage2D (in
/usr/lib64/mesa/i965_dri.so)
==136168==    by 0x22467B: glUploadTex (gl_common.c:822)
==136168==    by 0x22AE64: draw_image (vo_gl.c:1110)
==136168==    by 0x22AE64: control (vo_gl.c:1424)
==136168==    by 0x2A83BC: put_image (vf_vo.c:168)
==136168==    by 0x272B42: filter_video (dec_video.c:486)
==136168==    by 0x214F91: update_video (mplayer.c:2505)
==136168==  Address 0x3141709e000 is not stack'd, malloc'd or (recently) free'd
==136168==


More information about the MPlayer-users mailing list