compn <[EMAIL PROTECTED]> added the comment:

here is mingw mplayer gdb
in the original report
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=947
reimar said it didnt crash for him.

MPlayer dev-SVN-r25045-3.4.5

E:\temp>gdb mplayer
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(gdb) run vp6_crash.avi
Starting program: e:\cdrive\mplayer/mplayer.exe vp6_crash.avi

Program received signal SIGSEGV, Segmentation fault.
0x00682994 in vp6_parse_coeff_huffman (s=0x334e000) at ../libavutil/bswap.h:57
57      {
(gdb) bt
#0  0x00682994 in vp6_parse_coeff_huffman (s=0x334e000)
    at ../libavutil/bswap.h:57
#1  0x007a3c35 in vp56_decode_frame (avctx=0x34f6e90, data=0x332fde0,
    data_size=0x22edac, buf=0x34defd8 "=8", buf_size=97928) at vp56.c:410
#2  0x005902c6 in avcodec_decode_video (avctx=0x34f6e90, picture=0x332fde0,
    got_picture_ptr=0x22edac, buf=0x34defd8 "=8", buf_size=97928)
    at utils.c:939
#3  0x00466981 in decode (sh=0x3410a18, data=0x34defd8, len=97928, flags=0)
    at vd_ffmpeg.c:780
#4  0x00463ca6 in decode_video (sh_video=0x3410a18, start=0x34defd8 "=8",
    in_size=97928, drop_frame=0, pts=0) at dec_video.c:366
#5  0x0040749f in main (argc=2, argv=0x2292718) at mplayer.c:2044
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x682974 to 0x6829b4:
0x682974 <vp6_parse_coeff_huffman+132>: add    %cl,0x7a8bc875(%ebx)
0x68297a <vp6_parse_coeff_huffman+138>: add    $0x8b,%al
0x68297c <vp6_parse_coeff_huffman+140>: push   %ebp
0x68297d <vp6_parse_coeff_huffman+141>: or     %cl,0x928b085e(%ebx)
0x682983 <vp6_parse_coeff_huffman+147>: pop    %esp
0x682984 <vp6_parse_coeff_huffman+148>: and    $0x0,%al
0x682986 <vp6_parse_coeff_huffman+150>: add    %cl,0xc1d989d8(%ecx)
0x68298c <vp6_parse_coeff_huffman+156>: clc
0x68298d <vp6_parse_coeff_huffman+157>: add    0x558907e1(%ebx),%eax
0x682993 <vp6_parse_coeff_huffman+163>: int3
0x682994 <vp6_parse_coeff_huffman+164>: mov    (%eax,%edx,1),%eax
0x682997 <vp6_parse_coeff_huffman+167>: bswap  %eax
0x682999 <vp6_parse_coeff_huffman+169>: shl    %cl,%eax
0x68299b <vp6_parse_coeff_huffman+171>: shr    $0xf7,%eax
0x68299e <vp6_parse_coeff_huffman+174>: movswl 0x2(%edi,%eax,4),%edx
0x6829a3 <vp6_parse_coeff_huffman+179>: movswl (%edi,%eax,4),%esi
0x6829a7 <vp6_parse_coeff_huffman+183>: test   %edx,%edx
0x6829a9 <vp6_parse_coeff_huffman+185>:
    jns    0x682a04 <vp6_parse_coeff_huffman+276>
0x6829ab <vp6_parse_coeff_huffman+187>: add    $0x9,%ebx
0x6829ae <vp6_parse_coeff_huffman+190>: mov    0xffffffcc(%ebp),%ecx
0x6829b1 <vp6_parse_coeff_huffman+193>: neg    %edx
---Type <return> to continue, or q <return> to quit---
0x6829b3 <vp6_parse_coeff_huffman+195>: mov    %ebx,%eax
End of assembler dump.
(gdb) info all-registers
eax            0x18f4a  102218
ecx            0x1      1
edx            0x34df0b4        55439540
ebx            0xc7a51  817745
esp            0x22eb00 0x22eb00
ebp            0x22eb38 0x22eb38
esi            0x335045c        53806172
edi            0x332c3b0        53658544
eip            0x682994 0x682994
eflags         0x10202  66050
cs             0x1b     27
ss             0x23     35
ds             0x23     35
es             0x23     35
fs             0x38     56
gs             0x0      0
st0            -nan(0xffffffffffffffff) (raw 0xffffffffffffffffffff)
st1            -nan(0x8080808080808080) (raw 0xffff8080808080808080)
st2            -nan(0x208020802080208)  (raw 0xffff0208020802080208)
st3            -nan(0x208020802080208)  (raw 0xffff0208020802080208)
st4            -nan(0x208020802080208)  (raw 0xffff0208020802080208)
st5            -nan(0x208020802080208)  (raw 0xffff0208020802080208)
st6            -nan(0x208020802080208)  (raw 0xffff0208020802080208)
---Type <return> to continue, or q <return> to quit---
st7            -nan(0x208020802080208)  (raw 0xffff0208020802080208)
fctrl          0xffff037f       -64641
fstat          0xffff0020       -65504
ftag           0xffffaaaa       -21846
fiseg          0x0      0
fioff          0x0      0
foseg          0xffff0000       -65536
fooff          0x0      0
fop            0x0      0
(gdb)

----------
substatus: needs_more_info -> open

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue275>
______________________________________________________

Reply via email to