Mandrake 9.1 vmlinuz-2.4.21-0.13mdk [root@localhost root]# ls -l /lib/libc[.-]* -rwxr-xr-x 1 root root 1229764 Feb 17 2003 /lib/libc-2.3.1.so* lrwxrwxrwx 1 root root 13 Jun 18 2003 /lib/libc.so.6 -> libc-2.3.1.so* [root@localhost root]# X -version XFree86 Version 4.3.0 Release Date: 27 February 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: Linux 2.4.21-0.13mdksmp i686 [ELF] Build Date: 12 March 2003 Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present [root@localhost root]# gcc -v Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/specs Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) [root@localhost root]# ld -v GNU ld version 2.13.90.0.18 20030121 [root@localhost root]# as --version GNU assembler 2.13.90.0.18 20030121 Copyright 2002 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `i586-mandrake-linux-gnu'. [root@localhost root]# xdpyinfo | grep "depth of root" depth of root window: 24 planes [root@localhost root]# cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) Processor stepping : 2 cpu MHz : 1147.814 -----(have to set bios FSB to 100 instead of 133 to prevent mencoder crashing system) cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 2287.20 Nvida Gforce 3 Via 8233 sound chip running on alsa sound driver. [root@localhost root]# lspci -vv 00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] Subsystem: VIA Technologies, Inc.: Unknown device 0000 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP] (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Reset- FastB2B- Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0b.0 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI]) Subsystem: NEC Corporation USB Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- -------------------------------------------------------------------------------------------------------------- [root@localhost MPlayer-20030901]# ./configure --enable-gui --enable-debug=3 2>/root/Desktop/el1 Detected operating system: Linux Detected host architecture: i386 Checking for gcc version ... 3.2.2, ok Checking for CPU vendor ... AuthenticAMD (6:6:2) Checking for CPU type ... AMD Athlon(tm) Processor Checking for GCC & CPU optimization abilities ... athlon-xp Checking for kernel support of mmx ... yes Checking for kernel support of mmx2 ... yes Checking for kernel support of 3dnow ... yes Checking for kernel support of 3dnowex ... yes Checking for kernel support of sse ... yes Checking for mtrr support ... yes Checking for assembler (as 2.13.90.0.18) ... ok Checking for Linux kernel version ... 2.4.21-0.13mdk, ok Checking for awk ... mawk Checking for extra headers ... none Checking for extra libs ... none Checking for i18n ... yes Checking for setlocale() ... yes Checking for language ... using en (man pages: en) Checking for enable sighandler ... yes Checking for runtime cpudetection ... no Checking for restrict keyword ... __restrict Checking for kstat ... no Checking for posix4 ... no Checking for lrintf ... yes Checking for nanosleep ... yes Checking for socklib ... yes (using -lnsl) Checking for inet_pton() ... yes (using -lnsl) Checking for inttypes.h (required) ... yes Checking for word size ... 32 Checking for stddef.h ... yes Checking for malloc.h ... yes Checking for memalign() ... yes Checking for alloca.h ... yes Checking for mman.h ... yes Checking for dynamic loader ... yes Checking for dynamic a/v plugins support ... no Checking for pthread ... yes (using -lpthread) Checking for sys/soundcard.h ... yes Checking for sys/dvdio.h ... no Checking for sys/cdio.h ... no Checking for linux/cdrom.h ... yes Checking for dvd.h ... no Checking for BSDI dvd.h ... no Checking for HPUX SCSI header ... no Checking for userspace SCSI headers (Solaris) ... no Checking for termcap ... no Checking for termios ... yes (using sys/termios.h) Checking for shm ... yes Checking for linux devfs ... no Checking for scandir() ... yes Checking for strsep() ... yes Checking for vsscanf() ... yes Checking for posix select() ... yes Checking for gettimeofday() ... yes Checking for glob() ... yes Checking for sys/sysinfo.h ... yes Checking for Mac OS X APIs ... no Checking for Samba support (libsmbclient) ... no Checking for 3dfx ... no Checking for tdfxfb ... no Checking for tdfxvid ... no Checking for tga ... yes Checking for DirectFB headers presence ... not found Checking for DirectFB ... no Checking for X11 headers presence ... yes (using /usr/X11R6/include) Checking for X11 libs presence ... yes (using /usr/X11R6/lib) Checking for X11 ... yes Checking for DPMS ... yes (using Xdpms 4) Checking for Xv ... yes Checking for XvMC ... no Checking for Xinerama ... yes Checking for Xxf86vm ... yes Checking for DGA ... yes (using DGA 2.0) Checking for OpenGL ... yes Checking for /dev/mga_vid ... no Checking for xmga ... no Checking for GGI ... no Checking for AA ... no Checking for SVGAlib ... no Checking for FBDev ... yes Checking for DVB ... no (specify path to DVB/ost/include with --with-dvbincdir=DIR) Checking for DVB HEAD ... no (specify path to DVB/include (HEAD Version) with --with-dvbincdir=DIR) Checking for PNG support ... yes Checking for JPEG support ... yes Checking for GIF support ... no Checking for VESA support ... yes Checking for SDL ... no Checking for Windows waveout ... no Checking for Directx ... no Checking for NAS ... yes Checking for DXR2 ... no Checking for DXR3/H+ ... no Checking for libmp1e ... no Checking for libfame ... no Checking for OSS Audio ... yes Checking for aRts ... yes Checking for EsounD ... yes Checking for esd_get_latency() ... yes Checking for ALSA audio ... no Checking for Sun audio ... no Checking for Sun mediaLib ... no Checking for SGI audio ... no Checking for VCD support ... ok Checking for DVD support (libmpdvdkit) ... yes Checking for DVD support (libcss - old style) ... no Checking for DVD support (libdvdread - new style) ... disabled by libmpdvdkit2 Checking for cdparanoia ... no Checking for freetype >= 2.0.9 ... yes Checking for fribidi with charsets ... no Checking for zlib ... yes Checking for RTC ... yes Checking for external liblzo support ... no Checking for mad support ... no Checking for OggVorbis support ... yes Checking for OggTheora support (only the CVS version!) ... no Checking for Matroska support (0.5.0 or later) ... no Checking for faad2 (AAC) support ... yes (2.0 RC1 ) Checking for Win32 codec DLL support ... yes (using /usr/lib/win32) Checking for Win32 loader support ... yes Checking for DirectShow ... yes Checking for XAnim DLL ... no (no suitable directory found - see DOCS/en/codecs.html) Checking for RealPlayer DLL ... yes (using /usr/lib/RealPlayer8/Codecs) Checking for LIVE.COM Streaming Media libraries ... no Checking for iconv ... yes Checking for FFmpeg libavcodec (static) ... yes Checking for libdv-0.9.5+ ... no Checking for zr ... no Checking for bl ... no Checking for XviD ... no Checking for DivX4linux/DivX5linux/OpenDivX decore ... no Checking for libmp3lame (for mencoder) ... yes Checking for DivX4linux encore (for mencoder) ... no Checking for mencoder ... yes Checking for fastmemcpy ... yes Checking for UniquE RAR File Library ... yes Checking for TV interface ... yes Checking for EDL support ... yes Checking for *BSD BrookTree 848 TV interface ... no Checking for Video 4 Linux TV interface ... no Checking for Video 4 Linux 2 TV interface ... no Checking for audio select() ... yes Checking for network ... yes Checking for ftp ... yes Checking for byte order ... Little Endian Checking for shared postprocess lib ... no Checking for OSD menu ... no Checking for QTX codecs ... yes Checking for Subtitles sorting ... yes Checking for XMMS inputplugin support ... no Checking for inet6 ... yes Checking for gethostbyname2 ... yes Checking for GUI ... yes Checking for XShape extension ... yes Checking for gtk version ... 1.2.10 (using gtk-config) Checking for glib version ... 1.2.10 (using glib-config) Creating Gui/config.mak Checking for ftello() ... yes Checking for VIDIX ... yes Checking for joystick ... no Checking for lirc ... no Checking for lircc ... no Creating config.mak Creating config.h Creating libvo/config.mak Creating libao2/config.mak Creating help_mp.h Config files successfully generated by ./configure ! Install prefix: /usr/local Data directory: /usr/local/share/mplayer Config direct.: /usr/local/etc/mplayer Byte order: Little Endian Optimizing for: athlon-xp mmx mmx2 3dnow 3dnowex sse mtrr Languages: Messages/GUI: en Manual pages: en (no localization selected, use --language=all) Enabled optional drivers: Input: ftp network edl tv mpdvdkit2 vcd Codecs: qtx libavcodec real dshow/dmo win32 faad2 libvorbis Audio output: esd arts oss nas mpegpes(file) Video output: xvidix vesa jpeg png mpegpes(file) fbdev opengl dga xv x11 xover tga Disabled optional drivers: Input: tv-v4l2 tv-v4l tv-bsdbt848 live.com matroska cdda dvdread dvdcss smb Codecs: opendivx xvid libdv xanim libtheora libmad liblzo gif Audio output: sgi sun alsa dxr2 win32 sdl macosx Video output: bl zr dxr3 dxr2 directx sdl gif89a svga aa ggi xmga mga xvmc directfb tdfx_vid tdfxfb 3dfx 'config.h' and 'config.mak' contain your configuration options. Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer compile *** DO NOT REPORT BUGS if you tweak these files *** 'make' will now compile MPlayer and 'make install' will install it. Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. Please check mtrr settings at /proc/mtrr (see DOCS/en/video.html#mtrr) Check configure.log if you wonder why an autodetection failed (check whether the development headers/packages are installed). If you suspect a bug, please read DOCS/en/bugreports.html. then, [root@localhost MPlayer-20030901]#make 2> /root/Desktop/el2 then, ------------------------------------------------------------------------------------------------------ [root@localhost MPlayer-20030901]# gdb ./mencoder GNU gdb 5.3-22mdk (Mandrake Linux) 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 "i586-mandrake-linux-gnu"... (gdb) (gdb) run -v dvd://1 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1024 -oac mp3lame -lameopts br=96:cbr -alang en -idx -o toystory1.avi and reproduce the crash. Pos: 22.4s 540f ( 0%) 10fps Trem: 229min 644mb A-V:0.028 [857:95] A/Vms 14 Pos: 22.4s 541f ( 0%) 10fps Trem: 230min 645mb A-V:0.027 [857:96] A/Vms 14 Pos: 22.4s 542f ( 0%) 10fps Trem: 229min 645mb A-V:0.026 [858:95] A/Vms 14 Pos: 22.5s 543f ( 0%) 10fps Trem: 230min 647mb A-V:0.024 [857:96] A/Vms 14 Pos: 22.5s 544f ( 0%) 10fps Trem: 229min 644mb A-V:0.025 [858:95] A/Vms 14 Pos: 22.6s 545f ( 0%) 10fps Trem: 229min 644mb A-V:0.023 [858:96] A/Vms 14 Pos: 22.6s 546f ( 0%) 10fps Trem: 229min 645mb A-V:0.022 [858:95] A/Vms 14 Pos: 22.7s 547f ( 0%) 10fps Trem: 229min 644mb A-V:0.024 [858:96] A/Vms 14 Pos: 22.7s 548f ( 0%) 10fps Trem: 229min 644mb A-V:0.023 [858:95] A/Vms 14 Pos: 22.7s 549f ( 0%) 10fps Trem: 229min 644mb A-V:0.026 [859:96] A/Vms 14 Pos: 22.8s 550f ( 0%) 10fps Trem: 229min 645mb A-V:0.026 [859:96] A/Vms 14 Pos: 22.8s 551f ( 0%) 10fps Trem: 229min 644mb A-V:0.026 [859:95] A/Vms 14 Pos: 22.9s 552f ( 0%) 10fps Trem: 230min 645mb A-V:0.025 [860:96] A/Vms 14 Pos: 22.9s 553f ( 0%) 10fps Trem: 229min 645mb A-V:0.026 [860:95] A/Vms 14 Pos: 22.9s 554f ( 0%) 10fps Trem: 229min 646mb A-V:0.027 [861:96] A/Vms 14 Pos: 23.0s 555f ( 0%) 10fps Trem: 230min 647mb A-V:0.025 [861:96] A/Vms 14 Pos: 23.0s 556f ( 0%) 10fps Trem: 229min 646mb A-V:0.028 [862:96] A/Vms 14 Pos: 23.1s 557f ( 0%) 10fps Trem: 229min 645mb A-V:0.027 [863:95] A/Vms 14 Pos: 23.1s 558f ( 0%) 10fps Trem: 229min 645mb A-V:0.026 [864:95] A/Vms 14 Pos: 23.2s 559f ( 0%) 10fps Trem: 229min 647mb A-V:0.026 [864:96] A/Vms 14 Pos: 23.2s 560f ( 0%) 10fps Trem: 229min 646mb A-V:0.027 [865:95] A/Vms 14 Pos: 23.2s 561f ( 0%) 10fps Trem: 229min 646mb A-V:0.025 [866:96] A/Vms 14 Pos: 23.3s 562f ( 0%) 10fps Trem: 229min 648mb A-V:0.024 [867:95] A/Vms 14 Pos: 23.3s 563f ( 0%) 10fps Trem: 229min 648mb A-V:0.026 [867:95] A/Vms 14 Pos: 23.4s 564f ( 0%) 10fps Trem: 229min 647mb A-V:0.025 [868:95] A/Vms 14 --- END OF CELL !!! ---%) 15fps Trem: 143min 620mb A-V:0.022 [841:96] A/Vms 7/48 D/B/S 531/1/0 dvd_next_cell: next1=0x1 dvd_next_cell: next2=0x3 dvd_next_cell: next3=0x4 DVD next cell: 4 pack: 0x2D6EA-0x3009E --- END OF CELL !!! ---%) 16fps Trem: 58min 285mb A-V:0.017 [819:95] A/Vms 6/45 D/B/S 1335/1/0 dvd_next_cell: next1=0x4 dvd_next_cell: next2=0x6 dvd_next_cell: next3=0x7 DVD next cell: 7 pack: 0x30933-0x3DD47 --- END OF CELL !!! ---%) 17fps Trem: 67min 357mb A-V:-0.025 [824:96] A/Vms 6/44 D/B/S 2140/1/0 dvd_next_cell: next1=0x7 dvd_next_cell: next2=0x7 dvd_next_cell: next3=0x8 DVD next cell: 8 pack: 0x3DD48-0x4E8C1 --- END OF CELL !!! ---%) 18fps Trem: 72min 412mb A-V:-0.010 [823:95] A/Vms 5/42 D/B/S 3148/1/0 DVD next cell: 51 pack: 0x1CF989-0x1D9F58 --- END OF CELL !!! ---%) 19fps Trem: 16min 562mb A-V:-0.038 [819:95] A/Vms 4/40 D/B/S 26107/1/0 dvd_next_cell: next1=0x33 dvd_next_cell: next2=0x33 dvd_next_cell: next3=0x34 DVD next cell: 52 pack: 0x1D9F59-0x1E9098 --- END OF CELL !!! ---%) 19fps Trem: 13min 564mb A-V:-0.033 [819:95] A/Vms 4/40 D/B/S 27003/1/0 dvd_next_cell: next1=0x34 dvd_next_cell: next2=0x34 dvd_next_cell: next3=0x35 DVD next cell: 53 pack: 0x1E9099-0x1F0FE7 --- END OF CELL !!! ---%) 19fps Trem: 11min 565mb A-V:-0.037 [819:96] A/Vms 4/40 D/B/S 27537/1/0 dvd_next_cell: next1=0x35 dvd_next_cell: next2=0x35 dvd_next_cell: next3=0x36 DVD next cell: 54 pack: 0x1F0FE8-0x22AD55 --- END OF CELL !!! ---%) 19fps Trem: 0min 529mb A-V:0.000 [819:95] A/Vms 4/40 D/B/S 28797/1/0 dvd_next_cell: next1=0x36 dvd_next_cell: next2=0x38 dvd_next_cell: next3=0x39 DVD next cell: 57 pack: 0x22B231-0x22E010 --- END OF CELL !!! ---%) 19fps Trem: 0min 529mb A-V:-0.013 [817:96] A/Vms 4/40 D/B/S 28983/1/0 dvd_next_cell: next1=0x39 dvd_next_cell: next2=0x39 dvd_next_cell: next3=0x3A DVD next cell: 58 pack: 0x22E011-0x22E015 --- END OF CELL !!! --- dvd_next_cell: next1=0x3A dvd_next_cell: next2=0x3A MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 19fps Trem: 0min 529mb A-V:-0.014 [817:96] A/Vms 4/40 D/B/S 28983/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 19fps Trem: 0min 529mb A-V:-0.017 [817:95] A/Vms 4/40 D/B/S 28983/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 19fps Trem: 0min 529mb A-V:-0.021 [817:96] A/Vms 4/40 D/B/S 28983/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 19fps Trem: 0min 529mb A-V:-0.025 [817:95] A/Vms 4/40 D/B/S 28984/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 19fps Trem: 0min 529mb A-V:-0.029 [817:95] A/Vms 4/40 D/B/S 28984/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 19fps Trem: 0min 529mb A-V:-0.034 [817:96] A/Vms 4/40 D/B/S 28984/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 19fps Trem: 0min 529mb A-V:-0.038 [817:95] A/Vms 4/40 D/B/S 28984/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 19fps Trem: 0min 529mb A-V:-0.042 [817:96] A/Vms 4/40 D/B/S 28985/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 19fps Trem: 0min 529mb A-V:-0.046 [817:96] A/Vms 4/40 D/B/S 28985/1/0 ds_fill_buffer: EOF reached (stream: audio) VDec: vo config request - 720 x 480 (preferred csp: Planar YV12) Trying filter chain: expand lavc VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO Config (720x480->854x480,flags=0,'MPlayer',0x32315659) REQ: flags=0x401 req=0x0 videocodec: libavcodec (720x480 fourcc=58564944 [DIVX]) High quality encoding selected (non real time)! get_buffer() failed (0 -115967 0 0x40d5df30) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 20667)] encode_picture (s=0x8547180, picture_number=0) at mpegvideo.c:3407 3407 s->current_picture.mb_var [s->mb_stride * mb_y + mb_x] = varc; (gdb) YES, Of course, no core dump, no need after all that is what we are doing here, recreating the fault but with a programme to keep more information about the nature of the fault.And to confirm this I can report that a film.avi file now exists inside mplayer directory sources, and that file is faulted, in that, gmplayer has to build an index before it can play the file. So far so good, now the next step, Then give the following commands: backtrace disass $pc-32 $pc+32 info all-registers info threads (gdb) backtrace #0 encode_picture (s=0x8547180, picture_number=0) at mpegvideo.c:3407 #1 0x081a0c5d in MPV_encode_picture (avctx=0x843f5d0, buf=0x101
, buf_size=257, data=0x101) at mpegvideo.c:1604 #2 0x0819c50a in avcodec_encode_video (avctx=0x843f5d0, buf=0x101
, buf_size=257, pict=0x101) at utils.c:340 #3 0x0808b440 in put_image (vf=0x8429090, mpi=0x0) at ve_lavc.c:561 #4 0x0809f699 in vf_next_put_image (vf=0x101, mpi=0x101) at vf.c:498 #5 0x08094ae1 in decode_video (sh_video=0x8423a50, start=0x101
, in_size=257, drop_frame=0) at dec_video.c:327 #6 0x08065bbf in main (argc=257, argv=0x101) at mencoder.c:1081 #7 0x402257f7 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x81a50ea to 0x81a512a: 0x81a50ea : out %al,(%dx) 0x81a50eb : add $0xfe,%cl 0x81a50ee : or %cl,0x8eac1f3(%ecx) 0x81a50f4 : add 0xfffe6468(%ebp),%ecx 0x81a50fa : sub %edx,%eax 0x81a50fc : mov 0x1258(%edi),%edx 0x81a5102 : add $0x274,%eax 0x81a5107 : shr $0x8,%eax 0x81a510a : mov %ax,(%edx,%ecx,2) 0x81a510e : mov 0x1260(%edi),%edx 0x81a5114 : mov %bl,(%ecx,%edx,1) 0x81a5117 : incl 0xfffe6468(%ebp) 0x81a511d : add %eax,0x1250(%edi) 0x81a5123 : mov 0x9c(%edi),%eax 0x81a5129 : cmp %eax,0xfffe6468(%ebp) End of assembler dump. (gdb) info all-registers eax 0x101 257 ecx 0x0 0 edx 0x0 0 ebx 0x1 1 esp 0xbffe4440 0xbffe4440 ebp 0xbfffe068 0xbfffe068 esi 0x1 1 edi 0x8547180 139751808 eip 0x81a510a 0x81a510a eflags 0x210212 2163218 cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x0 0 gs 0x7 7 st0 -0e+4922 (raw 0xffff0000000000000000) st1 -nan(0x800000010000) (raw 0xffff0000800000010000) st2 -nan(0x40000000400) (raw 0xffff0000040000000400) st3 -nan(0x20000000200) (raw 0xffff0000020000000200) st4 -nan(0x40000000400) (raw 0xffff0000040000000400) st5 -nan(0x40004000800080) (raw 0xffff0040004000800080) st6 -nan(0x40008000c00100) (raw 0xffff0040008000c00100) st7 -nan(0x000008000) (raw 0xffff0000000000008000) fctrl 0x37f 895 fstat 0x420 1056 ftag 0xaaaa 43690 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = { 0x8000000000000000, 0x8000000000000000}, v16_int8 = { 0xff }, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = { 0x8000000000000000, 0x8000000000000000}, v16_int8 = { 0xff }, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = { 0x8000000000000000, 0x8000000000000000}, v16_int8 = { 0xff }, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = { 0x8000000000000000, 0x8000000000000000}, v16_int8 = { 0xff }, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = { 0x8000000000000000, 0x8000000000000000}, v16_int8 = { 0xff }, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = { 0x8000000000000000, 0x8000000000000000}, v16_int8 = { 0xff }, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = { 0x8000000000000000, 0x8000000000000000}, v16_int8 = { 0xff }, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = { 0x8000000000000000, 0x8000000000000000}, v16_int8 = { 0xff }, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff} mxcsr 0x1f80 8064 orig_eax 0xffffffff -1 mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm1 {uint64 = 0x800000010000, v2_int32 = {0x10000, 0x8000}, v4_int16 = {0x0, 0x1, 0x8000, 0x0}, v8_int8 = {0x0, 0x0, 0x1, 0x0, 0x0, 0x80, 0x0, 0x0}} mm2 {uint64 = 0x40000000400, v2_int32 = {0x400, 0x400}, v4_int16 = { 0x400, 0x0, 0x400, 0x0}, v8_int8 = {0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0}} mm3 {uint64 = 0x20000000200, v2_int32 = {0x200, 0x200}, v4_int16 = { 0x200, 0x0, 0x200, 0x0}, v8_int8 = {0x0, 0x2, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0}} mm4 {uint64 = 0x40000000400, v2_int32 = {0x400, 0x400}, v4_int16 = { 0x400, 0x0, 0x400, 0x0}, v8_int8 = {0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0}} mm5 {uint64 = 0x40004000800080, v2_int32 = {0x800080, 0x400040}, v4_int16 = {0x80, 0x80, 0x40, 0x40}, v8_int8 = {0x80, 0x0, 0x80, 0x0, 0x40, 0x0, 0x40, 0x0}} mm6 {uint64 = 0x40008000c00100, v2_int32 = {0xc00100, 0x400080}, v4_int16 = {0x100, 0xc0, 0x80, 0x40}, v8_int8 = {0x0, 0x1, 0xc0, 0x0, 0x80, 0x0, 0x40, 0x0}} mm7 {uint64 = 0x8000, v2_int32 = {0x8000, 0x0}, v4_int16 = {0x8000, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} (gdb) >> (gdb) backtrace >> #0 encode_picture (s=0x8547180, picture_number=0) at mpegvideo.c:3407 >> #1 0x081a0c5d in MPV_encode_picture (avctx=0x843f5d0, >> buf=0x101
, buf_size=257, data=0x101) >> at mpegvideo.c:1604 >> #2 0x0819c50a in avcodec_encode_video (avctx=0x843f5d0, >> buf=0x101
, buf_size=257, pict=0x101) >> at utils.c:340 >> #3 0x0808b440 in put_image (vf=0x8429090, mpi=0x0) at ve_lavc.c:561 >> #4 0x0809f699 in vf_next_put_image (vf=0x101, mpi=0x101) at vf.c:498 >> #5 0x08094ae1 in decode_video (sh_video=0x8423a50, >> start=0x101
, in_size=257, >> drop_frame=0) >> at dec_video.c:327 >> #6 0x08065bbf in main (argc=257, argv=0x101) at mencoder.c:1081 >> #7 0x402257f7 in __libc_start_main () from /lib/i686/libc.so.6 Rerun with breakpoint (gdb) break mpegvideo.c:255 Breakpoint 1 at 0x819daa0: file mpegvideo.c, line 255. (gdb) run -v dvd://1 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1024 -oac mp3lame -lameopts br=96:cbr -alang en -idx -o toystory1.avi The program being debugged has been started already. Start it from the beginning? (y or n) y DVD successfully opened. [open] audio stream: 0 audio format: ac3 (5.1) language: unknown aid: 128 [open] audio stream: 1 audio format: ac3 (5.1) language: fr aid: 129 [open] audio stream: 2 audio format: ac3 (5.1) language: es aid: 130 [open] number of audio channels on disk: 3. [open] subtitle ( sid ): 0 language: en [open] number of subtitles on disk: 1 DVD start cell: 0 pack: 0x309-0x9318 DVD start=777 end=2285589 success: format: 0 data: 0x184800 - 0x1700A800 No matching DVD audio language found! DVD Seek! lba=0x309 cell=0 packs: 0x309-0x9318 Angle-seek synced by cell/vob IDN search! Checking for YUV4MPEG2 DEMUXER: freeing demuxer at 0x84206e8 ASF_check: not ASF guid! DEMUXER: freeing demuxer at 0x84206e8 Checking for NuppelVideo DEMUXER: freeing demuxer at 0x84206e8 Checking for REAL DEMUXER: freeing demuxer at 0x84206e8 Checking for SMJPEG DEMUXER: freeing demuxer at 0x84206e8 DEMUXER: freeing demuxer at 0x8421020 Searching demuxer type for filename dvd://1 ext: (null) Checking for MOV DEMUXER: freeing demuxer at 0x8421020 Checking for VIVO header block 1 size: 0 DEMUXER: freeing demuxer at 0x8421020 DVD Seek! lba=0x309 cell=0 packs: 0x309-0x9318 Angle-seek synced by cell/vob IDN search! DEMUXER: freeing demuxer at 0x8421020 DEMUXER: freeing demuxer at 0x8421020 DEMUXER: freeing demuxer at 0x8421020 DEMUXER: freeing demuxer at 0x8421020 DEMUXER: freeing demuxer at 0x8421020 DVD Seek! lba=0x309 cell=0 packs: 0x309-0x9318 Angle-seek synced by cell/vob IDN search! Checking for PVA DEMUXER: freeing demuxer at 0x8421020 Checking for MPEG-TS... TRIED UP TO POSITION 1620353, FOUND 0, packet_size= 71 DVD Seek! lba=0x317 cell=0 packs: 0x309-0x9318 Angle-seek synced by cell/vob IDN search! DEMUXER: freeing demuxer at 0x8421020 DVD Seek! lba=0x309 cell=0 packs: 0x309-0x9318 Angle-seek synced by cell/vob IDN search! system stream synced at 0x18480D (0)! ==> Found video stream: 0 MPEG-PS file format detected. ==> Found subtitle: 0 ==> Found subtitle: 1 ==> Found audio stream: 128 Searching for sequence header... OK! VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s) [V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334 ========================================================================== Opening audio decoder: [liba52] AC3 decoding with liba52 dec_audio: Allocating 3840 bytes for input buffer dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer Using SSE optimized IMDCT transform AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s A52 flags before a52_frame: 0x2A A52 flags after a52_frame: 0xA Using MMX optimized resampler AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit) Selected audio codec: [a52] afm:liba52 (AC3-liba52) ========================================================================== Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1 ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES) Trying filter chain: expand lavc Could not find matching colorspace - retrying with -vop scale... Opening video filter: [scale] SwScale params: -1 x -1 (-1=no scaling) Trying filter chain: scale expand lavc The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1 Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2)) ========================================================================== MP3 audio selected Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... [libaf] Adding filter dummy [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2 [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2 Writing AVI header... LAME version 3.94 (alpha 11, Feb 16 2003 14:56:18) (http://www.mp3dev.org/) warning: alpha versions should be used for testing only Using polyphase lowpass filter, transition band: 14903 Hz - 15484 Hz misc: scaling: 0 ch0 (left) scaling: 0 ch1 (right) scaling: 0 filter type: 0 quantization: ISO huffman search: normal experimental Y=0 Z=0 ... stream format: MPEG-1 Layer 3 2 channel - joint stereo padding: off constant bitrate - CBR ... psychoacoustic: using psychoacoustic model: 1 psychoacoustic model: GPsycho tonality estimation limit: 8871.700195 Hz using short blocks: channel coupled adjust masking: 0 dB adjust VBR masking: 0 dB quantization comparison: 0 ^ comparison short blocks: 0 noise shaping: 1 ^ amplification: 0 ^ stopping: 0 ATH: using ^ type: 2 ^ shape: 4 (only for type 4) ^ level adjustement: 0 ^ adjust type: 0 ^ adjust sensitivity power: 0 ^ adapt threshold type: 2 using temporal masking effect: yes interchannel masking ratio: 0 ... ==> Found audio stream: 129 ==> Found audio stream: 130 VDec: vo config request - 720 x 480 (preferred csp: Planar YV12) Trying filter chain: expand lavc VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO Config (720x480->854x480,flags=0,'MPlayer',0x32315659) REQ: flags=0x401 req=0x0 videocodec: libavcodec (720x480 fourcc=58564944 [DIVX]) High quality encoding selected (non real time)! get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf' Unicode font: 97 glyphs. *** [lavc] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes *** [expand] Direct Rendering mp_image_t, 720x480x12bpp YUV planar, 518400 bytes *** [lavc] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytesms 1/29 D/B/S 0/1/0 *** [expand] Direct Rendering mp_image_t, 720x480x12bpp YUV planar, 518400 bytes *** [lavc] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytesms 2/61 D/B/S 1/1/0 *** [expand] Direct Rendering mp_image_t, 720x480x12bpp YUV planar, 518400 bytes Pos: 0.5s 13f ( 0%) 0fps Trem: 0min 0mb A-V:0.040 [0:0] A/Vms 4/45 D/B/S 3/1/0 demux_mpg: 3:2 TELECINE detected, enabling inverse telecine fx. FPS changed to 23.976! --- END OF CELL !!! ---%) 15fps Trem: 147min 620mb A-V:0.022 [841:96] A/Vms 6/45 D/B/S 531/1/0 dvd_next_cell: next1=0x0 dvd_next_cell: next2=0x0 dvd_next_cell: next3=0x1 DVD next cell: 1 pack: 0x9319-0x2D6E9 Pos: 99.7s 2395f ( 2%) 15fps Trem: 121min 510mb A-V:0.021 [823:95] A/Vms 6/44 D/B/S 595/1/0 --- END OF CELL !!! ---%) 16fps Trem: 0min 529mb A-V:-0.013 [817:96] A/Vms 6/43 D/B/S 28983/1/0 dvd_next_cell: next1=0x39 dvd_next_cell: next2=0x39 dvd_next_cell: next3=0x3A DVD next cell: 58 pack: 0x22E011-0x22E015 --- END OF CELL !!! --- dvd_next_cell: next1=0x3A dvd_next_cell: next2=0x3A MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 16fps Trem: 0min 529mb A-V:-0.014 [817:96] A/Vms 6/43 D/B/S 28983/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 16fps Trem: 0min 529mb A-V:-0.017 [817:95] A/Vms 6/43 D/B/S 28983/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 16fps Trem: 0min 529mb A-V:-0.021 [817:96] A/Vms 6/43 D/B/S 28983/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 16fps Trem: 0min 529mb A-V:-0.025 [817:95] A/Vms 6/43 D/B/S 28984/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 16fps Trem: 0min 529mb A-V:-0.029 [817:95] A/Vms 6/43 D/B/S 28984/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 16fps Trem: 0min 529mb A-V:-0.034 [817:96] A/Vms 6/43 D/B/S 28984/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 16fps Trem: 0min 529mb A-V:-0.038 [817:95] A/Vms 6/43 D/B/S 28984/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 16fps Trem: 0min 529mb A-V:-0.042 [817:96] A/Vms 6/43 D/B/S 28985/1/0 ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF0%) 16fps Trem: 0min 529mb A-V:-0.046 [817:96] A/Vms 6/43 D/B/S 28985/1/0 ds_fill_buffer: EOF reached (stream: audio) VDec: vo config request - 720 x 480 (preferred csp: Planar YV12) Trying filter chain: expand lavc VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO Config (720x480->854x480,flags=0,'MPlayer',0x32315659) REQ: flags=0x401 req=0x0 videocodec: libavcodec (720x480 fourcc=58564944 [DIVX]) High quality encoding selected (non real time)! [Switching to Thread 16384 (LWP 12926)] Breakpoint 1, alloc_picture (s=0x8547180, pic=0x854723c, shared=0) at mpegvideo.c:255 255 fprintf(stderr, "get_buffer() failed (%d %d %d %p)\n", r, pic->age, pic->type, pic->data[0]); (gdb)