bugfood@bugfood:/usr/local/src/mplayer/main$ gdb ./mplayer GNU gdb 6.3.90_20051119-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 "x86_64-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run -v /mnt/tmp/doom9/partial/test.avi -ss 96 Starting program: /usr/local/src/mplayer/main/mplayer -v /mnt/tmp/doom9/partial/test.avi -ss 96 [Thread debugging using libthread_db enabled] [New Thread 46912577011984 (LWP 1351)] Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/local/share/locale MPlayer dev-CVS-051202-14:43-4.0.3 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices (Family: 15, Stepping: 0) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 CommandLine: '-v' '/mnt/tmp/doom9/partial/test.avi' '-ss' '96' init_freetype get_path('font/font.desc') -> '/home/bugfood/.mplayer/font/font.desc' Font /home/bugfood/.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') -> '/home/bugfood/.mplayer/input.conf' Parsing input config file /home/bugfood/.mplayer/input.conf Input config file /home/bugfood/.mplayer/input.conf parsed: 75 binds get_path('test.avi.conf') -> '/home/bugfood/.mplayer/test.avi.conf' Playing /mnt/tmp/doom9/partial/test.avi. get_path('sub/') -> '/home/bugfood/.mplayer/sub/' [file] File size is 7776690 bytes STREAM: [file] /mnt/tmp/doom9/partial/test.avi STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) AVI file format detected. list_end=0xD4 ======= 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: 2402 initial: 0 streams: 1 Suggested BufferSize: 0 Size: 640 x 272 ========================== list_end=0xD4 ==> Found video stream: 0 ====== STREAM Header ===== Type: vids FCC: SNOW (574F4E53) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 24000/1001 = 23.976 Start: 0 Len: 2402 Suggested BufferSize: 19091 Quality 0 Sample size: 0 ========================== Found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 640 biHeight 272 biPlanes 1 biBitCount 24 biCompression 1464815187='SNOW' biSizeImage 522240 =========================== list_end=0x10C hdr=Software size=36 Software : MEncoder dev-CVS-051130-13:58-4.0.3 list_end=0x76138A Found movie at 0x100C - 0x76138A Reading INDEX block, 2402 chunks for 2402 frames (fpos=0x761392) AVI index offset: 0x1008 (movi=0x100C idx0=0x4 idx1=0xC) Auto-selected AVI video ID = 0 AVI_NI: No audio stream found -> no sound. AVI: Searching for audio stream (id:-1) AVI: No audio stream found -> no sound. AVI video size=7713763 (2402) audio size=0 (0) VIDEO: [SNOW] 640x272 24bpp 23.976 fps 616.0 kbps (75.2 kbyte/s) [V] filefmt:3 fourcc:0x574F4E53 size:640x272 fps:23.98 ftime:=0.0417 Clip info: Software: MEncoder dev-CVS-051130-13:58-4.0.3 get_path('sub/') -> '/home/bugfood/.mplayer/sub/' get_path('default.sub') -> '/home/bugfood/.mplayer/default.sub' 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 no colorkey. [xv common] Maximum source image dimensions: 2046x2046 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family INFO: libavcodec init OK! Selected video codec: [ffsnow] vfm: ffmpeg (FFSNOW (Michael's wavelet codec)) ========================================================================== Audio: no sound Freeing 0 unused audio chunks. Starting playback... [ffmpeg] aspect_ratio: 0.000000 VDec: vo config request - 640 x 272 (preferred colorspace: Planar YV12) Trying filter chain: vo VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (640x272->640x272,flags=0,'MPlayer',0x32315659) VO: [xv] 640x272 => 640x272 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 Xvideo image format: 0x3 ( ) packed using Xvideo port 272 for hw scaling [xv] dx: 0 dy: 0 dw: 640 dh: 272 *** [vo] Exporting mp_image_t, 640x272x12bpp YUV planar, 261120 bytes [xv] dx: 0 dy: 0 dw: 640 dh: 274 V: 0.0 1/ 1 ??% ??% ??,?% 0 0 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912577011984 (LWP 1351)] decode_q_branch (s=0x2aaaaf7d1010, level=, x=, y=0) at snow.c:2013 2013 s->block[index + i + j*w]= block; (gdb) bt #0 decode_q_branch (s=0x2aaaaf7d1010, level=, x=, y=0) at snow.c:2013 #1 0x00000000006d5d04 in decode_blocks (s=0x1) at snow.c:2342 #2 0x00000000006d8f70 in decode_frame (avctx=0xbf1150, data=0xbf1030, data_size=0x7fffffe924ac, buf=, buf_size=) at snow.c:3698 #3 0x0000000000586021 in avcodec_decode_video (avctx=0xbf1150, picture=0xbf1030, got_picture_ptr=0x7fffffe924ac, buf=0xccff30 "", buf_size=5978) at utils.c:906 #4 0x0000000000464f9b in decode (sh=0xbdc6e0, data=0xccff30, len=5978, flags=0) at vd_ffmpeg.c:826 #5 0x0000000000461d4e in decode_video (sh_video=0xbdc6e0, start=0xccff30 "", in_size=5978, drop_frame=0) at dec_video.c:316 #6 0x0000000000414a3f in main (argc=, argv=) at mplayer.c:2682 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x6d4acd to 0x6d4b0d: 0x00000000006d4acd : or $0x7,%al 0x00000000006d4acf : nop 0x00000000006d4ad0 : movslq %ecx,%rax 0x00000000006d4ad3 : inc %edi 0x00000000006d4ad5 : inc %ecx 0x00000000006d4ad7 : lea 0x0(,%rax,8),%rdx 0x00000000006d4adf : lea (%rdx,%rax,2),%rax 0x00000000006d4ae3 : add 0x20b708(%r14),%rax 0x00000000006d4aea : cmp %edi,%r12d 0x00000000006d4aed : mov %sil,0x8(%rax) 0x00000000006d4af1 : mov %r8b,0x7(%rax) 0x00000000006d4af5 : mov %r9w,0x2(%rax) 0x00000000006d4afa : mov %r10w,(%rax) 0x00000000006d4afe : mov %r11b,0x6(%rax) 0x00000000006d4b02 : mov %bl,0x5(%rax) 0x00000000006d4b05 : mov %bpl,0x4(%rax) 0x00000000006d4b09 : jne 0x6d4ad0 0x00000000006d4b0b : inc %r13d End of assembler dump. (gdb) info all-registers rax 0x12ef990 19855760 rbx 0x80 128 rcx 0xa0001 655361 rdx 0x500000 5242880 rsi 0x0 0 rdi 0x1 1 rbp 0x80 0x80 rsp 0x7fffffe91df8 0x7fffffe91df8 r8 0x1 1 r9 0x0 0 r10 0x0 0 r11 0x7e 126 r12 0x4000 16384 r13 0x1 1 r14 0x2aaaaf7d1010 46912577015824 r15 0x0 0 rip 0x6d4aed 0x6d4aed eflags 0x10216 66070 cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 0 (raw 0x00000000000000000000) st5 0 (raw 0x00000000000000000000) st6 0 (raw 0x00000000000000000000) st7 100.1417083740234375 (raw 0x4005c8488e0000000000) fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 ---Type to continue, or q to quit--- fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x82, 0x82, 0x82, 0x81 }, v8_int16 = {0x8282, 0x8182, 0x8181, 0x8181, 0x8181, 0x8181, 0x8181, 0x8181}, v4_int32 = {0x81828282, 0x81818181, 0x81818181, 0x81818181}, v2_int64 = {0x8181818181828282, 0x8181818181818181}, uint128 = 0x81818181818181818181818181828282} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80}, v8_int16 = {0x8181, 0x8181, 0x8181, 0x8181, 0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {0x81818181, 0x81818181, 0x80808080, 0x80808080}, v2_int64 = {0x8181818181818181, 0x8080808080808080}, uint128 = 0x80808080808080808181818181818181} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x80 }, v8_int16 = {0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080}, v2_int64 = {0x8080808080808080, 0x8080808080808080}, uint128 = 0x80808080808080808080808080808080} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x8000000000000000}, v16_int8 = { 0x80 , 0x7f, 0x7f, 0x7f, 0x7e, 0x7e}, v8_int16 = {0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x7f80, 0x7f7f, 0x7e7e}, v4_int32 = {0x80808080, 0x80808080, 0x7f808080, 0x7e7e7f7f}, v2_int64 = { 0x8080808080808080, 0x7e7e7f7f7f808080}, uint128 = 0x7e7e7f7f7f8080808080808080808080} 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 = {0x1, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xab, 0xaa, 0xaa, 0x3f, 0x0 }, v8_int16 = {0xaaab, 0x3faa, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = { 0x3faaaaab, 0x0, 0x0, 0x0}, v2_int64 = {0x3faaaaab, 0x0}, uint128 = 0x0000000000000000000000003faaaaab} xmm6 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x2d, 0xd1, 0x59, 0x66, 0x11, 0x0, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xd12d, 0x6659, 0x11, 0x3ff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x6659d12d, 0x3ff00011, 0x0, 0x0}, v2_int64 = {0x3ff000116659d12d, 0x0}, uint128 = 0x00000000000000003ff000116659d12d} 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} xmm8 {v4_float = {0x7a8c0000, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x74, 0x85, 0x15, 0xd3, 0xb0, 0x59, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x8574, 0xd315, ---Type to continue, or q to quit--- 0x59b0, 0x3ff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xd3158574, 0x3ff059b0, 0x0, 0x0}, v2_int64 = { 0x3ff059b0d3158574, 0x0}, uint128 = 0x00000000000000003ff059b0d3158574} xmm9 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3fa0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3fa00000, 0x0, 0x0}, v2_int64 = {0x3fa0000000000000, 0x0}, uint128 = 0x00000000000000003fa0000000000000} xmm10 {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} xmm11 {v4_float = {0x0, 0x4b, 0x0, 0x0}, v2_double = {0x5ffffffffff, 0x0}, v16_int8 = {0x2c, 0xfd, 0xff, 0xff, 0xff, 0xff, 0x97, 0x42, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xfd2c, 0xffff, 0xffff, 0x4297, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xfffffd2c, 0x4297ffff, 0x0, 0x0}, v2_int64 = { 0x4297fffffffffd2c, 0x0}, uint128 = 0x00000000000000004297fffffffffd2c} xmm12 {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} xmm13 {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} xmm14 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3fa0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3fa00000, 0x0, 0x0}, v2_int64 = {0x3fa0000000000000, 0x0}, uint128 = 0x00000000000000003fa0000000000000} xmm15 {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 0x1fa0 8096 (gdb) k Kill the program being debugged? (y or n) y (gdb) q bugfood@bugfood:/usr/local/src/mplayer/main$