[MPlayer-dev-eng] Fwd: [Mplayer-advusers] mencoder SIG11

Arpi arpi at thot.banki.hu
Wed Jan 1 01:32:11 CET 2003


Michael, what about this?

--------- Forwarded message ---------
From: rsnel at cube.dyndns.org
To: mplayer-advusers at mplayerhq.hu
Subject: [Mplayer-advusers] mencoder SIG11

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime at docserver.cac.washington.edu for more info.


Hello,

Recent mencoder exits with sig 11 while encoding the 301st frame of
test.avi (to be found in
http://www.phys.uu.nl/~snel/mencoder_sig11.tar.bz2 ).
MMX, 3dnow disabled. Shortened GDB log attached, full GDB log included in
.tar.bz2. Using the contents of the .tar.bz2 the bug should be
reproducible.

Commandline:
mencoder -ovc lavc -lavcopts \
vcodec=mpeg4:vqmin=2:vbitrate=2050:vmax_b_frames=2:keyint=132:vlelim=-4 \
~/capture/test.avi -o ~/capture/columbo2.avi

With bitrate 1050 -> no segfault
without vlelim=-4 -> no segfault
without keyint=132 -> no segfault
without vmax_b_frames=2 -> no segfault
segfault also depends on input (slightly different test.avi (with
noisereduction , for example, moves segfault to arround 2000th frame)

Distribution: LFS
Kernel 2.4.18
libc 2.1.3
gcc 2.95.3
ld 2.10 (with BFD 2.10)
as 2.10
Processor: AMD K6-2 @350MHz (however, bug occurs with --disable-mmx 3dnow)

I hope someone (probably Michael) can reproduce/meditate and fix. Let me
know if more information/experimentation is needed.

Thanks,

Rik.

-- 
Nothing is ever a total loss; it can always serve as a bad example.

Script started on Tue Dec 31 12:16:12 2002.
.[1m[rsnel at eniac]{~/src/mplayer/mencoder_sig11}>.[0mgdb ../main/mec..
.nc.oder -x tr.igger..
GNU gdb 5.0..
Copyright 2000 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 "i586-pc-linux-gnu".....
[New Thread 1024 (runnable)]..
Using GNU internationalization..
Original domain: messages..
Original dirname: /usr/share/locale..
Current domain: mplayer..
Current dirname: /usr/local/share/locale..
.
.
MEncoder CVS-021231-10:17-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)..
.
CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)..
MMX supported but disabled..
3DNow supported but disabled..
CPUflags: Type: 5 MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0..
Reading /home/users/rsnel/.mplayer/codecs.conf: 47 audio & 114 video codecs..
File not found: 'frameno.avi'..
Reading config file /home/users/rsnel/.mplayer/mencoder: No such file or
directory..
init_freetype..
success: format: 0  data: 0x0 - 0x255108..
AVI file format detected...
AVI_NI: No Audio stream found -> no sound...
AVI: No Audio stream found -> no sound...
VIDEO:  [DIVX]  512x384  24bpp  25.00 fps  1587.0 kbps (193.7 kbyte/s)..
[V] filefmt:3  fourcc:0x58564944  size:512x384  fps:25.00  ftime:=0.0400..
Opening video filter: [expand=-1:-1:-1:-1:1]..
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1..
==========================================================================..
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family..
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)..
==========================================================================..
Writing AVI header.....
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0].This
file was encoded with libavcodec build 4647..
VDec: vo config request - 512 x 384 (preferred csp: Planar YV12)..
VDec: using Planar YV12 as output csp (no 0)..
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect...
videocodec: libavcodec (512x384 fourcc=58564944 [DIVX])..
Pos:   0.0s      2f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]...
Duplicate 1 frame(s)!!!..
.. [complete in linked file].
Program received signal SIGSEGV, Segmentation fault...
[Switching to Thread 1024 (runnable)]..
0x817e5d2 in avg_pixels8_c (block=0x83a57f0 "*+++++,,CDDDEDCC", ..
    pixels=0x409d614e "\026\026\024\024\024\024\025\026\027\0
30\027\031\032\032\031\031\032\034\"\"! \037\037\037 \037\037
\037\037\035\036\037\037#$$#\"!  \036    \037!# !\"\"#$$%$$$&'(*,'&%##\" 
$$###\"\" &%%&&&&&('&&'(+-()******+*+++*((%%&%$%%%\036\037 !!
!!!\034\e\035\034\035\035\036\036\030\e\e\032\032\034\035\036
\030\027\032\e\034\035\035\037 \036\037\036\037 ! &(+-0000/00
0267722234466220//122455442"..., line_size=544, h=16) at dsputil.c:666..
666	PIXOP2(avg, op_avg)..
#0  0x817e5d2 in avg_pixels8_c (block=0x83a57f0 "*+++++,,CDDDEDCC", ..
    pixels=0x409d614e "\026\026\024\024\024\024\025\026\027\0
30\027\031\032\032\031\031\032\034\"\"! \037\037\037 \037\037
\037\037\035\036\037\037#$$#\"!  \036    \037!# !\"\"#$$%$$$&'(*,'&%##\" 
$$###\"\" &%%&&&&&('&&'(+-()******+*+++*((%%&%$%%%\036\037 !!
!!!\034\e\035\034\035\035\036\036\030\e\e\032\032\034\035\036\0---Type
<return> to continue, or q <return> to quit---..
30\027\032\e\034\035\035\037 \036\037\036\037 ! &(+-0000/0002
67722234466220//122455442"..., line_size=544, h=16) at dsputil.c:666..
#1  0x817e62e in avg_pixels16_c (block=0x83a57f0 "*+++++,,CDDDEDCC", ..
    pixels=0x409d614e "\026\026\024\024\024\024\025\026\027\0
30\027\031\032\032\031\031\032\034\"\"! \037\037\037 \037\037
\037\037\035\036\037\037#$$#\"!  \036    \037!# !\"\"#$$%$$$&'(*,'&%##\" 
$$###\"\" &%%&&&&&('&&'(+-()******+*+++*((%%&%$%%%\036\037 !!
!!!\034\e\035\034\035\035\036\036\030\e\e\032\032\034\035\036
\030\027\032\e\034\035\035\037 \036\037\036\037 ! &(+-0000/00
0267722234466220//122455442"..., line_size=544, h=16) at dsputil.c:666..
#2  0x81a3e26 in simple_direct_hpel_epzs_motion_search (s=0x837c990,
block=0, ..
    mx_ptr=0xbffe58f4, my_ptr=0xbffe58f8, P=0xbffe58fc, pred_x=0, pred_y=0, ..
    xmin=-16, ymin=-16, xmax=15, ymax=15, ref_picture=0x837d428, ..
    mv_penalty=0x83bedc2) at motion_est_template.c:522..
#3  0x81af1b6 in ff_estimate_b_frame_motion (s=0x837c990, mb_x=2, mb_y=23)..
    at motion_est.c:1312..
#4  0x8160ceb in encode_picture (s=0x837c990, picture_number=295)..
    at mpegvideo.c:2801..
#5  0x81545b8 in MPV_encode_picture (avctx=0x83009a0, buf=0x403be008 "", ..
    buf_size=2097152, data=0x8300910) at mpegvideo.c:1221..
#6  0x81514c0 in avcodec_encode_video (avctx=0x83009a0, buf=0x403be008 "", ..
    buf_size=2097152, pict=0x8300910) at utils.c:300..
#7  0x8081fcd in put_image (vf=0x82fee70, mpi=0x8368928) at ve_lavc.c:457..
#8  0x80963e0 in vf_next_put_image (vf=0x8300b70, mpi=0x8368928) at vf.c:399..
#9  0x8097553 in put_image (vf=0x8300b70, mpi=0x83693c0) at vf_expand.c:262..
---Type <return> to continue, or q <return> to quit---..
#10 0x8088ec8 in decode_video (sh_video=0x83004f8, start=0x848a9d0 "", ..
    in_size=3847, drop_frame=0) at dec_video.c:329..
#11 0x806408e in main (argc=8, argv=0xbffffb84) at mencoder.c:1088..
#12 0x402f585e in __libc_start_main (main=0x8062038 <main>, argc=8, ..
    argv=0xbffffb84, init=0x8060a70 <_init>, fini=0x81df094 <_fini>, ..
    rtld_fini=0x4000a510 <_dl_fini>, stack_end=0xbffffb7c)..
    at ../sysdeps/generic/libc-start.c:92..
.[1m[rsnel at eniac]{~/src/mplayer/mencoder_sig11}>.[0m.[Kexit.
Script done on Tue Dec 31 12:17:38 2002.
Script done on Tue Dec 31 12:17:38 2002
Script done on Tue Dec 31 12:17:38 2002



More information about the MPlayer-dev-eng mailing list