[MPlayer-users] bugreport: segfault on selection of other vid or aid with ASF stream
Mark Borst
mark at mwborst.com
Mon Apr 7 20:40:07 CEST 2003
Hello
I have a problem with mplayer playing back an ASF stream. The stream URL
is in the bugreport, but you willnot be able to test with it, because it
is a live stream used only during a small time.
This stream has 5 audio and 5 video streams in it at different bitrates,
and mplayer automatically selects the worst quality streams, 5 and 10.
When I try to force mplayer to 1 and 6 using -aid and -vid, the best
quality streams, it segfaults.
I used the cvs version of 20030401 on a debian unstable machine.
Enclosed you'll find my machine specs and the mplayer output
Greetings
Mark Borst
--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
M.W. Borst <mark at mwborst.com> | GnuPG key: http://mwborst.com/gpgkey.asc
GnuPG 1024D/DD174184 AF92 D20E 59FB DBCA F0C2 27AF AA0E 6A0B DD17 4184
-------------- next part --------------
debian unstable
mark at flappie:~/MPlayer-20030401$ uname -a
Linux flappie 2.5.65 #4 Fri Mar 21 14:37:49 CET 2003 i686 unknown unknown GNU/Linux
mark at flappie:~/MPlayer-20030401$ ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1104040 2003-03-21 17:19 /lib/libc-2.3.1.so
lrwxrwxrwx 1 root root 13 2003-03-24 10:52 /lib/libc.so.6 -> libc-2.3.1.somark at flappie:~/MPlayer-20030401$ X -version
XFree86 Version 4.3.0 (Debian 4.3.0-0ds2 20030304042836 dstone at aedificator)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.21-pre5 i686 [ELF]
Build Date: 04 March 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.5.65 (mark at flappie) (gcc version 3.2.3 20030316 (Debian prerelease)) #4 Fri Mar 21 14:37:49 CET 2003
mark at flappie:~/MPlayer-20030401$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.3 20030331 (Debian prerelease)
mark at flappie:~/MPlayer-20030401$ ld -v
GNU ld version 2.13.90.0.18 20030121 Debian GNU/Linux
mark at flappie:~/MPlayer-20030401$ as --version
GNU assembler 2.13.90.0.18 20030121 Debian GNU/Linux
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i386-linux'.
mark at flappie:~/MPlayer-20030401$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Celeron (Coppermine)
stepping : 6
cpu MHz : 701.393
cache size : 128 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 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1388.54
The following commandline gives a segfault:
mplayer mms://mms11.online.no/kmebruns -v -vid 6 >mplayer.log 2>&1
#0 demux_open_stream (stream=0x848e3c8, file_format=138994632, audio_id=-1, video_id=6,
dvdsub_id=-1, filename=0x8428a10 "mms://mms11.online.no/kmebruns") at demuxer.c:1089
#1 0x0814e001 in demux_open (vs=0x1, file_format=6, audio_id=-1, video_id=1, dvdsub_id=-1,
filename=0x1 <Address 0x1 out of bounds>) at demuxer.c:1188
#2 0x080884eb in main (argc=6, argv=0xbffffbf4) at mplayer.c:1248
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x814cba7 to 0x814cbe7:
0x814cba7 <demux_open_stream+855>: add %al,(%eax)
0x814cba9 <demux_open_stream+857>: add %cl,0xb70f32(%ecx)
0x814cbaf <demux_open_stream+863>: mov %eax,0x8(%edx)
0x814cbb2 <demux_open_stream+866>: jmp 0x814ca20 <demux_open_stream+464>
0x814cbb7 <demux_open_stream+871>: movl $0x82df3e0,0x4(%esp,1)
0x814cbbf <demux_open_stream+879>: jmp 0x814ca94 <demux_open_stream+580>
0x814cbc4 <demux_open_stream+884>: mov 0x5c(%ebx),%edx
0x814cbc7 <demux_open_stream+887>: mov 0x84(%edx),%eax
0x814cbcd <demux_open_stream+893>: mov %ebx,(%edx)
0x814cbcf <demux_open_stream+895>: movl $0x447a0000,0x24(%edx)
0x814cbd6 <demux_open_stream+902>: movswl 0xe(%eax),%eax
0x814cbda <demux_open_stream+906>: movl $0x3a83126f,0x28(%edx)
0x814cbe1 <demux_open_stream+913>: mov %eax,0x14(%esp,1)
0x814cbe5 <demux_open_stream+917>: mov 0x84(%edx),%eax
End of assembler dump.
(gdb)
(gdb) info all-registers
eax 0x1 1
ecx 0x1 1
edx 0x0 0
ebx 0x8490518 139003160
esp 0xbfffe820 0xbfffe820
ebp 0xbfffe888 0xbfffe888
esi 0x84904b0 139003056
edi 0x848e3c8 138994632
eip 0x814cbc7 0x814cbc7
eflags 0x210202 2163202
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x0 0
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0 (raw 0x00000000000000000000)
st3 0 (raw 0x00000000000000000000)
st4 0 (raw 0x00000000000000000000)
st5 0 (raw 0x00000000000000000000)
st6 6311.9912109375 (raw 0x400bc53fee0000000000)
---Type <return> to continue, or q <return> to quit---
st7 6311.9912109375 (raw 0x400bc53fee0000000000)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x814c40c 135578636
foseg 0x7b 123
fooff 0x8490524 139003172
fop 0x15f 351
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff},
uint128 = 0xffffffffffffffffffffffffffffffff}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff},
uint128 = 0xffffffffffffffffffffffffffffffff}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff},
---Type <return> to continue, or q <return> to quit---
uint128 = 0xffffffffffffffffffffffffffffffff}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff},
uint128 = 0xffffffffffffffffffffffffffffffff}
xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff},
uint128 = 0xffffffffffffffffffffffffffffffff}
xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff},
uint128 = 0xffffffffffffffffffffffffffffffff}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff},
uint128 = 0xffffffffffffffffffffffffffffffff}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff,
---Type <return> to continue, or q <return> to quit---
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff},
uint128 = 0xffffffffffffffffffffffffffffffff}
mxcsr 0x1f80 8064
orig_eax 0xffffffff -1
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, 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 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0},
v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm6 {uint64 = 0xc53fee0000000000, v2_int32 = {0x0, 0xc53fee00}, v4_int16 = {0x0,
0x0, 0xee00, 0xc53f}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0xee, 0x3f, 0xc5}}
mm7 {uint64 = 0xc53fee0000000000, v2_int32 = {0x0, 0xc53fee00}, v4_int16 = {0x0,
0x0, 0xee00, 0xc53f}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0xee, 0x3f, 0xc5}}
(gdb)
(gdb)
-------------- next part --------------
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer dev-CVS-030401-06:00-3.2.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/mark/.mplayer/config
Reading /home/mark/.mplayer/codecs.conf: 50 audio & 136 video codecs
CommandLine: 'mms://mms11.online.no/kmebruns' '-v' '-vid' '6'
get_path('font/font.desc') -> '/home/mark/.mplayer/font/font.desc'
font: can't open file: /home/mark/.mplayer/font/font.desc
Font /usr/local/share/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/mark/.mplayer/input.conf'
Can't open input config file /home/mark/.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('kmebruns.conf') -> '/home/mark/.mplayer/kmebruns.conf'
Playing mms://mms11.online.no/kmebruns
Trying ASF/HTTP...
Resolving mms11.online.no for AF_INET6...
Couldn't resolve name for AF_INET6: mms11.online.no
Resolving mms11.online.no for AF_INET...
Connecting to server mms11.online.no[193.213.115.197]:80 ...
=====> ASF Live stream
=====> ASF header chunk follows
=====> ASF header chunk follows
=====> ASF header chunk follows
Stream bitrate properties object
Max bandwidth set to 0
Resolving mms11.online.no for AF_INET6...
Couldn't resolve name for AF_INET6: mms11.online.no
Resolving mms11.online.no for AF_INET...
Connecting to server mms11.online.no[193.213.115.199]:80 ...
=====> ASF Live stream
Cache size set to 100 KBytes
Connected to server: mms11.online.no
=====> ASF header chunk follows
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 0.00% (0 bytes)
Cache fill: 0.00% (0 bytes)
Cache fill: 0.00% (0 bytes)
Cache fill: 0.00% (0 bytes) =====> ASF header chunk follows
Cache fill: 0.00% (0 bytes)
Cache fill: 0.00% (0 bytes)
Cache fill: 0.00% (0 bytes) =====> ASF header chunk follows
Cache fill: 0.00% (0 bytes)
Cache fill: 8.00% (8192 bytes)
Cache fill: 8.00% (8192 bytes)
Cache fill: 8.00% (8192 bytes)
Cache fill: 8.00% (8192 bytes)
Cache fill: 8.00% (8192 bytes)
Cache fill: 8.00% (8192 bytes)
Cache fill: 8.00% (8192 bytes)
Cache fill: 8.00% (8192 bytes)
Cache fill: 8.00% (8192 bytes)
Cache fill: 8.00% (8192 bytes)
Cache fill: 16.00% (16384 bytes)
Cache fill: 16.00% (16384 bytes)
Cache fill: 16.00% (16384 bytes)
Cache fill: 16.00% (16384 bytes)
Cache fill: 16.00% (16384 bytes)
Cache fill: 16.00% (16384 bytes)
Cache fill: 16.00% (16384 bytes) ASF file format detected.
Title: DKM Brunstad Transmission
Author: DKM Brunstad
Copyright: (c) 2003 by DKM
============ ASF Stream group == START ===
object size = 86
stream count=[0xa][10]
stream id=[0x1][1]
max bitrate=[0x8962][35170]
stream id=[0x2][2]
max bitrate=[0x5920][22816]
stream id=[0x3][3]
max bitrate=[0x4990][18832]
stream id=[0x4][4]
max bitrate=[0x320f][12815]
stream id=[0x5][5]
max bitrate=[0x226f][8815]
stream id=[0x6][6]
max bitrate=[0x3de7c][253564]
stream id=[0x7][7]
max bitrate=[0x2098c][133516]
stream id=[0x8][8]
max bitrate=[0x14f24][85796]
stream id=[0x9][9]
max bitrate=[0xbe9c][48796]
stream id=[0xa][10]
max bitrate=[0x60dc][24796]
============ ASF Stream group == END ===
ASF: packets: -1 flags: 9 max_packet_size: 2888 min_packet_size: 2888 max_bitrate: 33611 preroll: 5000
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes, stream: 8 bytes ID: 5
unk1: 0 unk2: 6CCE6200
FILEPOS=0x1A3C
==> Found audio stream: 5
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 1
Samplerate: 8000
avg byte/sec: 750
Block align: 240
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [22] [0] [0] [26] [0] [a0] [5] [0] [0]
ASF: audio scrambling: 1 x 1 x 240
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 55 bytes, stream: 0 bytes ID: 10
unk1: 0 unk2: 20E2B400
FILEPOS=0x1AAE
==> Found video stream: 10
======= VIDEO Format ======
biSize 44
biWidth 192
biHeight 144
biPlanes 1
biBitCount 24
biCompression 861293911='WMV3'
biSizeImage 0
===========================
Found movie at 0x1CA5 - 0x1CA5
ASF: 1 audio and 1 video streams found
Invalid plen type! assuming plen=0
Auto-selected ASF video ID = 6
warning! broken fragment, 125 bytes missing
Auto-selected ASF video ID = 6
Invalid plen type! assuming plen=0
Auto-selected ASF video ID = 6
Auto-selected ASF video ID = 6
MPlayer interrupted by signal 11 in module: demux_open
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. For details, see DOCS/bugreports.html#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/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..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030407/1f3061a8/attachment.pgp>
More information about the MPlayer-users
mailing list