ot/Videos/HDTV# gdb ~/temp/MPlayer/CVS-2004Dec17/main/mplayer GNU gdb 6.1.1 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 "i486-slackware-linux"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run -v -hardframedrop CR1080.mpg Starting program: /home/root/temp/MPlayer/CVS-2004Dec17/main/mplayer -v -hardframedrop CR1080.mpg Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/local/share/locale MPlayer dev-CVS-041217-06:18-3.3.4 (C) 2000-2004 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE CommandLine: '-v' '-hardframedrop' 'CR1080.mpg' init_freetype get_path('font/font.desc') -> '/home/root/.mplayer/font/font.desc' font: can't open file: /home/root/.mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Using Linux hardware RTC timing (1024Hz). get_path('input.conf') -> '/home/root/.mplayer/input.conf' Parsing input config file /home/root/.mplayer/input.conf Input config file /home/root/.mplayer/input.conf parsed: 52 binds get_path('CR1080.mpg.conf') -> '/home/root/.mplayer/CR1080.mpg.conf' Playing CR1080.mpg. [file] File size is 8290304 bytes STREAM: [file] CR1080.mpg STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0 Cache fill: 0.00% (0 bytes) AVI file format detected. list_end=0x146 ======= AVI Header ======= us/frame: 41708 (fps=23.976) max bytes/sec: 0 padding: 0 MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE frames total: 2369 initial: 0 streams: 2 Suggested BufferSize: 0 Size: 1920 x 1080 ========================== list_end=0xD4 ==> Found video stream: 0 ====== STREAM Header ===== Type: vids FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 239759/10000 = 23.976 Start: 0 Len: 2369 Suggested BufferSize: 358932 Quality 0 Sample size: 0 ========================== found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 1920 biHeight 1080 biPlanes 1 biBitCount 24 biCompression 845639789='mpg2' biSizeImage 6220800 =========================== list_end=0x146 ==> Found audio stream: 1 ====== STREAM Header ===== Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 48000/1152 = 41.667 Start: 0 Len: 4138 Suggested BufferSize: 960 Quality 0 Sample size: 0 ========================== found 'wf', 30 bytes of 18 ======= WAVE Format ======= Format Tag: 85 (0x55) Channels: 2 Samplerate: 48000 avg byte/sec: 23457 Block align: 1152 bits/sample: 0 cbSize: 12 mp3.wID=1 mp3.fdwFlags=0x2 mp3.nBlockSize=1152 mp3.nFramesPerBlock=1 mp3.nCodecDelay=0 =========================== list_end=0x172 hdr=Software size=23 Software : MEncoder 1.0pre3-3.2.2 list_end=0xAD81A38 Found movie at 0x80C - 0xAD81A38 cache_stream_seek: WARNING! Can't seek to 0xAD81A38 ! Auto-selected AVI audio ID = 1 Auto-selected AVI video ID = 0 AVI: Searching for audio stream (id:1) AVI video size=179584075 (2369) audio size=2329561 VIDEO: [mpg2] 1920x1080 24bpp 23.976 fps 14540.1 kbps (1774.9 kbyte/s) Searching for sequence header... OK! VIDEO: MPEG2 1920x1080 (aspect 1) 23.976 fps 14540.1 kbps (1817.5 kbyte/s) [V] filefmt:3 fourcc:0x10000002 size:1920x1080 fps:23.98 ftime:=0.0417 Clip info: Software: MEncoder 1.0pre3-3.2.2 get_path('sub/') -> '/home/root/.mplayer/sub/' get_path('default.sub') -> '/home/root/.mplayer/default.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 mp3lib: using 3DNow!Ex optimized decore! MP3lib: init layer2&3 finished, tables done MPEG 1.0, Layer III, 48000 Hz 32 kbit Stereo, BPF: 96 Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0 AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 4000->192000 (32.0 kbit) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== X11 opening display: :0.0 vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F) vo: X11 running at 800x600 with depth 16 and 16 bpp (":0.0" => local display) [x11] Unknown wm type... [x11] Current fstype setting doesn't honour any X atoms ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 1920 x 1080 (preferred csp: Mpeg PES) Trying filter chain: vo Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] SwScale params: -1 x -1 (-1=no scaling) Trying filter chain: scale vo The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2)) ========================================================================== Checking 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 AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian) ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian) audio_setup: using '/dev/dsp' dsp device audio_setup: using '/dev/mixer' mixer device audio_setup: using 'pcm' mixer 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: 128/128 (1024 bytes/frag) free: 131072 AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) 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 = 0x00000001 and bps = 2 [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2 Starting playback... VDec: vo config request - 1920 x 1080 (preferred csp: Planar YV12) Trying filter chain: vo VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (1920x1080->1920x1080,flags=1,'MPlayer',0x32315659) VO: [xv] 1920x1080 => 1920x1080 Planar YV12 [fs] VO: Description: X11/Xv VO: Author: Gerd Knorr and others Xvideo image format: 0x32595559 (YUY2) packed Xvideo image format: 0x32315659 (YV12) planar Xvideo image format: 0x59565955 (UYVY) packed Xvideo image format: 0x30323449 (I420) planar aspect: Warning: no suitable new res found! using Xvideo port 77 for hw scaling aspect: Warning: no suitable new res found! aspect: Warning: no suitable new res found! [xv-fs] dx: 0 dy: 75 dw: 800 dh: 450 aspect: Warning: no suitable new res found! [xv] dx: 0 dy: 75 dw: 800 dh: 450 *** [vo] Allocating mp_image_t, 1920x1088x12bpp YUV planar, 3133440 bytes [xv] dx: 0 dy: 0 dw: 800 dh: 600 aspect: Warning: no suitable new res found! aspect: Warning: no suitable new res found! [xv-fs] dx: 0 dy: 75 dw: 800 dh: 450 XXX initial v_pts=0.000 a_pos=11040 (0.471) 1 ??% ??% ??,?% 0 0 41% *** [vo] Allocating mp_image_t, 1920x1088x12bpp YUV planar, 3133440 bytes get_path('subfont.ttf') -> '/home/root/.mplayer/subfont.ttf'?% 0 0 78% Unicode font: 255 glyphs. A: 1.6 V: 1.5 A-V: 0.100 ct: 0.150 37/ 37 56% 32% 2.6% 1 0 37% Program received signal SIGSEGV, Segmentation fault. 0x083daf7d in mpeg2_set_buf (mpeg2dec=0x8600200, buf=0x8606a30, id=0x8606a10) at decode.c:355 355 if (mpeg2dec->custom_fbuf && !mpeg2dec->fbuf[1]->buf[0]){ (gdb) bt #0 0x083daf7d in mpeg2_set_buf (mpeg2dec=0x8600200, buf=0x8606a30, id=0x8606a10) at decode.c:355 #1 0x080d7402 in decode (sh=0x85dc310, data=0x8659aa8, len=125409, flags=0) at vd_libmpeg2.c:193 #2 0x080d5433 in decode_video (sh_video=0x85dc310, start=0x8606a10 "\003Ã\004\fYV12\200\a", in_size=140536336, drop_frame=0) at dec_video.c:309 #3 0x0807be90 in main (argc=4, argv=0xbffff7e4) at mplayer.c:2314 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x83daf5d to 0x83daf9d: 0x083daf5d : mov (%esi),%eax 0x083daf5f : test %ecx,%ecx 0x083daf61 : mov %eax,(%edx) 0x083daf63 : mov 0x4(%esi),%eax 0x083daf66 : mov %eax,0x4(%edx) 0x083daf69 : mov 0x8(%esi),%eax 0x083daf6c : mov %eax,0x8(%edx) 0x083daf6f : mov 0x10(%ebp),%eax 0x083daf72 : mov %eax,0xc(%edx) 0x083daf75 : je 0x83dafa0 0x083daf77 : mov 0x4438(%ebx),%edx 0x083daf7d : mov (%edx),%eax 0x083daf7f : test %eax,%eax 0x083daf81 : jne 0x83dafa0 0x083daf83 : mov (%esi),%eax 0x083daf85 : movl $0x0,0xc(%edx) 0x083daf8c : mov %eax,(%edx) 0x083daf8e : mov 0x4(%esi),%eax 0x083daf91 : mov %eax,0x4(%edx) 0x083daf94 : mov 0x8(%esi),%eax 0x083daf97 : mov %eax,0x8(%edx) 0x083daf9a : lea 0x0(%esi),%esi ---Type to continue, or q to quit--- End of assembler dump. (gdb) info all-registers eax 0x8606a10 140536336 ecx 0x1 1 edx 0x0 0 ebx 0x8600200 140509696 esp 0xbfffe400 0xbfffe400 ebp 0xbfffe418 0xbfffe418 esi 0x8606a30 140536368 edi 0x8604450 140526672 eip 0x83daf7d 0x83daf7d eflags 0x210202 2163202 cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x0 0 gs 0x7 7 st0 -nan(0x6b26c8006b26c8) (raw 0xffff006b26c8006b26c8) st1 -nan(0xff95d938ff95d938) (raw 0xffffff95d938ff95d938) st2 -nan(0xd77effffaa94) (raw 0xffff0000d77effffaa94) st3 -nan(0xffd5f3aa000177c0) (raw 0xffffffd5f3aa000177c0) st4 -nan(0x2ea219e02ea219e) (raw 0xffff02ea219e02ea219e) st5 0.1000000000000000055511151231257827 (raw 0x3ffbccccccccccccd000) ---Type to continue, or q to quit--- st6 -0.1417083762586116846282635606257827 (raw 0xbffc911c002666666800) st7 -0.064940947850545247411590404906789331 (raw 0xbffb84ffc27983c131d8) fctrl 0x37f 895 fstat 0x120 288 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0xffffffff, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x80, 0xbf, 0x0 }, v8_int16 = {0x0, 0xbf80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = { 0xbf800000, 0x0, 0x0, 0x0}, v2_int64 = {0xbf800000, 0x0}, uint128 = 0x000000000000000000000000bf800000} xmm1 {v4_float = {0x2ee00, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x80, 0x3b, 0x48, 0x0 }, v8_int16 = { 0x8000, 0x483b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x483b8000, 0x0, 0x0, 0x0}, v2_int64 = {0x483b8000, 0x0}, uint128 = 0x000000000000000000000000483b8000} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, ---Type to continue, or q to quit--- v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} ---Type to continue, or q to quit--- mxcsr 0x1fa0 8096 mm0 {uint64 = 0x6b26c8006b26c8, v2_int32 = {0x6b26c8, 0x6b26c8}, v4_int16 = {0x26c8, 0x6b, 0x26c8, 0x6b}, v8_int8 = {0xc8, 0x26, 0x6b, 0x0, 0xc8, 0x26, 0x6b, 0x0}} mm1 {uint64 = 0xff95d938ff95d938, v2_int32 = {0xff95d938, 0xff95d938}, v4_int16 = {0xd938, 0xff95, 0xd938, 0xff95}, v8_int8 = {0x38, 0xd9, 0x95, 0xff, 0x38, 0xd9, 0x95, 0xff}} mm2 {uint64 = 0xd77effffaa94, v2_int32 = {0xffffaa94, 0xd77e}, v4_int16 = {0xaa94, 0xffff, 0xd77e, 0x0}, v8_int8 = {0x94, 0xaa, 0xff, 0xff, 0x7e, 0xd7, 0x0, 0x0}} mm3 {uint64 = 0xffd5f3aa000177c0, v2_int32 = {0x177c0, 0xffd5f3aa}, v4_int16 = {0x77c0, 0x1, 0xf3aa, 0xffd5}, v8_int8 = {0xc0, 0x77, 0x1, 0x0, 0xaa, 0xf3, 0xd5, 0xff}} mm4 {uint64 = 0x2ea219e02ea219e, v2_int32 = {0x2ea219e, 0x2ea219e}, v4_int16 = {0x219e, 0x2ea, 0x219e, 0x2ea}, v8_int8 = {0x9e, 0x21, 0xea, 0x2, 0x9e, 0x21, 0xea, 0x2}} mm5 {uint64 = 0xccccccccccccd000, v2_int32 = {0xccccd000, 0xcccccccc}, v4_int16 = {0xd000, 0xcccc, 0xcccc, 0xcccc}, v8_int8 = {0x0, 0xd0, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc}} mm6 {uint64 = 0x911c002666666800, v2_int32 = {0x66666800, 0x911c0026}, v4_int16 = {0x6800, 0x6666, 0x26, 0x911c}, v8_int8 = {0x0, 0x68, 0x66, 0x66, 0x26, 0x0, 0x1c, 0x91}} mm7 {uint64 = 0x84ffc27983c131d8, v2_int32 = {0x83c131d8, ---Type to continue, or q to quit--- 0x84ffc279}, v4_int16 = {0x31d8, 0x83c1, 0xc279, 0x84ff}, v8_int8 = {0xd8, 0x31, 0xc1, 0x83, 0x79, 0xc2, 0xff, 0x84}} (gdb) continue Continuing. MPlayer interrupted by signal 11 in module: decode_video - MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash. - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. Uninit audio filters... [libaf] Removing filter dummy uninit audio: mp3lib uninit video: libmpeg2 vo: uninit ... Program exited with code 01. (gdb) quit