[MPlayer-users] [BUG] lavc segfault with preme > 0

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Thu Jan 2 12:58:32 CET 2003


The current mplayer & libavcodec segfaults when setting "preme" arg to 
something else than 0.

./mencoder -v -nosound -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=900:preme=1 -o "out.avi" in.avi

GDB backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 22186)]
0x081e9100 in sad16x16_mmx2 (s=0x8416810, 
    blk2=0x84dde70 '\022' <repeats 16 times>, '\200' <repeats 32 times>, "\023\023\023\023\023\023\023\023", '\022' <repeats 32 times>, '\023' <repeats 16 times>, "\022\022\022\022\022\022\022\022\023\023\023\023\023\023\023\023", '\022' <repeats 32 times>, "\025\023\024\024\025\034\036\025", '\022' <repeats 16 times>, '\023' <repeats 24 times>..., blk1=0x77eaeefc "", stride=352) at i386/motion_est_mmx.c:70
70          asm volatile(
(gdb) bt
#0  0x081e9100 in sad16x16_mmx2 (s=0x8416810, 
    blk2=0x84dde70 '\022' <repeats 16 times>, '\200' <repeats 32 times>, "\023\023\023\023\023\023\023\023", '\022' <repeats 32 times>, '\023' <repeats 16 times>, "\022\022\022\022\022\022\022\022\023\023\023\023\023\023\023\023", '\022' <repeats 32 times>, "\025\023\024\024\025\034\036\025", '\022' <repeats 16 times>, '\023' <repeats 24 times>..., blk1=0x77eaeefc "", stride=352) at i386/motion_est_mmx.c:70
#1  0x081916d5 in simple_epzs_motion_search (s=0x8416810, block=0, mx_ptr=0xbffe5658, my_ptr=0xbffe5654, 
    P=0xbffe5670, pred_x=0, pred_y=0, xmin=-320, ymin=-240, xmax=16, ymax=6, ref_picture=0x84172a8, 
    last_mv=0x8437040, ref_mv_scale=32768, mv_penalty=0x8458b72) at motion_est_template.c:857
#2  0x081a64ee in ff_pre_estimate_p_frame_motion (s=0x8416810, mb_x=19, mb_y=0) at motion_est.c:1078
#3  0x081647da in encode_picture (s=0x8416810, picture_number=1) at mpegvideo.c:2799
#4  0x0815f7ff in MPV_encode_picture (avctx=0xe, buf=0xffffea00 <Address 0xffffea00 out of bounds>, 
    buf_size=-5632, data=0xffffea00) at mpegvideo.c:1227
#5  0x0815c7aa in avcodec_encode_video (avctx=0x8339cf0, buf=0xffffea00 <Address 0xffffea00 out of bounds>, 
    buf_size=-5632, pict=0xffffea00) at utils.c:300
#6  0x08084d00 in put_image (vf=0x8318c30, mpi=0x77eb04fc) at ve_lavc.c:473
#7  0x0809a929 in vf_next_put_image (vf=0xffffea00, mpi=0xffffea00) at vf.c:399
#8  0x0808c711 in decode_video (sh_video=0x831a108, start=0xffffea00 <Address 0xffffea00 out of bounds>, 
    in_size=-5632, drop_frame=0) at dec_video.c:329
#9  0x08062c7f in main (argc=-5632, argv=0xffffea00) at mencoder.c:1088


-- 
Jindrich Makovicka

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: err.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030102/e72d175a/attachment.txt>


More information about the MPlayer-users mailing list