[MPlayer-users] [Bugreport] Segfault in DV file when seeking
Philou
philou at philou.org
Wed Jan 4 16:41:35 CET 2006
Hello,
This bug report is related to another issue i have with some DV files which is
that they can't be read if i don't explicitly add "-demuxer 35" on the command
line (big thanks to compn on #mplayer for the tip :))
First of all these DV file were made under Windows with Pinnacle Studio ( version 7
IIRC)
As ftp://mplayerhq.hu/MPlayer/incoming/ seems to be unavailable,
i've made a 10 Meg sample and its description file available here :
http://philou.org/Brevet_B_1.avi (sample)
http://philou.org/Brevet_B_1.avi.txt (Quick description of the problem)
The problem here is that when the file is played (with -demuxer35 , of course),
mplayer segfaults when i try to seek forward or backward
Please note that the segfault is exactly the same whether i use first or
second audio card, and that also i use qdv.dll DShow DLL or FFMPEG DV decoder
(in the output below, i've removed /usr/lib/win32/qdv.dll)
Please also note that the original file doesn't crash in the same way as the sample
Both segfaults, but backtrace are different
The segfault's backtrace from the original file is the first one, right below.
The segfault's backtrace from the sample is right after the first backtrace
OS/ libs/ gcc etc... information is at the bottom of this mail.
I'm all ears to hear anything i could do to help debug this problem,
Thanks,
Philippe
**** backtrace from the original file ( 464 Mo ) ******
(gdb) run -v -vo xv -ao alsa:device=hw=1.0 -demuxer 35 Brevet_B_1.avi
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/src/main/mplayer -v -vo xv -ao alsa:device=hw=1.0 -demuxer 35 Brevet_B_1.avi
[Thread debugging using libthread_db enabled]
[New Thread -1499388192 (LWP 11440)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale
MPlayer dev-CVS-060103-12:20-4.0.3 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4 Willamette; Xeon Foster (Family: 15, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/mplayer/.mplayer/codecs.conf'
Reading /home/mplayer/.mplayer/codecs.conf: 89 audio & 203 video codecs
CommandLine: '-v' '-vo' 'xv' '-ao' 'alsa:device=hw=1.0' '-demuxer' '35' 'Brevet_B_1.avi'
init_freetype
get_path('font/font.desc') -> '/home/mplayer/.mplayer/font/font.desc'
Font /home/mplayer/.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/mplayer/.mplayer/input.conf'
Parsing input config file /home/mplayer/.mplayer/input.conf
Input config file /home/mplayer/.mplayer/input.conf parsed: 62 binds
get_path('Brevet_B_1.avi.conf') -> '/home/mplayer/.mplayer/Brevet_B_1.avi.conf'
Playing Brevet_B_1.avi.
get_path('sub/') -> '/home/mplayer/.mplayer/sub/'
[file] File size is 464745740 bytes
STREAM: [file] Brevet_B_1.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: avi format
libavformat file format detected.
==> Found video stream: 0
======= VIDEO Format ======
biSize 40
biWidth 720
biHeight 576
biPlanes 0
biBitCount 0
biCompression 1685288548='dvsd'
biSizeImage 0
===========================
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 48000
avg byte/sec: 192000
Block align: 0
bits/sample: 0
cbSize: 0
===========================
LAVF: 1 audio and 1 video streams found
LAVF: build 3276800
VIDEO: [dvsd] 720x576 0bpp 25.000 fps 25000.0 kbps (3051.8 kbyte/s)
[V] filefmt:35 fourcc:0x64737664 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/mplayer/.mplayer/sub/'
get_path('default.sub') -> '/home/mplayer/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 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).
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Win32 LoadLibrary failed to load: qdv.dll, /usr/lib/win32/qdv.dll, /usr/local/lib/win32/qdv.dll
Warning: DS_Filter() could not open DirectShow DLL. (DLL=qdv.dll, r=0x86f29a8)
Failed to create DirectShow filter
ERROR: Could not open required DirectShow codec qdv.dll.
You need to upgrade/install the binary codecs package.
Go to http://mplayerhq.hu/homepage/dload.html
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV decoder)
==========================================================================
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.10
alsa-init: setup for 1/2 channel(s)
alsa-init: 1 soundcard found, using: hw:1,0
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
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: 0.000000
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 1)
Movie-Aspect is 1.37:1 - prescaling to correct movie aspect.
VO Config (720x576->786x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 786x576 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
using Xvideo port 222 for hw scaling
[xv] dx: 0 dy: 0 dw: 786 dh: 614
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[xv] dx: 0 dy: 0 dw: 786 dh: 614
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
mplayer: avidec.c:747: avi_read_seek: Assertion `st2->time_base.den == ast2->rate' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread -1499388192 (LWP 11440)]
0xa764c7a7 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0 0xa764c7a7 in raise () from /lib/tls/libc.so.6
#1 0xa764e04b in abort () from /lib/tls/libc.so.6
#2 0xa7645755 in __assert_fail () from /lib/tls/libc.so.6
#3 0x081f0ad7 in avi_read_seek (s=0x86bfec0, stream_index=0, timestamp=167, flags=0) at avidec.c:747
#4 0x081e10e4 in av_seek_frame (s=0x86bfec0, stream_index=0, timestamp=167, flags=0) at utils.c:1505
#5 0x081512e8 in demux_seek_lavf (demuxer=0x6, rel_seek_secs=-1, flags=0) at demux_lavf.c:397
#6 0x081430c3 in demux_seek (demuxer=0x86b7608, rel_seek_secs=0, flags=0) at demuxer.c:859
#7 0x0807a4c9 in main (argc=9, argv=0xafce0d24) at mplayer.c:4187
(gdb) disassemble $pc-32 $pc+32
Dump of assembler code from 0xa764c787 to 0xa764c7c7:
0xa764c787 <raise+39>: add %al,(%eax)
0xa764c789 <raise+41>: test %ecx,%ecx
0xa764c78b <raise+43>: jne 0xa764c7c0 <raise+96>
0xa764c78d <raise+45>: mov $0xe0,%eax
0xa764c792 <raise+50>: int $0x80
0xa764c794 <raise+52>: mov %eax,%ecx
0xa764c796 <raise+54>: mov %eax,%gs:0x48
0xa764c79c <raise+60>: mov %eax,%edi
0xa764c79e <raise+62>: xchg %ebx,%edi
0xa764c7a0 <raise+64>: mov $0x10e,%eax
0xa764c7a5 <raise+69>: int $0x80
0xa764c7a7 <raise+71>: xchg %edi,%ebx
0xa764c7a9 <raise+73>: mov %eax,%edx
0xa764c7ab <raise+75>: cmp $0xfffff000,%edx
0xa764c7b1 <raise+81>: ja 0xa764c7d2 <raise+114>
0xa764c7b3 <raise+83>: mov (%esp),%ebx
0xa764c7b6 <raise+86>: mov 0x4(%esp),%edi
0xa764c7ba <raise+90>: mov %ebp,%esp
0xa764c7bc <raise+92>: pop %ebp
0xa764c7bd <raise+93>: ret
0xa764c7be <raise+94>: mov %esi,%esi
0xa764c7c0 <raise+96>: test %edi,%edi
0xa764c7c2 <raise+98>: jg 0xa764c79e <raise+62>
0xa764c7c4 <raise+100>: test $0x7fffffff,%edi
End of assembler dump.
(gdb) info all-registers
eax 0x0 0
ecx 0x2cb0 11440
edx 0x6 6
ebx 0x2cb0 11440
esp 0xafcdf670 0xafcdf670
ebp 0xafcdf678 0xafcdf678
esi 0x0 0
edi 0xa7755ff4 -1485479948
eip 0xa764c7a7 0xa764c7a7 <raise+71>
eflags 0x200202 2097666
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x8f 143
gs 0x33 51
st0 -nan(0x8989898a8b8b8b8c) (raw 0xffff8989898a8b8b8b8c)
st1 -nan(0x8900890089008a) (raw 0xffff008900890089008a)
st2 -1 (raw 0xbfff8000000000000000)
st3 0.30130227803889031434891876415349543 (raw 0x3ffd9a444accc6508000)
st4 1.7079840177191717274672241866362299 (raw 0x3fffda9f386518e6436f)
st5 70.760999821345649252180010080337524 (raw 0x40058d85a1c4c1e20000)
st6 5000000 (raw 0x40159896800000000000)
st7 6679999 (raw 0x4015cbdb7e0000000000)
fctrl 0x37f 895
fstat 0x120 288
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x81512ce 135598798
foseg 0x7b 123
fooff 0xafcdf908 -1345455864
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}, 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 = 0x8989898a8b8b8b8c, v2_int32 = {0x8b8b8b8c, 0x8989898a}, v4_int16 = {0x8b8c, 0x8b8b, 0x898a, 0x8989},
---Type <return> to continue, or q <return> to quit---
v8_int8 = {0x8c, 0x8b, 0x8b, 0x8b, 0x8a, 0x89, 0x89, 0x89}}
mm1 {uint64 = 0x8900890089008a, v2_int32 = {0x89008a, 0x890089}, v4_int16 = {0x8a, 0x89, 0x89, 0x89}, v8_int8 = {0x8a, 0x0,
0x89, 0x0, 0x89, 0x0, 0x89, 0x0}}
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 = 0x9a444accc6508000, v2_int32 = {0xc6508000, 0x9a444acc}, v4_int16 = {0x8000, 0xc650, 0x4acc, 0x9a44},
v8_int8 = {0x0, 0x80, 0x50, 0xc6, 0xcc, 0x4a, 0x44, 0x9a}}
mm4 {uint64 = 0xda9f386518e6436f, v2_int32 = {0x18e6436f, 0xda9f3865}, v4_int16 = {0x436f, 0x18e6, 0x3865, 0xda9f},
v8_int8 = {0x6f, 0x43, 0xe6, 0x18, 0x65, 0x38, 0x9f, 0xda}}
mm5 {uint64 = 0x8d85a1c4c1e20000, v2_int32 = {0xc1e20000, 0x8d85a1c4}, v4_int16 = {0x0, 0xc1e2, 0xa1c4, 0x8d85}, v8_int8 = {
0x0, 0x0, 0xe2, 0xc1, 0xc4, 0xa1, 0x85, 0x8d}}
mm6 {uint64 = 0x9896800000000000, v2_int32 = {0x0, 0x98968000}, v4_int16 = {0x0, 0x0, 0x8000, 0x9896}, v8_int8 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x80, 0x96, 0x98}}
mm7 {uint64 = 0xcbdb7e0000000000, v2_int32 = {0x0, 0xcbdb7e00}, v4_int16 = {0x0, 0x0, 0x7e00, 0xcbdb}, v8_int8 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x7e, 0xdb, 0xcb}}
**** backtrace from the sample file ( 10 Mo ) ******
Starting program: /usr/src/main/mplayer -v -vo xv -ao alsa:device=hw=1.0 -demuxer 35 Brevet_B_1.avi
[Thread debugging using libthread_db enabled]
[New Thread -1500219680 (LWP 11564)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale
MPlayer dev-CVS-060103-12:20-4.0.3 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4 Willamette; Xeon Foster (Family: 15, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/mplayer/.mplayer/codecs.conf'
Reading /home/mplayer/.mplayer/codecs.conf: 89 audio & 203 video codecs
CommandLine: '-v' '-vo' 'xv' '-ao' 'alsa:device=hw=1.0' '-demuxer' '35' 'Brevet_B_1.avi'
init_freetype
get_path('font/font.desc') -> '/home/mplayer/.mplayer/font/font.desc'
Font /home/mplayer/.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/mplayer/.mplayer/input.conf'
Parsing input config file /home/mplayer/.mplayer/input.conf
Input config file /home/mplayer/.mplayer/input.conf parsed: 62 binds
get_path('Brevet_B_1.avi.conf') -> '/home/mplayer/.mplayer/Brevet_B_1.avi.conf'
Playing Brevet_B_1.avi.
get_path('sub/') -> '/home/mplayer/.mplayer/sub/'
[file] File size is 10485760 bytes
STREAM: [file] Brevet_B_1.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: avi format
libavformat file format detected.
stream_seek: WARNING! Can't seek to 0x1BB2A600 !
==> Found video stream: 0
======= VIDEO Format ======
biSize 40
biWidth 720
biHeight 576
biPlanes 0
biBitCount 0
biCompression 1685288548='dvsd'
biSizeImage 0
===========================
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 48000
avg byte/sec: 192000
Block align: 0
bits/sample: 0
cbSize: 0
===========================
LAVF: 1 audio and 1 video streams found
LAVF: build 3276800
VIDEO: [dvsd] 720x576 0bpp 25.000 fps 25000.0 kbps (3051.8 kbyte/s)
[V] filefmt:35 fourcc:0x64737664 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/mplayer/.mplayer/sub/'
get_path('default.sub') -> '/home/mplayer/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 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).
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Win32 LoadLibrary failed to load: qdv.dll, /usr/lib/win32/qdv.dll, /usr/local/lib/win32/qdv.dll
Warning: DS_Filter() could not open DirectShow DLL. (DLL=qdv.dll, r=0x86df6a0)
Failed to create DirectShow filter
ERROR: Could not open required DirectShow codec qdv.dll.
You need to upgrade/install the binary codecs package.
Go to http://mplayerhq.hu/homepage/dload.html
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV decoder)
==========================================================================
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.10
alsa-init: setup for 1/2 channel(s)
alsa-init: 1 soundcard found, using: hw:1,0
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
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: 0.000000
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 1)
Movie-Aspect is 1.37:1 - prescaling to correct movie aspect.
VO Config (720x576->786x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 786x576 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
using Xvideo port 222 for hw scaling
[xv] dx: 0 dy: 0 dw: 786 dh: 614
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[xv] dx: 0 dy: 0 dw: 786 dh: 614
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
alsa-space: free space = 65536, prepared --3/ 13 ??% ??% ??,?% 0 0
alsa-space: free space = 65536, prepared --1/ 31 49% 1% 5.2% 0 0
ds_fill_buffer: EOF reached (stream: audio) 41 ??% ??% ??,?% 0 0
alsa-space: free space = 65536, prepared --3/ 43 ??% ??% ??,?% 0 0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1500219680 (LWP 11564)]
0x081f9269 in dv_produce_packet (c=0x86c0e50, pkt=0x86c0de0, buf=0x0, buf_size=0) at dvdata.h:1346
1346 in dvdata.h
(gdb) bt
#0 0x081f9269 in dv_produce_packet (c=0x86c0e50, pkt=0x86c0de0, buf=0x0, buf_size=0) at dvdata.h:1346
#1 0x081ef7a1 in avi_read_packet (s=0x86bfed0, pkt=0x86c0de0) at avidec.c:431
#2 0x081df94b in av_read_frame_internal (s=0x86bfed0, pkt=0xafd12968) at utils.c:917
#3 0x0815147f in demux_lavf_fill_buffer (demux=0x86b7618, dsds=0x86b4360) at demux_lavf.c:335
#4 0x08142b97 in ds_fill_buffer (ds=0x86b4360) at demuxer.c:381
#5 0x08142eb3 in demux_read_data (ds=0x86b4360,
mem=0x86c5780
"\016H\t\r\r\006\bH\v4\a\n\\\a\n\215\a\n\a\t\225\0051\b\003\005\\\002\005a\003\004\204\003\003\002\003\225\003\004\004\234\006\0066\a\005\022\b\021\0060\t\224\aJ\t\a2\t\a\b,\aM\v>\t\f\t\r\b\212\v\a\n*\b@\v\030\nu\r\n\017\v",
len=67584) at demuxer.c:400 #6 0x080c407e in decode_audio (sh_audio=0x86c56d0,
buf=0x86eade8
"\020\fP\022\215\0165\023\222\016`\023\fJ\024\002\r\005\025M\r\220\025\r\024\r\rE\024\f\020\024\fE\025\r\025\026\016\200\026\030\017\027\035\020P\031%\021\220\0330\022\032\034\021\034\0210\036
\023%\036", minlen=65536, maxlen=<value optimized out>) at dec_audio.c:376 #7 0x0807ab83 in main (argc=9, argv=0xafd13e24) at mplayer.c:2604
(gdb) disassemble $pc-32 $pc+32
Dump of assembler code from 0x81f9249 to 0x81f9289:
0x081f9249 <dv_read_seek+465>: jmp 0x81f90ae <dv_read_seek+54>
0x081f924e <dv_produce_packet+0>: push %ebp
0x081f924f <dv_produce_packet+1>: mov %esp,%ebp
0x081f9251 <dv_produce_packet+3>: push %edi
0x081f9252 <dv_produce_packet+4>: push %esi
0x081f9253 <dv_produce_packet+5>: push %ebx
0x081f9254 <dv_produce_packet+6>: sub $0x8c,%esp
0x081f925a <dv_produce_packet+12>: mov 0x14(%ebp),%ebx
0x081f925d <dv_produce_packet+15>: mov 0x10(%ebp),%eax
0x081f9260 <dv_produce_packet+18>: add $0x3,%eax
0x081f9263 <dv_produce_packet+21>: mov %eax,0xffffffac(%ebp)
0x081f9266 <dv_produce_packet+24>: mov 0x10(%ebp),%edx
0x081f9269 <dv_produce_packet+27>: movzbl 0x3(%edx),%ecx
0x081f926d <dv_produce_packet+31>: mov $0x847a340,%edx
0x081f9272 <dv_produce_packet+36>: test %cl,%cl
0x081f9274 <dv_produce_packet+38>: js 0x81f928d <dv_produce_packet+63>
0x081f9276 <dv_produce_packet+40>: cmp $0x3,%ebx
0x081f9279 <dv_produce_packet+43>: jg 0x81f92a3 <dv_produce_packet+85>
0x081f927b <dv_produce_packet+45>: mov $0xffffffff,%edx
0x081f9280 <dv_produce_packet+50>: mov %edx,%eax
0x081f9282 <dv_produce_packet+52>: add $0x8c,%esp
0x081f9288 <dv_produce_packet+58>: pop %ebx
End of assembler dump.
(gdb) info all-registers
eax 0x3 3
ecx 0x86c0de0 141299168
edx 0x0 0
ebx 0x0 0
esp 0xafd12770 0xafd12770
ebp 0xafd12808 0xafd12808
esi 0x86bfee0 141295328
edi 0x86b44d0 141247696
eip 0x81f9269 0x81f9269 <dv_produce_packet+27>
eflags 0x210206 2163206
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x8f 143
gs 0x33 51
st0 -nan(0x6f635f5b5b5d5f61) (raw 0xffff6f635f5b5b5d5f61)
st1 -nan(0x6f005f005b005f00) (raw 0xffff6f005f005b005f00)
st2 -1 (raw 0xbfff8000000000000000)
st3 0.30677508118118446134303667349740863 (raw 0x3ffd9d119f99cd470000)
st4 0.029566644900695493447528860997408628 (raw 0x3ff9f235bf9cd4700000)
st5 100 (raw 0x4005c800000000000000)
st6 90000 (raw 0x400fafc8000000000000)
st7 0 (raw 0x00000000000000000000)
fctrl 0x37f 895
fstat 0x120 288
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x8079482 134714498
foseg 0x7b 123
fooff 0xafd12ad8 -1345246504
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}, 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 = 0x6f635f5b5b5d5f61, v2_int32 = {0x5b5d5f61, 0x6f635f5b}, v4_int16 = {0x5f61, 0x5b5d, 0x5f5b, 0x6f63},
v8_int8 = {0x61, 0x5f, 0x5d, 0x5b, 0x5b, 0x5f, 0x63, 0x6f}}
mm1 {uint64 = 0x6f005f005b005f00, v2_int32 = {0x5b005f00, 0x6f005f00}, v4_int16 = {0x5f00, 0x5b00, 0x5f00, 0x6f00},
v8_int8 = {0x0, 0x5f, 0x0, 0x5b, 0x0, 0x5f, 0x0, 0x6f}}
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 = 0x9d119f99cd470000, v2_int32 = {0xcd470000, 0x9d119f99}, v4_int16 = {0x0, 0xcd47, 0x9f99, 0x9d11}, v8_int8 = {
0x0, 0x0, 0x47, 0xcd, 0x99, 0x9f, 0x11, 0x9d}}
mm4 {uint64 = 0xf235bf9cd4700000, v2_int32 = {0xd4700000, 0xf235bf9c}, v4_int16 = {0x0, 0xd470, 0xbf9c, 0xf235}, v8_int8 = {
0x0, 0x0, 0x70, 0xd4, 0x9c, 0xbf, 0x35, 0xf2}}
mm5 {uint64 = 0xc800000000000000, v2_int32 = {0x0, 0xc8000000}, v4_int16 = {0x0, 0x0, 0x0, 0xc800}, v8_int8 = {0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0xc8}}
mm6 {uint64 = 0xafc8000000000000, v2_int32 = {0x0, 0xafc80000}, v4_int16 = {0x0, 0x0, 0x0, 0xafc8}, v8_int8 = {0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0xc8, 0xaf}}
mm7 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
* Information on my system
Debian Gnu/Linux version Sid ( aka Unstable) upgraded with lates packages available
* Kernel Version
Linux 2.6.13.1 #3 SMP Fri Sep 16 01:50:24 CEST 2005 i686 GNU/Linux
* Libc version
$ ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1144316 Dec 18 00:14 /lib/libc-2.3.5.so
lrwxrwxrwx 1 root root 14 Feb 4 2005 /lib/libc.so.5 -> libc.so.5.4.46
-rw-r--r-- 1 root root 565940 Sep 22 2003 /lib/libc.so.5.4.46
lrwxrwxrwx 1 root root 13 Dec 19 14:41 /lib/libc.so.6 -> libc-2.3.5.so
$ /lib/libc-2.3.5.so
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5).
Compiled on a Linux 2.6.13 system on 2005-12-17.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
* ld and gcc version
$ ldd --version
ldd (GNU libc) 2.3.5
$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
* binutils
$ as --version
GNU assembler 2.16.91 20051214 Debian GNU/Linux
* CPU Info
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 1
model name : Intel(R) Xeon(TM) CPU 1.50GHz
stepping : 2
cpu MHz : 1496.070
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 2993.52
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 1
model name : Intel(R) Xeon(TM) CPU 1.50GHz
stepping : 2
cpu MHz : 1496.070
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
This is a PIII Xeon ( Dell 530MT Workstation, but NOT ht aware ) these are 2 real physical CPUs
* Video card
0000:01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4200] (rev a3) (prog-if 00 [VGA])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 8700
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 21
Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Memory at e7f80000 (32-bit, prefetchable) [size=512K]
Expansion ROM at e0000000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0
* Video Drivers
Nvidia Binary Module : NVIDIA-Linux-x86-1.0-7676 with X.org
* Sound Card
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio (rev 04)
Subsystem: Dell: Unknown device 00d8
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 19
Region 0: I/O ports at c800 [size=256]
Region 1: I/O ports at cc40 [size=64]
and
0000:04:0e.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
Subsystem: Creative Labs CT4780 SBLive! Value
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (500ns min, 5000ns max)
Interrupt: pin A routed to IRQ 20
Region 0: I/O ports at dce0 [size=32]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
using in kernel Alsa drivers
More information about the MPlayer-users
mailing list