bugfood@ganon:/usr/local/src/mplayer/main.exp$ gdb ./mplayer GNU gdb 6.3-debian 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 "i386-linux"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run -v /mnt/tmp/doom9/shots/matrix-clip.vob -vf spp Starting program: /usr/local/src/mplayer/main.exp/mplayer -v /mnt/tmp/doom9/shots/matrix-clip.vob -vf spp [Thread debugging using libthread_db enabled] [New Thread -1223858496 (LWP 28893)] Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/local/share/locale MPlayer dev-CVS-051202-13:27-4.0.2 (C) 2000-2005 MPlayer Team CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin (Family: 15, Stepping: 4) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 CommandLine: '-v' '/mnt/tmp/doom9/shots/matrix-clip.vob' '-vf' 'spp' init_freetype get_path('font/font.desc') -> '/home/bugfood/.mplayer/font/font.desc' font: can't open file: /home/bugfood/.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/bugfood/.mplayer/input.conf' Parsing input config file /home/bugfood/.mplayer/input.conf Input config file /home/bugfood/.mplayer/input.conf parsed: 59 binds get_path('matrix-clip.vob.conf') -> '/home/bugfood/.mplayer/matrix-clip.vob.conf' Playing /mnt/tmp/doom9/shots/matrix-clip.vob. get_path('sub/') -> '/home/bugfood/.mplayer/sub/' [file] File size is 1048576 bytes STREAM: [file] /mnt/tmp/doom9/shots/matrix-clip.vob STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for NuppelVideo Checking for REAL Checking for SMJPEG Searching demuxer type for filename /mnt/tmp/doom9/shots/matrix-clip.vob ext: .vob Trying demuxer 2 based on filename extension system stream synced at 0xD (0)! ==> Found video stream: 0 ==> Found audio stream: 128 ==> Found audio stream: 129 ==> Found audio stream: 130 ==> Found audio stream: 131 ==> Found audio stream: 132 ==> Found subtitle: 0 ==> Found subtitle: 1 ==> Found subtitle: 4 ==> Found subtitle: 5 MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: video) MPEG-PS file format detected. 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 get_path('sub/') -> '/home/bugfood/.mplayer/sub/' get_path('default.sub') -> '/home/bugfood/.mplayer/default.sub' ========================================================================== 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 448.0 kbit/s A52 flags before a52_frame: 0x2A A52 flags after a52_frame: 0xA Using MMX optimized resampler AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000) Selected audio codec: [a52] afm: liba52 (AC3-liba52) ========================================================================== X11 opening display: :0.0 vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo: X11 running at 1400x1050 with depth 24 and 32 bpp (":0.0" => local display) [x11] Detected wm supports layers. [x11] Detected wm supports NetWM. [x11] Detected wm supports FULLSCREEN state. [x11] Detected wm supports ABOVE state. [x11] Detected wm supports BELOW state. [x11] Current fstype setting honours LAYER FULLSCREEN ABOVE BELOW X atoms [xv common] Drawing colorkey manually. [xv common] Using colorkey from Xv (0x0101fe). [xv common] Maximum source image dimensions: 2046x2046 Opening video filter: [spp] ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES) [PP] Using external postprocessing filter, max q = 6. Trying filter chain: spp 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 spp vo The selected video_out device is incompatible with this codec. Also try adding the scale filter, e.g. -vf spp,scale instead of -vf spp. 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)) ========================================================================== Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le ao2: 48000 Hz 2 chans s16le audio_setup: using '/dev/dsp' dsp device audio_setup: using '/dev/mixer' mixer device audio_setup: using 'pcm' mixer device audio_setup: sample format: s16le (requested: s16le) 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 s16le (2 bytes per sample) AO: Description: OSS/ioctl audio output AO: Author: A'rpi Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le... [dummy] Was reinitialized: 48000Hz/2ch/s16le [dummy] Was reinitialized: 48000Hz/2ch/s16le Starting playback... VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12) [PP] Using external postprocessing filter, max q = 6. Trying filter chain: spp vo 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=0x437 req=0x0 VO: [xv] 720x480 => 854x480 Planar YV12 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 using Xvideo port 122 for hw scaling [xv] dx: 0 dy: 0 dw: 854 dh: 480 *** [spp] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes [xv] dx: 0 dy: 0 dw: 854 dh: 481 *** [spp] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1223858496 (LWP 28893)] 0x08400f59 in ff_fdct_sse2 (block=0xbfa74278) at i386/fdct_mmx.c:353 353 asm volatile( (gdb) bt #0 0x08400f59 in ff_fdct_sse2 (block=0xbfa74278) at i386/fdct_mmx.c:353 #1 0x08128476 in filter (p=0x8748360, dst=0xb6b09040 "", src=0xb6c09040 '\020' ..., dst_stride=720, src_stride=720, width=720, height=480, qp_store=0x873d368 '\004' , '\005' , "\004\005\005\005\005\005\005\004\005\004", '\005' , "\004\005\005\005\005\005\n\n\n\n\n\n\n\006\006\006\a\b\b\b\b\b\b\n\n\n\n\n\n\b", '\n' , "\006\006\006\006\006\006\f\005\005\005\006\a\a\006\006\006\a\006\006\006"..., qp_stride=45, is_luma=1) at vf_spp.c:418 #2 0x08128a17 in put_image (vf=0x8747a38, mpi=0x873d2f8) at vf_spp.c:486 #3 0x080f6e94 in decode_video (sh_video=0x8716b90, start=0x8609080 "", in_size=140546176, drop_frame=0) at dec_video.c:339 #4 0x080a3a50 in main (argc=5, argv=0xbfa756e4) at mplayer.c:2682 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x8400f39 to 0x8400f79: 0x08400f39 : cmc 0x08400f3a : int3 0x08400f3b : paddd %xmm7,%xmm3 0x08400f3f : paddd %xmm2,%xmm1 0x08400f43 : paddd %xmm6,%xmm3 0x08400f47 : paddd %xmm6,%xmm1 0x08400f4b : psrad $0x11,%xmm3 0x08400f50 : psrad $0x11,%xmm1 0x08400f55 : packssdw %xmm3,%xmm1 0x08400f59 : movdqa %xmm1,0x0(%ecx) 0x08400f5e : movq 0x40(%ebx),%xmm2 0x08400f63 : movq 0x48(%ebx),%xmm0 0x08400f68 : movdqa 0x20(%edx),%xmm3 0x08400f6d : movdqa 0x30(%edx),%xmm7 0x08400f72 : movq %xmm2,%xmm1 0x08400f76 : pshuflw $0x1b,%xmm0,%xmm0 End of assembler dump. (gdb) info all-registers eax 0x8609080 140546176 ecx 0xbfa74278 -1079557512 edx 0x8608e80 140545664 ebx 0xbfa74168 -1079557784 esp 0xbfa74168 0xbfa74168 ebp 0xbfa741f8 0xbfa741f8 esi 0xbfa742f0 -1079557392 edi 0xbfa74280 -1079557504 eip 0x8400f59 0x8400f59 eflags 0x210282 2163330 cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 st0 -nan(0x1000100010001) (raw 0xffff0001000100010001) st1 (raw 0xffff0000000000000000) st2 -nan(0x1000100010001) (raw 0xffff0001000100010001) st3 (raw 0xffff0000000000000000) st4 (raw 0xffff0000000000000000) st5 -nan(0xffffffffffffffff) (raw 0xffffffffffffffffffff) st6 (raw 0xffff0000000000000000) st7 -nan(0xffffffffffffffff) (raw 0xffffffffffffffffffff) fctrl 0x37f 895 fstat 0x120 288 ftag 0xaaaa 43690 fiseg 0x73 115 fioff 0x80f6e56 135229014 foseg 0x7b 123 fooff 0x8634018 140722200 fop 0x1c9 457 xmm0 {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} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 }, ---Type to continue, or q to quit--- v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm2 {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} 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} mxcsr 0x1f80 8064 mm0 {uint64 = 0x1000100010001, v2_int32 = {0x10001, 0x10001}, v4_int16 = {0x1, 0x1, 0x1, 0x1}, v8_int8 = {0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0}} mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm2 {uint64 = 0x1000100010001, v2_int32 = {0x10001, 0x10001}, v4_int16 = {0x1, 0x1, 0x1, 0x1}, v8_int8 = {0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0}} mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm4 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm5 {uint64 = 0xffffffffffffffff, v2_int32 = {0xffffffff, 0xffffffff}, v4_int16 = {0xffff, 0xffff, 0xffff, 0xffff}, v8_int8 = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}} mm6 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm7 {uint64 = 0xffffffffffffffff, v2_int32 = {0xffffffff, 0xffffffff}, v4_int16 = {0xffff, 0xffff, ---Type to continue, or q to quit--- 0xffff, 0xffff}, v8_int8 = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}} (gdb) k Kill the program being debugged? (y or n) y (gdb) q bugfood@ganon:/usr/local/src/mplayer/main.exp$