[Ffmpeg-devel] WMV3 segfaults in weight_h264_pixels2x2_c()

Nikns Siankin nikns
Fri Dec 22 12:53:06 CET 2006


# uname -a
OpenBSD obsd.my.domain 4.0 GENERIC#690 amd64

0061211/ffmpeg-cvs-20061211/ffplay_g -stats MojoFlix_Drunken-Bull.wmv      <
Input #0, asf, from 'MojoFlix_Drunken-Bull.wmv':
  Duration: 00:00:33.1, start: 5.000000, bitrate: 492 kb/s
  Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 64 kb/s
  Stream #0.1: Video: wmv2, yuv420p, 320x240, 30.00 fps(r)
Segmentation fault (core dumped) =  894KB sq=    0B    

g-cvs-20061211/ffplay_g ffplay.core                                        <
GNU gdb 6.3
Copyright 2004 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 "amd64-unknown-openbsd4.0"...

warning: exec file is newer than core file.
Core was generated by `ffplay'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.6.3...done.
Loaded symbols for /usr/lib/libpthread.so.6.3
Reading symbols from /usr/lib/libm.so.2.3...done.
Loaded symbols for /usr/lib/libm.so.2.3
Reading symbols from /usr/local/lib/libavformat.so.8.0...done.
Loaded symbols for /usr/local/lib/libavformat.so.8.0
Reading symbols from /usr/local/lib/libavcodec.so.8.0...done.
Loaded symbols for /usr/local/lib/libavcodec.so.8.0
Reading symbols from /usr/local/lib/libavutil.so.2.0...done.
Loaded symbols for /usr/local/lib/libavutil.so.2.0
Reading symbols from /usr/lib/libossaudio.so.3.0...done.
Loaded symbols for /usr/lib/libossaudio.so.3.0
Reading symbols from /usr/lib/libz.so.4.1...done.
Loaded symbols for /usr/lib/libz.so.4.1
Reading symbols from /usr/local/lib/libmp3lame.so.0.1...done.
Loaded symbols for /usr/local/lib/libmp3lame.so.0.1
Reading symbols from /usr/local/lib/libvorbis.so.5.1...done.
Loaded symbols for /usr/local/lib/libvorbis.so.5.1
Reading symbols from /usr/local/lib/libvorbisenc.so.2.2...done.
Loaded symbols for /usr/local/lib/libvorbisenc.so.2.2
Reading symbols from /usr/local/lib/libogg.so.5.3...done.
Loaded symbols for /usr/local/lib/libogg.so.5.3
Reading symbols from /usr/local/lib/libfaac.so.0.0...done.
Loaded symbols for /usr/local/lib/libfaac.so.0.0
Reading symbols from /usr/local/lib/libfaad.so.0.0...done.
Loaded symbols for /usr/local/lib/libfaad.so.0.0
Reading symbols from /usr/local/lib/libSDL.so.6.0...done.
Loaded symbols for /usr/local/lib/libSDL.so.6.0
Reading symbols from /usr/X11R6/lib/libX11.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.9.0
Reading symbols from /usr/X11R6/lib/libXext.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.9.0
Reading symbols from /usr/lib/libusbhid.so.3.0...done.
Loaded symbols for /usr/lib/libusbhid.so.3.0
Symbols already loaded for /usr/lib/libpthread.so.6.3
Reading symbols from /usr/lib/libc.so.39.3...done.
Loaded symbols for /usr/lib/libc.so.39.3
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/libXcursor.so.3.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.3.0
Reading symbols from /usr/X11R6/lib/libXrender.so.4.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.4.1
Reading symbols from /usr/X11R6/lib/libXfixes.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.4.0
#0  0x0000000046204220 in weight_h264_pixels2x2_c (block=0x44a92880 "?\006", stride=1113878356, 
    log2_denom=1181349664, weight=352, offset=8) at common.h:182
182         if (a&(~255)) return (-a)>>31;
(gdb) bt   
#0  0x0000000046204220 in weight_h264_pixels2x2_c (block=0x44a92880 "?\006", stride=1113878356, 
    log2_denom=1181349664, weight=352, offset=8) at common.h:182
#1  0x0000000046204985 in put_mspel8_mc12_c (
    dst=0x4d0a96b0 
"22244444134679;69779;9:97467655555554555444554443435344423442323233554565555555565445666777777                   
8766655555555665555555565566666666", '5' <repeats 19 times>, '4' <repeats 29 times>, '3' <repeats 18 
times>, "2133                   23"..., 
    src=0x426470b5 
"44444134679;989:887746765554343544443344333343544443344333323244234555555556544566655555565666                   
55555555665556665666666665776", '5' <repeats 16 times>, "3332", '4' <repeats 28 times>, '3' <repeats 
18 times>, "2                   1332342455"..., stride=1151936576) at dsputil.c:1110
#2  0x0000000046301235 in ff_mspel_motion (s=0x4587f000, 
    dest_y=0x4d0a96b0 
"22244444134679;69779;9:97467655555554555444554443435344423442323233554565555555565445666777                   
7778766655555555665555555565566666666", '5' <repeats 19 times>, '4' <repeats 29 times>, '3' <repeats 
18 times>, "2                   13323"..., 
    dest_cb=0x474765d8 
"\224\224\224\224\224\224\224\225\225\224\224\224\224\224\224\225\225\225\225\225\226\226\2                   
26\226\225\225\225\225\225\226\226", '\225' <repeats 77 times>, 
"\224\224\225\225\224\225\225\224\224\224\223\223\                   
224\225\225\224\224\225\225\225\226\226", '\225' <repeats 46 times>, 
"\224\224\224\224\224\224\224\225\225\224\224                   
\224\224\224\224\225\225\225\225\225\226\226\226\226"..., 
    dest_cr=0x4163e5d8 'z' <repeats 24 times>, "yyyyzzzzzyxxxxxxy", 'x' <repeats 13 times>, "yyxxxy", 
'x' <repeats                    28 times>, 'y' <repeats 12 times>, "xxxxyyy", 'x' <repeats 16 times>, 
"yyy", 'z' <repeats 74 times>..., 
    ref_picture=0x4587f128, pix_op=0x4587ff98, motion_x=9, motion_y=-41, h=16) at wmv2.c:648
#3  0x00000000461d2f32 in MPV_motion (s=0x4587f000, 
    dest_y=0x4d0a96b0 
"22244444134679;69779;9:97467655555554555444554443435344423442323233554565555555565445666777                   
7778766655555555665555555565566666666", '5' <repeats 19 times>, '4' <repeats 29 times>, '3' <repeats 
18 times>, "2                   13323"..., 
    dest_cb=0x474765d8 
"\224\224\224\224\224\224\224\225\225\224\224\224\224\224\224\225\225\225\225\225\226\226\2                   
26\226\225\225\225\225\225\226\226", '\225' <repeats 77 times>, 
"\224\224\225\225\224\225\225\224\224\224\223\223\                   
224\225\225\224\224\225\225\225\226\226", '\225' <repeats 46 times>, 
"\224\224\224\224\224\224\224\225\225\224\224                   
\224\224\224\224\225\225\225\225\225\226\226\226\226"..., 
    dest_cr=0x4163e5d8 'z' <repeats 24 times>, "yyyyzzzzzyxxxxxxy", 'x' <repeats 13 times>, "yyxxxy", 
'x' <repeats                    28 times>, 'y' <repeats 12 times>, "xxxxyyy", 'x' <repeats 16 times>, 
"yyy", 'z' <repeats 74 times>..., dir=11, 
    ref_picture=0x4587f128, pix_op=0x4587ff98, qpix_op=0x45880158) at mpegvideo.c:3010
#4  0x00000000461c9fa4 in MPV_decode_mb (s=0x4587f000, block=0x48d7a000) at mpegvideo.c:3840
#5  0x000000004630259f in decode_slice (s=0x4587f000) at h263dec.c:191
#6  0x0000000046303526 in ff_h263_decode_frame (avctx=0x40dcb000, data=0x47a4c600, 
data_size=0x44a92f3c, 
    buf=0x474ad000 
"\210?\201R\2061?g(\237?aMF\031\004d?\002????&\203\221?#l?W1??p\034?V?(\032f??\024\t?@?\020?\02                   
63\v?Q", buf_size=1736) at h263dec.c:689
---Type <return> to continue, or q <return> to quit---
#7  0x00000000461c043c in avcodec_encode_video (avctx=0x40dcb000, 
    buf=0x474ad000 
"\210?\201R\2061?g(\237?aMF\031\004d?\002????&\203\221?#l?W1??p\034?V?(\032f??\024\t?@?\020?\0263\v?Q", 
buf_size=1151938364, pict=0x6c8) at utils.c:873
#8  0x00000000004049cc in video_thread (arg=0x44a92880) at ffplay.c:1296
#9  0x000000004ac60ad7 in SDL_RunThread () from /usr/local/lib/libSDL.so.6.0
#10 0x000000004ac60c89 in RunThread () from /usr/local/lib/libSDL.so.6.0
#11 0x000000004d65a28d in _thread_start () at /usr/src/lib/libpthread/uthread/uthread_create.c:244
#12 0x000000000000001f in ?? ()
#13 0x0000000000000000 in ?? ()





More information about the ffmpeg-devel mailing list