2005Jan20/main# gdb ./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 test.avi Starting program: /home/root/temp/MPlayer/CVS-2005Jan20/main/mplayer -v test.avi Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/local/share/locale MPlayer dev-CVS-050120-13:05-3.3.4 (C) 2000-2005 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' 'test.avi' 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 Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.) Using nanosleep() timing 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('test.avi.conf') -> '/home/root/.mplayer/test.avi.conf' Playing test.avi. [file] File size is 2249708 bytes STREAM: [file] test.avi 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.39% (40960 bytes) AVI file format detected. list_end=0x13A ======= AVI Header ======= us/frame: 16666 (fps=60.002) max bytes/sec: 0 padding: 0 MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE frames total: 1790 initial: 0 streams: 2 Suggested BufferSize: 0 Size: 720 x 480 ========================== list_end=0xD4 ==> Found video stream: 0 ====== STREAM Header ===== Type: vids FCC: mpg2 (3267706D) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 60/1 = 60.000 Start: 0 Len: 1790 Suggested BufferSize: 21945 Quality 0 Sample size: 0 ========================== found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 720 biHeight 480 biPlanes 1 biBitCount 24 biCompression 845639789='mpg2' biSizeImage 1036800 =========================== list_end=0x13A ==> Found audio stream: 1 ====== STREAM Header ===== Type: auds FCC: (2000) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 24000/1 = 24000.000 Start: 0 Len: 732000 Suggested BufferSize: 12000 Quality 0 Sample size: 1 ========================== found 'wf', 18 bytes of 18 ======= WAVE Format ======= Format Tag: 8192 (0x2000) Channels: 2 Samplerate: 48000 avg byte/sec: 24000 Block align: 1 bits/sample: 16 cbSize: 0 =========================== list_end=0x166 hdr=Software size=23 Software : MEncoder 1.0pre6-3.3.4 list_end=0x21E034 Found movie at 0x100C - 0x21E034 Reading INDEX block, 1851 chunks for 1790 frames (fpos=0x21e03c) AVI index offset: 0x1008 (movi=0x100C idx0=0x4 idx1=0x2EEC) Auto-selected AVI audio ID = 1 Auto-selected AVI video ID = 0 AVI: Searching for audio stream (id:1) AVI video size=1468821 (1790) audio size=732000 (732000) VIDEO: [mpg2] 720x480 24bpp 60.000 fps 393.9 kbps (48.1 kbyte/s) Searching for sequence header... Program received signal SIGSEGV, Segmentation fault. 0x0815cffe in sync_video_packet (ds=0x86c0d58) at parse_es.c:39 39 videobuf_code[2]==1) break; // synced (gdb) bt #0 0x0815cffe in sync_video_packet (ds=0x86c0d58) at parse_es.c:39 #1 0x0814f918 in video_read_properties (sh_video=0x86c0e90) at video.c:255 #2 0x0814f3d2 in video_read_properties (sh_video=0x86c0e90) at video.c:109 #3 0x080a4c81 in main (argc=3, argv=0xbffff7d4) at mplayer.c:1758 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x815cfde to 0x815d01e: 0x0815cfde : jmp 0x815cf69 0x0815cfe0 : sbb $0x24,%al 0x0815cfe2 : call 0x8158960 0x0815cfe7 : mov $0xffffffff,%edx 0x0815cfec : test %eax,%eax 0x0815cfee : je 0x815ceff 0x0815cff4 : mov (%ebx),%edx 0x0815cff6 : mov 0x8(%ebx),%ecx 0x0815cff9 : lea 0x1(%edx),%eax 0x0815cffc : mov %eax,(%ebx) 0x0815cffe : movzbl (%edx,%ecx,1),%edx 0x0815d002 : jmp 0x815ceff 0x0815d007 : mov %esi,%esi 0x0815d009 : lea 0x0(%edi),%edi 0x0815d010 : push %ebp 0x0815d011 : mov %esp,%ebp 0x0815d013 : push %edi 0x0815d014 : push %esi 0x0815d015 : push %ebx 0x0815d016 : mov $0xffffffff,%ebx 0x0815d01b : sub $0x1c,%esp ---Type to continue, or q to quit--- End of assembler dump. (gdb) info all-registers eax 0x1 1 ecx 0x0 0 edx 0x0 0 ebx 0x86c0d58 141299032 esp 0xbfffe250 0xbfffe250 ebp 0xbfffe278 0xbfffe278 esi 0x0 0 edi 0x0 0 eip 0x815cffe 0x815cffe eflags 0x210202 2163202 cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x0 0 gs 0x7 7 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 0 (raw 0x00000000000000000000) st5 1 (raw 0x3fff8000000000000000) st6 0.01666666753590106964111328125 (raw 0x3ff98888890000000000) ---Type to continue, or q to quit--- st7 0.01666666753590106964111328125 (raw 0x3ff98888890000000000) fctrl 0x37f 895 fstat 0x20 32 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x1, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x80, 0x3f, 0x0 }, v8_int16 = {0x0, 0x3f80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x3f800000, 0x0, 0x0, 0x0}, v2_int64 = {0x3f800000, 0x0}, uint128 = 0x0000000000000000000000003f800000} xmm1 {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} 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}, ---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} 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 0x1fa0 8096 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 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, ---Type to continue, or q to quit--- 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}} mm6 {uint64 = 0x8888890000000000, v2_int32 = {0x0, 0x88888900}, v4_int16 = {0x0, 0x0, 0x8900, 0x8888}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x89, 0x88, 0x88}} mm7 {uint64 = 0x8888890000000000, v2_int32 = {0x0, 0x88888900}, v4_int16 = {0x0, 0x0, 0x8900, 0x8888}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x89, 0x88, 0x88}} (gdb) continue Continuing. MPlayer interrupted by signal 11 in module: video_read_properties - 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. vo: x11 uninit called but X11 not inited.. Program exited with code 01. (gdb) quit