compn <[EMAIL PROTECTED]> added the comment:

still crashes on mac and win32

MPlayer dev-SVN-r25283-3.4.5 (C) 2000-2007 MPlayer Team

E:\temp>gdb e:\mplayer-testclips\mplayer\mplayer.exe
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 -v vp6_crash.avi
Starting program: e:\mplayer-testclips\mplayer\mplayer.exe -v vp6_crash.avi

Program received signal SIGSEGV, Segmentation fault.
0x00685674 in vp6_get_nb_null (s=0x14c35) at ../libavutil/bswap.h:57
57      {
(gdb) bt
#0  0x00685674 in vp6_get_nb_null (s=0x14c35) at ../libavutil/bswap.h:57
#1  0x03366b6c in ?? ()
#2  0x00685a60 in vp6_parse_coeff_huffman (s=0x3364710) at vp6.c:383
#3  0x007a7945 in vp56_decode_frame (avctx=0x33499f0, data=0x3349900,
    data_size=0x22edac, buf=0x3b58378 "φ", buf_size=3340) at vp56.c:410
#4  0x00591556 in avcodec_decode_video (avctx=0x33499f0, picture=0x3349900,
    got_picture_ptr=0x22edac, buf=0x3b58378 "φ", buf_size=3340) at utils.c:939
#5  0x004672d1 in decode (sh=0x334ad78, data=0x3b58378, len=3340, flags=0)
    at vd_ffmpeg.c:780
#6  0x004645f6 in decode_video (sh_video=0x334ad78, start=0x3b58378 "φ",
    in_size=3340, drop_frame=0, pts=0.73406738042831421) at dec_video.c:366
#7  0x004074df in main (argc=3, argv=0x22a2750) at mplayer.c:2049
(gdb) info all-registers
eax            0x14c35  85045
ecx            0x0      0
edx            0xa61aa  680362
ebx            0xa61a8  680360
esp            0x22eae8 0x22eae8
ebp            0x22eaf8 0x22eaf8
esi            0x2      2
edi            0x3b583c8        62227400
eip            0x685674 0x685674
eflags         0x10216  66070
cs             0x1b     27
ss             0x23     35
ds             0x23     35
es             0x23     35
fs             0x38     56
gs             0x0      0
st0            0        (raw 0xffff0000000000000000)
st1            -nan(0xfeeffeeffeeffeef) (raw 0xfffffeeffeeffeeffeef)
st2            0        (raw 0xffff0000000000000000)
st3            -nan(0xfeeffeeffeeffeef) (raw 0xfffffeeffeeffeeffeef)
st4            0        (raw 0xffff0000000000000000)
st5            0        (raw 0xffff0000000000000000)
st6            0        (raw 0xffff0000000000000000)
---Type <return> to continue, or q <return> to quit---
st7            0        (raw 0xffff0000000000000000)
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) disass $pc-32 $pc+32
Dump of assembler code from 0x685654 to 0x685694:
0x685654 <vp6_get_nb_null+68>:  adc    0x3a7403f8(%ebx),%al
0x68565a <vp6_get_nb_null+74>:  mov    %esi,%eax
0x68565c <vp6_get_nb_null+76>:  mov    0xfffffff4(%ebp),%ebx
0x68565f <vp6_get_nb_null+79>:  mov    0xfffffff8(%ebp),%esi
0x685662 <vp6_get_nb_null+82>:  mov    0xfffffffc(%ebp),%edi
0x685665 <vp6_get_nb_null+85>:  leave
0x685666 <vp6_get_nb_null+86>:  ret
0x685667 <vp6_get_nb_null+87>:  mov    %ebx,%eax
0x685669 <vp6_get_nb_null+89>:  mov    %ebx,%ecx
0x68566b <vp6_get_nb_null+91>:  lea    0x2(%ebx),%edx
0x68566e <vp6_get_nb_null+94>:  and    $0x7,%ecx
0x685671 <vp6_get_nb_null+97>:  sar    $0x3,%eax
0x685674 <vp6_get_nb_null+100>: mov    (%eax,%edi,1),%eax
0x685677 <vp6_get_nb_null+103>: bswap  %eax
0x685679 <vp6_get_nb_null+105>: shl    %cl,%eax
0x68567b <vp6_get_nb_null+107>: mov    0xfffffff0(%ebp),%ecx
0x68567e <vp6_get_nb_null+110>: shr    $0xfe,%eax
0x685681 <vp6_get_nb_null+113>: lea    0x2(%eax),%esi
0x685684 <vp6_get_nb_null+116>: mov    %edx,0x8(%ecx)
0x685687 <vp6_get_nb_null+119>: mov    0xfffffff4(%ebp),%ebx
0x68568a <vp6_get_nb_null+122>: mov    %esi,%eax
0x68568c <vp6_get_nb_null+124>: mov    0xfffffffc(%ebp),%edi
---Type <return> to continue, or q <return> to quit---
0x68568f <vp6_get_nb_null+127>: mov    0xfffffff8(%ebp),%esi
0x685692 <vp6_get_nb_null+130>: leave
0x685693 <vp6_get_nb_null+131>: ret
End of assembler dump.
(gdb) quit
The program is running.  Exit anyway? (y or n) y

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

Reply via email to