emanuele@linux:~$ gdb mplayer GNU gdb 5.2 Copyright 2002 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-slackware-linux"... (gdb) run -v Starting program: /usr/bin/mplayer -v [New Thread 1024 (LWP 480)] Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/share/locale MPlayer 0.90rc1-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS) CPU: Intel Pentium II Klamath/Pentium II OverDrive (Family: 6, Stepping: 4) CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX Reading config file /usr/etc/mplayer/mplayer.conf: No such file or directory Reading config file /home/emanuele/.mplayer/config [cfg] read config file: /home/emanuele/.mplayer/gui.conf Reading config file /home/emanuele/.mplayer/gui.conf vo: X11 running at 800x600 with depth 16 and 16 bpp (":0.0" => local display) [x11] Detected wm is of class NetWM. Reading /home/emanuele/.mplayer/codecs.conf: this codecs.conf is too old, incompatible with this mplayer release! at line 13 Reading /usr/etc/mplayer/codecs.conf: 49 audio & 123 video codecs CommandLine: '-v' Font /home/emanuele/.mplayer/font/font.desc loaded successfully! (206 chars) Using MMX Optimized OnScreenDisplay Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. Using usleep() timing get_path('input.conf') -> '/home/emanuele/.mplayer/input.conf' Parsing input config file /home/emanuele/.mplayer/input.conf Input config file /home/emanuele/.mplayer/input.conf parsed : 50 binds vo: X11 truecolor visual 0x22, depth 16, R:F800 G:7E0 B:1F vo: X11 truecolor visual 0x23, depth 16, R:F800 G:7E0 B:1F get_path('Skin') -> '/home/emanuele/.mplayer/Skin' SKIN dir 1: '/home/emanuele/.mplayer/Skin' SKIN dir 2: '/usr/share/mplayer/Skin' vo: X11 truecolor visual 0x22, depth 16, R:F800 G:7E0 B:1F vo: X11 truecolor visual 0x23, depth 16, R:F800 G:7E0 B:1F vo: X11 truecolor visual 0x22, depth 16, R:F800 G:7E0 B:1F vo: X11 truecolor visual 0x23, depth 16, R:F800 G:7E0 B:1F vo: X11 truecolor visual 0x22, depth 16, R:F800 G:7E0 B:1F vo: X11 truecolor visual 0x23, depth 16, R:F800 G:7E0 B:1F Font /home/emanuele/.mplayer/font/font.desc loaded successfully! (206 chars) Font /home/emanuele/.mplayer/font/font.desc loaded successfully! (206 chars) Playing /home/emanuele/pyre.mpg Not an URL! File size is 918706 bytes CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0 Cache fill: 10,95% (918706 bytes) Checking for YUV4MPEG2 DEMUXER: freeing demuxer at 0x8488800 ASF_check: not ASF guid! DEMUXER: freeing demuxer at 0x8488800 Checking for NuppelVideo DEMUXER: freeing demuxer at 0x8488800 Checking for MOV DEMUXER: freeing demuxer at 0x8488800 Checking for VIVO header block 1 size: 0 DEMUXER: freeing demuxer at 0x8488800 Checking for REAL DEMUXER: freeing demuxer at 0x8488800 DEMUXER: freeing demuxer at 0x8488800 DEMUXER: freeing demuxer at 0x8488800 DEMUXER: freeing demuxer at 0x8488800 DEMUXER: freeing demuxer at 0x8488800 Checking for SMJPEG DEMUXER: freeing demuxer at 0x8488800 DEMUXER: freeing demuxer at 0x84891a0 Checking for PVA DEMUXER: freeing demuxer at 0x84891a0 MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: video) MPEG packet stats: p100: 179 p101: 179 PES: 0 MP3: 71 Detected MPEG-ES file format! ==> Found video stream: 0 Searching for sequence header... OK! VIDEO: MPEG1 400x300 (aspect 1) 30,00 fps 1536,0 kbps (192,0 kbyte/s) [V] filefmt:1 fourcc:0x10000001 size:400x300 fps:30,00 ftime:=0,0333 get_path('sub/') -> '/home/emanuele/.mplayer/sub/' ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 400 x 300 (preferred csp: Mpeg PES) Couldn't find matching colorspace - retrying with -vop scale... Opening video filter: [scale] SwScale params: -1 x -1 (-1=no scaling) Sorry, selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0 libmpeg2: Using MMX for IDCT transform libmpeg2: Using MMX for motion compensation VDec: vo config request - 400 x 300 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (400x300->400x300,flags=0,'MPlayer',0x32315659) VO: [xv] 400x300 => 400x300 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: 0x30323449 (I420) planar using Xvideo port 52 for hw scaling [xv] dx: 0 dy: 0 dw: 400 dh: 300 Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2)) ========================================================================== Audio: no sound!!! Freeing 0 unused audio chunks Start playing... *** [vo] Allocating mp_image_t, 400x304x12bpp YUV planar, 182400 bytes [xv] dx: 0 dy: 0 dw: 400 dh: 300 *** [vo] Allocating mp_image_t, 400x304x12bpp YUV planar, 182400 bytes *** [vo] Allocating mp_image_t, 400x304x12bpp YUV planar, 182400 bytes ds_fill_buffer: EOF reached (stream: video) ds_fill_buffer: EOF reached (stream: video) ds_fill_buffer: EOF reached (stream: video) ds_fill_buffer: EOF reached (stream: video) ds_fill_buffer: EOF reached (stream: video) ds_fill_buffer: EOF reached (stream: video) EOF code: 1 39% 26% 0,0% 0 0 0% uninit video: libmpeg2 DEMUXER: freeing demuxer at 0x8489b40 DEMUXER: freeing sh_video at 0x848de58 Font /home/emanuele/.mplayer/font/font.desc loaded successfully! (206 chars) Playing /home/emanuele/Bolt 2 in 1.avi Not an URL! File size is 2048000 bytes CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0 Cache fill: 13,38% (1122304 bytes) Detected AVI file format! list_end=0x2292 ======= AVI Header ======= us/frame: 40000 (fps=25,000) max bytes/sec: 0 padding: 0 MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED frames total: 785 initial: 0 streams: 2 Suggested BufferSize: 0 Size: 352 x 288 list_end=0x10F4 ==> Found video stream: 0 ======= STREAM Header ======= Type: vids FCC: div4 (34766964) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 25/1 = 25,000 Start: 0 Len: 785 Suggested BufferSize: 15712 Quality 10000 Sample size: 0 found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 352 biHeight 288 biPlanes 1 biBitCount 24 biCompression 861292868='DIV3' biSizeImage 304128 =========================== Regenerating keyframe table for DIVX 3 video list_end=0x2186 ==> Found audio stream: 1 ======= STREAM Header ======= Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 1 Rate: 7000/1 = 7000,000 Start: 0 Len: 219800 Suggested BufferSize: 3500 Quality 0 Sample size: 1 found 'wf', 30 bytes of 18 ======= WAVE Format ======= Format Tag: 85 (0x55) Channels: 2 Samplerate: 24000 avg byte/sec: 7000 Block align: 1 bits/sample: 0 cbSize: 12 mp3.wID=1 mp3.fdwFlags=0x2 mp3.nBlockSize=168 mp3.nFramesPerBlock=1 mp3.nCodecDelay=1393 list_end=0x2292 Broken chunk? chunksize=1382 (id=JUNK) list_end=0x1ED730 Found movie at 0x280C - 0x1ED730 Reading INDEX block, 1559 chunks for 785 frames (fpos=0x1ed738) AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0xDB8) Auto-selected AVI audio ID = 1 Auto-selected AVI video ID = 0 AVI: Searching for audio stream (id:1) AVI video length=1778652 VIDEO: [DIV3] 352x288 24bpp 25,00 fps 453,2 kbps (55,3 kbyte/s) [V] filefmt:3 fourcc:0x33564944 size:352x288 fps:25,00 ftime:=0,0400 get_path('sub/') -> '/home/emanuele/.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 MMX optimized decore! MPEG 2.0, Layer III, 24000 Hz 56 kbit Joint-Stereo, BPF: 168 Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0 AUDIO: 24000 Hz, 2 ch, 16 bit (0x10), ratio: 7000->96000 (56,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)) ========================================================================== [pl_eq] Equalizer in use. [pl_eq] Equalizer in use. ao2: 24000 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 24000 Hz samplerate (requested: 24000) audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536 AO: [plugin] 24000Hz 2ch Signed 16-bit (Little-Endian) AO: Description: Plugin audio output AO: Author: Anders Building audio filter chain for 24000Hz/2ch/16bit -> 24000Hz/2ch/16bit... Adding filter dummy [dummy] Was reinitialized, rate=24000Hz, nch = 2, format = 0x00000001 and bps = 2 [dummy] Was reinitialized, rate=24000Hz, nch = 2, format = 0x00000001 and bps = 2 Start playing... XXX initial v_pts=0,000 a_pos=3500 (0,500) VDec: vo config request - 352 x 288 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (352x288->352x288,flags=0,'MPlayer',0x32315659) VO: [xv] 352x288 => 352x288 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: 0x30323449 (I420) planar using Xvideo port 52 for hw scaling [xv] dx: 0 dy: 0 dw: 352 dh: 288 *** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes [xv] dx: 0 dy: 0 dw: 352 dh: 288 *** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes3% ds_fill_buffer: EOF reached (stream: audio) /770 23% 11% 3,7% 37 0 0%% Broken frame at 0x35A60 ds_fill_buffer: EOF reached (stream: video) /785 22% 11% 3,7% 37 0 0% EOF code: 1 31,4 A-V: 0,004 ct: 0,005 785/785 22% 11% 3,7% 37 0 0% Uninit audio filters... uninit audio: mp3lib uninit video: ffmpeg DEMUXER: freeing demuxer at 0x8497480 Too old save slot found from lvl 2 : 138998608 !!! Font /home/emanuele/.mplayer/font/font.desc loaded successfully! (206 chars) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 480)] 0x404bfe43 in memcpy (dstpp=0x4000716d, srcpp=0x82a6bb8, len=4) at ../sysdeps/generic/memcpy.c:61 61 ../sysdeps/generic/memcpy.c: No such file or directory. in ../sysdeps/generic/memcpy.c (gdb) bt #0 0x404bfe43 in memcpy (dstpp=0x4000716d, srcpp=0x82a6bb8, len=4) at ../sysdeps/generic/memcpy.c:61 #1 0x08082158 in copy_opt (opt=0x82a37b4, dst=0x4000716d, src=0x82a6bb8) at m_option.c:22 #2 0x080815a3 in m_config_push (config=0x83781e0) at m_option.h:199 #3 0x080768da in play_tree_iter_push_params (iter=0x83f38c8) at playtree.c:453 #4 0x08076ff6 in play_tree_iter_down_step (iter=0x83f38c8, d=0, with_nodes=0) at playtree.c:726 #5 0x08076cec in play_tree_iter_step (iter=0x83f38c8, d=0, with_nodes=0) at playtree.c:613 #6 0x0806dc25 in main (argc=2, argv=0xbffff744) at mplayer.c:900 #7 0x4046217d in __libc_start_main (main=0x806d174
, argc=2, ubp_av=0xbffff744, init=0x8069f4c <_init>, fini=0x821a6e0 <_fini>, rtld_fini=0x4000a534 <_dl_fini>, stack_end=0xbffff73c) at ../sysdeps/generic/libc-start.c:129 (gdb) disass $eip-32 $eip+32 Dump of assembler code from 0x404bfe23 to 0x404bfe63: 0x404bfe23 : jbe 0x404bfe40 0x404bfe25 : mov %edx,%ecx 0x404bfe27 : neg %ecx 0x404bfe29 : and $0x3,%ecx 0x404bfe2c : sub %ecx,%eax 0x404bfe2e : cld 0x404bfe2f : repz movsb %ds:(%esi),%es:(%edi) 0x404bfe31 : mov %eax,%ecx 0x404bfe33 : shr $0x2,%ecx 0x404bfe36 : cld 0x404bfe37 : repz movsl %ds:(%esi),%es:(%edi) 0x404bfe39 : and $0x3,%eax 0x404bfe3c : lea 0x0(%esi,1),%esi 0x404bfe40 : mov %eax,%ecx 0x404bfe42 : cld 0x404bfe43 : repz movsb %ds:(%esi),%es:(%edi) 0x404bfe45 : mov %edx,%eax 0x404bfe47 : pop %esi 0x404bfe48 : pop %edi 0x404bfe49 : mov %ebp,%esp 0x404bfe4b : pop %ebp 0x404bfe4c : ret 0x404bfe4d : lea 0x0(%esi),%esi 0x404bfe50 : mov (%esp,1),%ebx 0x404bfe53 : ret 0x404bfe54 <_wordcopy_fwd_aligned>: push %ebp 0x404bfe55 <_wordcopy_fwd_aligned+1>: mov %esp,%ebp 0x404bfe57 <_wordcopy_fwd_aligned+3>: push %edi 0x404bfe58 <_wordcopy_fwd_aligned+4>: push %esi 0x404bfe59 <_wordcopy_fwd_aligned+5>: push %ebx 0x404bfe5a <_wordcopy_fwd_aligned+6>: call 0x404bfe50 0x404bfe5f <_wordcopy_fwd_aligned+11>: add $0xa6ff9,%ebx ---Type to continue, or q to quit--- End of assembler dump. (gdb)