[MPlayer-users] ASF demux_open crashes
Tom Chance
lists at tomchance.org.uk
Sat Apr 10 15:55:23 CEST 2004
Hello,
When I try to open some ASF files off a mini DV camera, I get the following
error:
MPlayer interrupted by signal 1 in module: demux_open
- 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/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible
bug.
I've attached gdb's output. The system info is as follows:
Distro: Debian unstable
Kernel: Linux 2.4.25-1-386
libc: 2.3.2
gcc: 3.3.3 (Debian 20040401)
ld: 2.14.90.0.7 20031029
as: 2.14.90.0.7 20031029
Regards,
Tom
-------------- next part --------------
GNU gdb 6.1-debian
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 "i386-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) ~~ run -v /home/chance/imag0001.asf
Starting program: /usr/local/bin/mplayer -v /home/chance/imag0001.asf
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 2621)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer dev-CVS-040410-05:00-3.3.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Duron MG Morgan 1101 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading config file /usr/local/etc/mplayer/mplayer.confReading config file /home/chance/.mplayer/config
Reading /home/chance/.mplayer/codecs.conf: Reading /usr/local/etc/mplayer/codecs.conf: Using built-in default codecs.conf.
CommandLine: '-v' '/home/chance/imag0001.asf'
init_freetype
get_path('font/font.desc') -> '/home/chance/.mplayer/font/font.desc'
font: can't open file: /home/chance/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/chance/.mplayer/input.conf'
get_path('imag0001.asf.conf') -> '/home/chance/.mplayer/imag0001.asf.conf'
Playing /home/chance/imag0001.asf.
[file] File size is 2932840 bytes
STREAM: [file] /home/chance/imag0001.asf
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x84addc0
ASF file format detected.
ASF: packets: 178 flags: 2 max_packet_size: 16384 min_packet_size: 16384 max_bitrate: 600000 preroll: 0
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 20 bytes, stream: 8 bytes ID: 1
unk1: 0 unk2: 0
FILEPOS=0x102
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 17 (0x11)
Channels: 1
Samplerate: 24000
avg byte/sec: 12082
Block align: 512
bits/sample: 4
cbSize: 2
Unknown extra header dump: [f9] [3]
===========================
ASF: audio scrambling: 1 x 1 x 512
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 69 bytes, stream: 0 bytes ID: 2
unk1: 0 unk2: 0
FILEPOS=0x16C
==> Found video stream: 2
======= VIDEO Format ======
biSize 58
biWidth 352
biHeight 288
biPlanes 1
biBitCount 24
biCompression 1395937357='MP4S'
biSizeImage 304128
Unknown extra header dump: [0] [0] [1] [0] [0] [0] [1] [20] [0] [84] [5d] [4c] [28] [50] [20] [f0] [a3] [1f]
===========================
Found movie at 0x4000 - 0x2CC000
ASF: 1 audio and 1 video streams found
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
Auto-selected ASF audio ID = 1
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
warning! fragment.len=16373 BUT next fragment offset=0
unknown segment type (rlen): 0x06
Auto-selected ASF video ID = 2
unknown segment type (rlen): 0x00
ASF_parser: warning! segment len=-15
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
ASF_parser: warning! segment len=-12
unknown segment type (rlen): 0x00
ASF_parser: warning! segment len=-15
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
ASF_parser: warning! segment len=-18
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
warning! fragment.len=16462 BUT next fragment offset=0
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x04
ASF_parser: warning! segment len=-23
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
ASF_parser: warning! segment len=-19
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x02
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
ASF_parser: warning! segment len=-16
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x00
unknown segment type (rlen): 0x07
ASF_parser: warning! segment len=186175018
Warning! invalid packet 1, sig11 coming soon...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 2621)]
demux_asf_fill_buffer (demux=0x84addc0) at demux_asf.c:249
249 streamno=p[0]&0x7F;
(gdb) bt
#0 demux_asf_fill_buffer (demux=0x84addc0) at demux_asf.c:249
#1 0x0814353f in ds_fill_buffer (ds=0x84ae690) at demuxer.c:422
#2 0x08143def in demux_open_stream (stream=0x84acb60, file_format=139119456, audio_id=-1, video_id=-1,
dvdsub_id=-1, filename=0x849d018 "/home/chance/imag0001.asf") at demuxer.c:1218
#3 0x0814577d in demux_open (vs=0x0, file_format=0, audio_id=-1, video_id=0, dvdsub_id=-1, filename=0x0)
at demuxer.c:1354
#4 0x08071083 in main (argc=3, argv=0xbffffb54) at mplayer.c:1378
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x818df04 to 0x818df44:
0x0818df04 <demux_asf_fill_buffer+612>: inc %ebp
0x0818df05 <demux_asf_fill_buffer+613>: nop
0x0818df06 <demux_asf_fill_buffer+614>: add %al,(%eax)
0x0818df08 <demux_asf_fill_buffer+616>: add %al,(%eax)
0x0818df0a <demux_asf_fill_buffer+618>: movl $0x0,0xffffff8c(%ebp)
0x0818df11 <demux_asf_fill_buffer+625>: jae 0x818e24d <demux_asf_fill_buffer+1453>
0x0818df17 <demux_asf_fill_buffer+631>: cmpl $0x1,0x83fcb34
0x0818df1e <demux_asf_fill_buffer+638>: jg 0x818e20d <demux_asf_fill_buffer+1389>
0x0818df24 <demux_asf_fill_buffer+644>: movzbl (%edi),%eax
0x0818df27 <demux_asf_fill_buffer+647>: mov %eax,%ebx
0x0818df29 <demux_asf_fill_buffer+649>: and $0x7f,%ebx
0x0818df2c <demux_asf_fill_buffer+652>: test %al,%al
0x0818df2e <demux_asf_fill_buffer+654>: mov $0x1,%eax
0x0818df33 <demux_asf_fill_buffer+659>: cmovns 0xffffff8c(%ebp),%eax
0x0818df37 <demux_asf_fill_buffer+663>: inc %edi
0x0818df38 <demux_asf_fill_buffer+664>: mov %eax,0xffffff8c(%ebp)
0x0818df3b <demux_asf_fill_buffer+667>: movzbl 0xffffffb8(%ebp),%eax
0x0818df3f <demux_asf_fill_buffer+671>: shr $0x4,%al
0x0818df42 <demux_asf_fill_buffer+674>: and $0x3,%eax
End of assembler dump.
(gdb) info-all info all-registers
eax 0x0 0
ecx 0x1 1
edx 0xbfffd944 -1073751740
ebx 0x2e 46
esp 0xbfffe5c0 0xbfffe5c0
ebp 0xbfffe678 0xbfffe678
esi 0xb18ce2a 186175018
edi 0x1363b5a5 325301669
eip 0x818df24 0x818df24
eflags 0x10246 66118
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x7 7
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 75000 (raw 0x400f927c000000000000)
st7 2322768.4913255780702456831932067871 (raw 0x40148dc541f71e0d6600)
fctrl 0x37f 895
fstat 0x220 544
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
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}, 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, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
mxcsr 0x1f80 8064
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 = 0x927c000000000000, v2_int32 = {0x0, 0x927c0000}, v4_int16 = {0x0, 0x0, 0x0, 0x927c},
v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7c, 0x92}}
mm7 {uint64 = 0x8dc541f71e0d6600, v2_int32 = {0x1e0d6600, 0x8dc541f7}, v4_int16 = {0x6600, 0x1e0d,
0x41f7, 0x8dc5}, v8_int8 = {0x0, 0x66, 0xd, 0x1e, 0xf7, 0x41, 0xc5, 0x8d}}
(gdb) q
The program is running. Exit anyway? (y or n) Please answer y or n.
The program is running. Exit anyway? (y or n) Please answer y or n.
The program is running. Exit anyway? (y or n) Please answer y or n.
The program is running. Exit anyway? (y or n) vo: x11 uninit called but X11 not inited..
More information about the MPlayer-users
mailing list