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 473)] 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 0x8488798 ASF_check: not ASF guid! DEMUXER: freeing demuxer at 0x8488798 Checking for NuppelVideo DEMUXER: freeing demuxer at 0x8488798 Checking for MOV DEMUXER: freeing demuxer at 0x8488798 Checking for VIVO header block 1 size: 0 DEMUXER: freeing demuxer at 0x8488798 Checking for REAL DEMUXER: freeing demuxer at 0x8488798 DEMUXER: freeing demuxer at 0x8488798 DEMUXER: freeing demuxer at 0x8488798 DEMUXER: freeing demuxer at 0x8488798 DEMUXER: freeing demuxer at 0x8488798 Checking for SMJPEG DEMUXER: freeing demuxer at 0x8488798 DEMUXER: freeing demuxer at 0x8489138 Checking for PVA DEMUXER: freeing demuxer at 0x8489138 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 38% 29% 0,0% 0 0 0% uninit video: libmpeg2 DEMUXER: freeing demuxer at 0x8489ad8 DEMUXER: freeing sh_video at 0x848ddf0 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: 16,50% (1384448 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) /769 24% 11% 4,0% 22 0 0%% Broken frame at 0x35A60 ds_fill_buffer: EOF reached (stream: video) /785 24% 11% 3,9% 22 0 0% EOF code: 1 31,4 A-V: -0,026 ct: 0,009 785/785 24% 11% 3,9% 22 0 0% Uninit audio filters... uninit audio: mp3lib uninit video: ffmpeg DEMUXER: freeing demuxer at 0x8496f08 Too old save slot found from lvl 2 : 137867912 !!! Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 473)] __libc_free (mem=0x10) at malloc.c:3135 3135 malloc.c: No such file or directory. in malloc.c (gdb) bt #0 __libc_free (mem=0x10) at malloc.c:3135 #1 0x08082b51 in free_str (src=0x83776e0) at m_option.c:331 #2 0x080816f0 in m_config_pop (config=0x83781e0) at m_option.h:219 #3 0x08076f48 in play_tree_iter_up_step (iter=0x83f4e98, d=1, with_nodes=0) at playtree.c:704 #4 0x08076cb0 in play_tree_iter_step (iter=0x83f4e98, d=1, with_nodes=0) at playtree.c:603 #5 0x08072284 in main (argc=2, argv=0xbffff744) at mplayer.c:2864 #6 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 0x404b948b to 0x404b94cb: 0x404b948b <__libc_free+31>: test %ecx,%ecx 0x404b948d <__libc_free+33>: je 0x404b94a0 <__libc_free+52> 0x404b948f <__libc_free+35>: mov 0x4(%ebp),%eax 0x404b9492 <__libc_free+38>: add $0xfffffff8,%esp 0x404b9495 <__libc_free+41>: push %eax 0x404b9496 <__libc_free+42>: push %edx 0x404b9497 <__libc_free+43>: call *%ecx 0x404b9499 <__libc_free+45>: jmp 0x404b953a <__libc_free+206> 0x404b949e <__libc_free+50>: mov %esi,%esi 0x404b94a0 <__libc_free+52>: test %edx,%edx 0x404b94a2 <__libc_free+54>: je 0x404b953a <__libc_free+206> 0x404b94a8 <__libc_free+60>: lea 0xfffffff8(%edx),%edi 0x404b94ab <__libc_free+63>: testb $0x2,0xfffffffc(%edx) 0x404b94af <__libc_free+67>: je 0x404b94c0 <__libc_free+84> 0x404b94b1 <__libc_free+69>: mov %edi,%eax 0x404b94b3 <__libc_free+71>: call 0x404b84a0 0x404b94b8 <__libc_free+76>: jmp 0x404b953a <__libc_free+206> 0x404b94bd <__libc_free+81>: lea 0x0(%esi),%esi 0x404b94c0 <__libc_free+84>: lea 0xffffd848(%ebx),%eax 0x404b94c6 <__libc_free+90>: cmp 0xffffd850(%ebx),%edi End of assembler dump.