mindphlux <[EMAIL PROTECTED]> added the comment:
I have the same bug, and I have uploaded another example with the same issue
(it's captured from german pay TV Premiere HD, a PAFFed h264 channel). The bug
only happens when you skip though the file (with cursor-right etc in ffplay)
Sample file upload in progress!
GDB Output below:
Starting program: /usr/local/bin/ffplay sample.mpg
[Thread debugging using libthread_db enabled]
[New Thread -1215407392 (LWP 31431)]
[New Thread -1215583344 (LWP 31434)]
[New Thread -1224529008 (LWP 31435)]
[New Thread -1240077424 (LWP 31436)]
[New Thread -1248470128 (LWP 31437)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1248470128 (LWP 31437)]
0x0813eed8 in put_h264_qpel16_mc00_mmx2 (dst=0x8830910 "", src=0x0, stride=1952)
at i386/dsputil_mmx.c:445
445 __asm __volatile(
#0 0x0813eed8 in put_h264_qpel16_mc00_mmx2 (dst=0x8830910 "", src=0x0,
stride=1952) at i386/dsputil_mmx.c:445
#1 0x080eda55 in MPV_motion (s=0x861b960, dest_y=<value optimized out>,
dest_cb=<value optimized out>, dest_cr=<value optimized out>, dir=0,
ref_picture=0x861ba4c, pix_op=<value optimized out>, qpix_op=0x861c714) at
mpegvideo_common.h:500
#2 0x080f1c64 in MPV_decode_mb (s=0x861b960, block=0x86c6a90) at
mpegvideo.c:1971
#3 0x083dd9ca in ff_er_frame_end (s=0x861b960) at error_resilience.c:39
#4 0x08292dd2 in decode_frame (avctx=0x85e7ca0, data=0x860f310,
data_size=0xb595d384, buf=0x8c06de0
"\226Y�+67Td\021\025�223�\206\215\024ȵ|h3�4\022UW{�\\215i�\234\r\224�\020\206D�212e��004�037J�Y'uI&.%\021)
\b\024��zYh\203o�t��g�\\2˴\vHb\216�\-\213�230&)l\222&�236p\226\036\226,T}`\021fB�$y\231�207H7\fZ\034\023\224\226v]���233\215b-\017\210#\016�227�M\200�023\025ԯ\b�ī�=w(.;\236\235�&{"...,
buf_size=35163) at h264.c:7757
#5 0x080f61f2 in avcodec_decode_video (avctx=0x85e7ca0, picture=0x860f310,
got_picture_ptr=0xb595d384, buf=0x8c06de0
"\226Y�+67Td\021\025�223�\206\215\024ȵ|h3�4\022UW{�\\215i�\234\r\224�\020\206D�212e��004�037J�Y'uI&.%\021)
\b\024��zYh\203o�t��g�\\2˴\vHb\216�\-\213�230&)l\222&�236p\226\036\226,T}`\021fB�$y\231�207H7\fZ\034\023\224\226v]���233\215b-\017\210#\016�227�M\200�023\025ԯ\b�ī�=w(.;\236\235�&{"...,
buf_size=35163) at utils.c:939
#6 0x0805e80c in video_thread (arg=0xb7033020) at ffplay.c:1367
#7 0xb7f03a3b in ?? () from /usr/lib/libSDL-1.2.so.0
#8 0xb7033020 in ?? ()
#9 0x0805e770 in ?? () at ffplay.c:1705
#10 0x0860ed28 in ?? ()
#11 0xb7f5da98 in ?? () from /usr/lib/libSDL-1.2.so.0
#12 0x00000000 in ?? ()
Dump of assembler code for function put_h264_qpel16_mc00_mmx2:
0x0813eeb0 <put_h264_qpel16_mc00_mmx2+0>: sub $0xc,%esp
0x0813eeb3 <put_h264_qpel16_mc00_mmx2+3>: mov %ebx,(%esp)
0x0813eeb6 <put_h264_qpel16_mc00_mmx2+6>: mov 0x10(%esp),%ebx
0x0813eeba <put_h264_qpel16_mc00_mmx2+10>: mov %esi,0x4(%esp)
0x0813eebe <put_h264_qpel16_mc00_mmx2+14>: mov 0x14(%esp),%ecx
0x0813eec2 <put_h264_qpel16_mc00_mmx2+18>: mov $0x10,%esi
0x0813eec7 <put_h264_qpel16_mc00_mmx2+23>: mov %edi,0x8(%esp)
0x0813eecb <put_h264_qpel16_mc00_mmx2+27>: mov 0x18(%esp),%edx
0x0813eecf <put_h264_qpel16_mc00_mmx2+31>: mov %ebx,%edi
0x0813eed1 <put_h264_qpel16_mc00_mmx2+33>: lea (%edx,%edx,1),%eax
0x0813eed4 <put_h264_qpel16_mc00_mmx2+36>: lea 0x0(%esi),%esi
0x0813eed8 <put_h264_qpel16_mc00_mmx2+40>: movq (%ecx),%mm0
0x0813eedb <put_h264_qpel16_mc00_mmx2+43>: movq 0x8(%ecx),%mm4
0x0813eedf <put_h264_qpel16_mc00_mmx2+47>: movq (%ecx,%edx,1),%mm1
0x0813eee3 <put_h264_qpel16_mc00_mmx2+51>: movq 0x8(%ecx,%edx,1),%mm5
0x0813eee8 <put_h264_qpel16_mc00_mmx2+56>: movq %mm0,(%edi)
0x0813eeeb <put_h264_qpel16_mc00_mmx2+59>: movq %mm4,0x8(%edi)
0x0813eeef <put_h264_qpel16_mc00_mmx2+63>: movq %mm1,(%edi,%edx,1)
0x0813eef3 <put_h264_qpel16_mc00_mmx2+67>: movq %mm5,0x8(%edi,%edx,1)
0x0813eef8 <put_h264_qpel16_mc00_mmx2+72>: add %eax,%ecx
0x0813eefa <put_h264_qpel16_mc00_mmx2+74>: add %eax,%edi
0x0813eefc <put_h264_qpel16_mc00_mmx2+76>: movq (%ecx),%mm0
0x0813eeff <put_h264_qpel16_mc00_mmx2+79>: movq 0x8(%ecx),%mm4
0x0813ef03 <put_h264_qpel16_mc00_mmx2+83>: movq (%ecx,%edx,1),%mm1
0x0813ef07 <put_h264_qpel16_mc00_mmx2+87>: movq 0x8(%ecx,%edx,1),%mm5
0x0813ef0c <put_h264_qpel16_mc00_mmx2+92>: movq %mm0,(%edi)
0x0813ef0f <put_h264_qpel16_mc00_mmx2+95>: movq %mm4,0x8(%edi)
0x0813ef13 <put_h264_qpel16_mc00_mmx2+99>: movq %mm1,(%edi,%edx,1)
0x0813ef17 <put_h264_qpel16_mc00_mmx2+103>: movq %mm5,0x8(%edi,%edx,1)
0x0813ef1c <put_h264_qpel16_mc00_mmx2+108>: add %eax,%ecx
0x0813ef1e <put_h264_qpel16_mc00_mmx2+110>: add %eax,%edi
0x0813ef20 <put_h264_qpel16_mc00_mmx2+112>: sub $0x4,%esi
0x0813ef23 <put_h264_qpel16_mc00_mmx2+115>: jne 0x813eed8
<put_h264_qpel16_mc00_mmx2+40>
0x0813ef25 <put_h264_qpel16_mc00_mmx2+117>: mov (%esp),%ebx
0x0813ef28 <put_h264_qpel16_mc00_mmx2+120>: mov 0x4(%esp),%esi
0x0813ef2c <put_h264_qpel16_mc00_mmx2+124>: mov 0x8(%esp),%edi
0x0813ef30 <put_h264_qpel16_mc00_mmx2+128>: add $0xc,%esp
0x0813ef33 <put_h264_qpel16_mc00_mmx2+131>: ret
End of assembler dump.
______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue189>
______________________________________________________