(gdb) run -v -vo vesa movie.avi The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /usr/local/bin/mplayer -v -vo vesa movie.avi Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/local/share/locale MPlayer 0.90pre9-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS) CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory Reading /usr/local/etc/mplayer/codecs.conf: 38 audio & 110 video codecs CommandLine: '-v' '-vo' 'vesa' 'movie.avi' get_path('font/font.desc') -> '/root/.mplayer/font/font.desc' font: can't open file: /root/.mplayer/font/font.desc Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars) Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Using Linux hardware RTC timing (1024Hz) get_path('input.conf') -> '/root/.mplayer/input.conf' Can't open input config file /root/.mplayer/input.conf : No such file or directory Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory Falling back on default (hardcoded) input config Playing movie.avi Not an URL! File size is 735371264 bytes Detected AVI file format! list_end=0x170 ======= AVI Header ======= us/frame: 40000 (fps=25,000) max bytes/sec: 268693 padding: 0 MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE frames total: 151199 initial: 0 streams: 2 Suggested BufferSize: 50696 Size: 720 x 576 list_end=0xE8 ==> Found video stream: 0 ======= STREAM Header ======= Type: vids FCC: ap41 (31347061) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 25/1 = 25,000 Start: 0 Len: 151199 Suggested BufferSize: 50696 Quality 5000 Sample size: 0 found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 720 biHeight 576 biPlanes 1 biBitCount 24 biCompression 825512001='AP41' biSizeImage 1244160 =========================== Regenerating keyframe table for DIVX 3 video list_end=0x170 ==> Found audio stream: 1 ======= STREAM Header ======= Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 12000/1 = 12000,000 Start: 0 Len: 72564000 Suggested BufferSize: 12181 Quality -1 Sample size: 1 found 'wf', 30 bytes of 18 ======= WAVE Format ======= Format Tag: 85 (0x55) Channels: 2 Samplerate: 48000 avg byte/sec: 12000 Block align: 1 bits/sample: 0 cbSize: 12 mp3.wID=1 mp3.fdwFlags=0x2 mp3.nBlockSize=288 mp3.nFramesPerBlock=1 mp3.nCodecDelay=1393 Broken chunk? chunksize=1660 (id=JUNK) list_end=0x2BAE5F9E Found movie at 0x800 - 0x2BAE5F9E Reading INDEX block, 157246 chunks for 151199 frames (fpos=0x2bae5fa6) AVI index offset: 0x7FC (movi=0x800 idx0=0x4 idx1=0x61D6) Auto-selected AVI video ID = 0 Auto-selected AVI audio ID = 1 AVI: Searching for audio stream (id:1) XXX initial v_pts=0,960 a_pos=0 (0,000) AVI video length=659024022 VIDEO: [AP41] 720x576 24bpp 25,00 fps 871,7 kbps (106,4 kbyte/s) [V] filefmt:3 fourcc:0x31345041 size:720x576 fps:25,00 ftime:=0,0400 get_path('sub/') -> '/root/.mplayer/sub/' ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer mp3lib: made decode tables with MMX optimization init layer2&3 finished, tables done mp3lib: using 3DNow!Ex optimized decore! MPEG 1.0, Layer III, 48000 Hz 96 kbit Joint-Stereo, BPF: 288 Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0 AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->192000 (96,0 kbit) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family INFO: libavcodec init OK! Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3)) ========================================================================== ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian) audio_setup: using '/dev/dsp' dsp device audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian)) audio_setup: using 2 channels (requested: 2) audio_setup: using 48000 Hz samplerate (requested: 48000) audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536 AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) AO: Description: OSS/ioctl audio output AO: Author: A'rpi Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000010 and bps = 2 [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000010 and bps = 2 Start playing... VDec: vo config request - 720 x 576 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (720x576->720x576,flags=0,'MPlayer',0x32315659) VO: [vesa] 720x576 => 720x576 Planar YV12 VO: Description: VESA VBE 2.0 video output VO: Author: Nick Kurshev VO: Comment: Requires ROOT privileges Program received signal SIGSEGV, Segmentation fault. 0x4005098a in pthread_setcanceltype () from /lib/i686/libpthread.so.0 (gdb) bt #0 0x4005098a in pthread_setcanceltype () from /lib/i686/libpthread.so.0 #1 0x400563aa in open64 () from /lib/i686/libpthread.so.0 #2 0x081376a5 in vbeInit () at vbelib.c:146 #3 0x08078054 in config (width=720, height=576, d_width=720, d_height=576, flags=1074133756, title=0x81b4b8f "MPlayer", format=842094169) at vo_vesa.c:627 #4 0x0809528a in config (vf=0x83419c0, width=720, height=576, d_width=720, d_height=576, flags=0, outfmt=842094169) at vf_vo.c:48 #5 0x0808823e in mpcodecs_config_vo (sh=0x83431c0, w=576, h=720, preferred_outfmt=0) at vd.c:258 #6 0x08088e11 in init_vo (sh=0x83431c0) at vd_ffmpeg.c:367 #7 0x08088f60 in get_buffer (avctx=0x83443f0, width=720, height=576, pict_type=1) at vd_ffmpeg.c:387 #8 0x081474e8 in MPV_frame_start (s=0x83d71c0, avctx=0x83443f0) at mpegvideo.c:774 #9 0x081858a7 in h263_decode_frame (avctx=0x83443f0, data=0xbfffe640, data_size=0xbfffe61c, buf=0x83a3750 "\t{@Àñ\036\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx^\027\205áx"..., buf_size=25033) at h263dec.c:460 #10 0x08145027 in avcodec_decode_video (avctx=0x83d71c0, picture=0x0, got_picture_ptr=0x83443f0, buf=0x0, buf_size=0) at utils.c:136 #11 0x0808935d in decode (sh=0x83431c0, data=0x83443f0, len=137642992, flags=0) at vd_ffmpeg.c:520 #12 0x08087e33 in decode_video (sh_video=0x83431c0, start=0x0, in_size=0, drop_frame=0) at dec_video.c:266 #13 0x08052736 in main (argc=5, argv=0xbffff964) at mplayer.c:1502 #14 0x402b8082 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x4005096a to 0x400509aa: 0x4005096a : imul $0xffffffff,%edi,%edi 0x4005096d : incl 0xf18ec3(%ecx) 0x40050973 : add %bh,0x16(%eax) 0x40050979 : mov 0x8(%ebp),%edx 0x4005097c : mov 0xc(%ebp),%ecx 0x4005097f : cmp $0x1,%edx 0x40050982 : ja 0x400509c4 0x40050984 : test %ecx,%ecx 0x40050986 : je 0x40050995 0x40050988 : xor %eax,%eax 0x4005098a : mov %gs:0x81,%al 0x40050990 : movsbl %al,%eax 0x40050993 : mov %eax,(%ecx) 0x40050995 : mov %dl,%gs:0x81 0x4005099c : xor %edx,%edx 0x4005099e : mov %edx,%eax 0x400509a0 : mov %gs:0x82,%al 0x400509a6 : test %al,%al 0x400509a8 : je 0x400509c2 End of assembler dump. (gdb)