[MPlayer-dev-eng] Re: CVS Mplayer crashes at exit
İsmail Dönmez
ismail at kde.org.tr
Sat Sep 10 23:10:12 CEST 2005
Here is more info :
cartman at pardus ~ $ ld -v
GNU ld version 2.16.1
cartman at pardus ~ $ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/specs
Configured
with: /var/tmp/portage/gcc-3.3.5.20050130-r1/work/gcc-3.3.5/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3
--host=i686-pc-linux-gnu --disable-altivec --enable-nls
--without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--enable-java-awt=gtk --enable-languages=c,c++,java --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.5-20050130 (Pardus Linux 3.3.5.20050130-r1,
ssp-3.3.5.20050130-1, pie-8.7.7.1)
cartman at pardus ~ $ gdb mplayer
GNU gdb 6.3
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 "i686-pc-linux-gnu"...rUsing host libthread_db
library "/lib/libthread_db.so.1".
(gdb) run -v ~/ps-bl52.sample.avi
Starting program: /usr/local/bin/mplayer -v ~/ps-bl52.sample.avi
[Thread debugging using libthread_db enabled]
[New Thread -1225279824 (LWP 10719)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer dev-CVS-050910-23:41-3.3.5-20050130 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
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' '/home/cartman/ps-bl52.sample.avi'
init_freetype
Using MMX (with tiny bit MMX2) 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 nanosleep() timing
get_path('input.conf') -> '/home/cartman/.mplayer/input.conf'
Can't open input config file /home/cartman/.mplayer/input.conf: No such file
or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file
or directory
Falling back on default (hardcoded) input config
get_path('ps-bl52.sample.avi.conf') ->
'/home/cartman/.mplayer/ps-bl52.sample.avi.conf'
Playing /home/cartman/ps-bl52.sample.avi.
[file] File size is 13254656 bytes
STREAM: [file] /home/cartman/ps-bl52.sample.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 33367 (fps=29.970)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 1903 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 640 x 352
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids FCC: xvid (64697678)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 2997/100 = 29.970
Start: 0 Len: 1903
Suggested BufferSize: 38114
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 640
biHeight 352
biPlanes 1
biBitCount 12
biCompression 1145656920='XVID'
biSizeImage 1351680
===========================
Regenerating keyframe table for MPEG4 video
list_end=0x2186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0 Len: 2645
Suggested BufferSize: 768
Quality -1
Sample size: 0
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 19481
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=467
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===========================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=1903)
list_end=0x22B6
hdr=Software size=15
Software : Nandub v1.0rc2
list_end=0xC91F74
Found movie at 0x280C - 0xC91F74
Reading INDEX block, 4548 chunks for 1903 frames (fpos=0xc91f7c)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1EC)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=11870002 (1903) audio size=1262832 (2645)
VIDEO: [XVID] 640x352 12bpp 29.970 fps 1495.5 kbps (182.6 kbyte/s)
VIDEO: [XVID] 640x352 12bpp 29.970 fps 1495.5 kbps (182.6 kbyte/s)
[V] filefmt:3 fourcc:0x44495658 size:640x352 fps:29.97 ftime:=0.0334
Clip info:
Software: Nandub v1.0rc2
get_path('sub/') -> '/home/cartman/.mplayer/sub/'
get_path('default.sub') -> '/home/cartman/.mplayer/default.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
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
mpg123: Can't rewind stream by 4 bits!
MPEG 1.0, Layer III, 48000 Hz 160 kbit Joint-Stereo, BPF: 480
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X
atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x0101fe).
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
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
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: compiled for ALSA-1.0.8
alsa-init: setup for 1/2 channel(s)
alsa-init: 1 soundcard found, using: default
alsa-init: pcm opend in nonblock-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: bits per sample (bps)=16, bits per frame (bpf)=32, chunk_bytes=4096
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 B/s)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
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...
alsa-space: free space = 65536, prepared --
[ffmpeg] aspect_ratio: 1.818182
VDec: vo config request - 640 x 352 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO Config (640x352->640x352,flags=0,'MPlayer',0x32315659)
VO: [xv] 640x352 => 640x352 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> 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: 0x35315652 (RV15) packed
Xvideo image format: 0x36315652 (RV16) packed
Xvideo image format: 0x55595659 (YVYU) packed
using Xvideo port 56 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 352
*** [vo] Allocating (slices) mp_image_t, 640x352x12bpp YUV planar, 337920
bytes
[xv] dx: 0 dy: 0 dw: 640 dh: 352
alsa-space: xrun of at least 243.636 msecs. resetting stream?% 0 0
alsa-space: free space = 0, xrun --
XXX initial v_pts=0.000 a_pos=9984 (0.512)
*** [vo] Allocating (slices) mp_image_t, 640x352x12bpp YUV planar, 337920
bytes
Unicode font: 255 glyphs.
alsa-space: free space = 65536, prepared --2/ 2 ??% ??% ??,?% 1 0
*** [vo] Allocating (slices) mp_image_t, 640x352x12bpp YUV planar, 337920
bytes
ds_fill_buffer: EOF reached (stream: audio) /1894 8% 2% 0.8% 6 0
ds_fill_buffer: EOF reached (stream: video) /1903 8% 2% 0.8% 6 0
EOF code: 1 63.5 A-V: 0.000 ct: 0.021 1903/1903 8% 2% 0.8% 6 0
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: ffmpeg
alsa-uninit: pcm closed
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225279824 (LWP 10719)]
0xb7361a76 in free () from /lib/libc.so.6
(gdb) bt
#0 0xb7361a76 in free () from /lib/libc.so.6
#1 0x08085d57 in copy_str (opt=0x8565188, dst=0xb7414ff4, src=0xfd648510) at
m_option.c:384
#2 0x0808483d in m_config_pop (config=0x8659058) at m_option.h:256
#3 0x0808a2fd in play_tree_iter_step (iter=0x865f5b0, d=1, with_nodes=0) at
playtree.c:560
#4 0x0807af95 in main (argc=3, argv=0xbf7ffe34) at mplayer.c:4359
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xb7361a56 to 0xb7361a96:
0xb7361a56 <free+86>: dec %esp
0xb7361a57 <free+87>: sbb %al,(%eax)
0xb7361a59 <free+89>: add %dh,0x25(%edi,%eax,1)
0xb7361a5d <free+93>: add %al,(%eax)
0xb7361a5f <free+95>: lock decl 0xb9c03130(%ebx)
0xb7361a66 <free+102>: add %eax,(%eax)
0xb7361a68 <free+104>: add %al,(%eax)
0xb7361a6a <free+106>: cmpl $0x0,%gs:0xc
0xb7361a72 <free+114>: je,pt 0xb7361a76 <free+118>
0xb7361a75 <free+117>: lock cmpxchg %ecx,(%esi)
0xb7361a79 <free+121>: jne 0xb7364258 <posix_memalign+664>
0xb7361a7f <free+127>: mov %edi,0x4(%esp)
0xb7361a83 <free+131>: mov %esi,(%esp)
0xb7361a86 <free+134>: call 0xb7362bc0 <mallopt+1568>
0xb7361a8b <free+139>: cmpl $0x0,%gs:0xc
0xb7361a93 <free+147>: je,pt 0xb7361a97 <free+151>
End of assembler dump.
(gdb) info all-registers
eax 0x0 0
ecx 0x1 1
edx 0xa2e64 667236
ebx 0xb7414ff4 -1220456460
esp 0xbf7fea04 0xbf7fea04
ebp 0xbf7fea18 0xbf7fea18
esi 0xfd648510 -43743984
edi 0x8453385 138752901
eip 0xb7361a76 0xb7361a76
eflags 0x10246 66118
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 -nan(0x59595859595b5c5b) (raw 0xffff59595859595b5c5b)
st1 -nan(0x5900580059005c00) (raw 0xffff5900580059005c00)
st2 -1 (raw 0xbfff8000000000000000)
st3 0.013990934193344628511113114655017853 (raw
0x3ff8e53a3b3342000000)
st4 49.745599874404433649033308029174805 (raw
0x4004c6fb7e8891e00000)
st5 556.73769859437243212596513330936432 (raw
0x40088b2f36742a48a000)
st6 0 (raw 0x00000000000000000000)
st7 63.496831618278754660877893911674619 (raw
0x4004fdfcc16d80810800)
fctrl 0x37f 895
fstat 0x120 288
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x807b831 134723633
foseg 0x7b 123
fooff 0xbf7feae8 -1082135832
fop 0x1c9 457
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, 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 <repeats 16 times>}, 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 <repeats 16 times>}, 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 <repeats 16 times>}, v8_int16 = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0},
v2_int64 = {0x0, 0x0},
---Type <return> to continue, or q <return> to quit---
uint128 = 0x00000000000000000000000000000000}
xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, 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 <repeats 16 times>}, 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 <repeats 16 times>}, 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 <repeats 16 times>}, 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 = 0x59595859595b5c5b, v2_int32 = {0x595b5c5b,
0x59595859}, v4_int16 = {0x5c5b, 0x595b, 0x5859,
0x5959}, v8_int8 = {0x5b, 0x5c, 0x5b, 0x59, 0x59, 0x58, 0x59, 0x59}}
mm1 {uint64 = 0x5900580059005c00, v2_int32 = {0x59005c00,
0x59005800}, v4_int16 = {0x5c00, 0x5900, 0x5800,
0x5900}, v8_int8 = {0x0, 0x5c, 0x0, 0x59, 0x0, 0x58, 0x0, 0x59}}
mm2 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000},
v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}}
mm3 {uint64 = 0xe53a3b3342000000, v2_int32 = {0x42000000,
0xe53a3b33}, v4_int16 = {0x0, 0x4200, 0x3b33,
0xe53a}, v8_int8 = {0x0, 0x0, 0x0, 0x42, 0x33, 0x3b, 0x3a, 0xe5}}
mm4 {uint64 = 0xc6fb7e8891e00000, v2_int32 = {0x91e00000,
0xc6fb7e88}, v4_int16 = {0x0, 0x91e0, 0x7e88,
0xc6fb}, v8_int8 = {0x0, 0x0, 0xe0, 0x91, 0x88, 0x7e, 0xfb, 0xc6}}
mm5 {uint64 = 0x8b2f36742a48a000, v2_int32 = {0x2a48a000,
0x8b2f3674}, v4_int16 = {0xa000, 0x2a48, 0x3674,
0x8b2f}, v8_int8 = {0x0, 0xa0, 0x48, 0x2a, 0x74, 0x36, 0x2f, 0x8b}}
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 = 0xfdfcc16d80810800, v2_int32 = {0x80810800,
0xfdfcc16d}, v4_int16 = {0x800, 0x8081, 0xc16d,
0xfdfc}, v8_int8 = {0x0, 0x8, 0x81, 0x80, 0x6d, 0xc1, 0xfc, 0xfd}}
(gdb)
More information about the MPlayer-dev-eng
mailing list