Opened 11 years ago

Closed 11 years ago

#1202 closed defect (invalid)

Mplayer Crashed playing .wma

Reported by: ethiodad@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc: catchconv-bugreports@…
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Mplayer got crashed playing the following .mwa file.
http://www.cs.berkeley.edu/~ethiodad/zuf_tamriyalesh2.wma

I couldn't figure out the reason why it got crashed even if i tried to back trace it using GDB.

Here is the output from mplayer.

MPlayer dev-SVN-r27289-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing zuf_tamriyalesh2.wma.
ASF file format detected.
[asfheader] Audio stream found, -aid 65
No data chunk following header!
libavformat file format detected.
[asf @ 0x89bb3e0]ff asf skip 208 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 211 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 0 (unknown stream)
[asf @ 0x89bb3e0]packet_obj_size invalid
[asf @ 0x89bb3e0]ff asf bad header 0 at:3633
[asf @ 0x89bb3e0]ff asf skip 3191 (unknown stream)
[asf @ 0x89bb3e0]ff asf bad header 14 at:6855
[asf @ 0x89bb3e0]invalid padsize 50708 at:6858
[asf @ 0x89bb3e0]ff asf bad header 57 at:6911
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf bad header c2 at:61211
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 81 (unknown stream)
[asf @ 0x89bb3e0]packet_obj_size invalid
[asf @ 0x89bb3e0]ff asf bad header 0 at:64433
[asf @ 0x89bb3e0]ff asf skip 3191 (unknown stream)
[asf @ 0x89bb3e0]ff asf bad header 2c at:67655
[asf @ 0x89bb3e0]packet_obj_size invalid
[asf @ 0x89bb3e0]ff asf bad header 23 at:70913
[asf @ 0x89bb3e0]ff asf bad header eb at:74215
[asf @ 0x89bb3e0]invalid packet_length 1926896053 at:74220
[asf @ 0x89bb3e0]ff asf bad header 76 at:77613
[asf @ 0x89bb3e0]invalid packet_length 2136451672 at:77622
[asf @ 0x89bb3e0]ff asf bad header 5d at:81217
[asf @ 0x89bb3e0]invalid padsize 472933895 at:81224
[asf @ 0x89bb3e0]ff asf bad header d1 at:85221
[asf @ 0x89bb3e0]ff asf skip 0 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 241 (unknown stream)
[asf @ 0x89bb3e0]unexpected packet_replic_size of 5
[asf @ 0x89bb3e0]ff asf bad header a0 at:154025
[asf @ 0x89bb3e0]invalid padsize 0 at:154025
[asf @ 0x89bb3e0]ff asf skip 208 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]packet_obj_size invalid
[asf @ 0x89bb3e0]ff asf bad header 40 at:160433
[asf @ 0x89bb3e0]ff asf skip 21375 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bb3e0]packet_obj_size invalid
[asf @ 0x89bb3e0]ff asf bad header 0 at:186033
[asf @ 0x89bb3e0]ff asf skip 3191 (unknown stream)
[asf @ 0x89bb3e0]ff asf bad header 15 at:189255
[asf @ 0x89bb3e0]invalid padsize 16904 at:189258
[asf @ 0x89bb3e0]ff asf bad header 18 at:189311
[asf @ 0x89bb3e0]invalid padsize -1313623839 at:189314
[asf @ 0x89bb3e0]ff asf bad header 9b at:189423
[asf @ 0x89bb3e0]invalid padsize 251740684 at:189427
[asf @ 0x89bb3e0]ff asf bad header ad at:189649
[asf @ 0x89bb3e0]ff asf skip 0 (unknown stream)
mplayer: asf.c:721: asf_read_packet: Assertion `ret>=0' failed.

MPlayer interrupted by signal 6 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

And here is the back tracing from GDB:

Starting program: /home/user/mplayer/mplayer -v zuf_tamriyalesh2.wma
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1209878304 (LWP 4753)]
MPlayer dev-SVN-r27292-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (Family: 6, Model: 15, Stepping: 13)
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/user/.mplayer/codecs.conf'
Reading /home/user/.mplayer/codecs.conf: Can't open '/home/user/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --enable-debug=3
CommandLine?: '-v' 'zuf_tamriyalesh2.wma'
get_path('font/font.desc') -> '/home/user/.mplayer/font/font.desc'
font: can't open file: /home/user/.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 nanosleep() timing
get_path('input.conf') -> '/home/user/.mplayer/input.conf'
Can't open input config file /home/user/.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('zuf_tamriyalesh2.wma.conf') -> '/home/user/.mplayer/zuf_tamriyalesh2.wma.conf'

Playing zuf_tamriyalesh2.wma.
get_path('sub/') -> '/home/user/.mplayer/sub/'
[file] File size is 1056408 bytes
STREAM: [file] zuf_tamriyalesh2.wma
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: ASF format
Checking for YUV4MPEG2
ASF file format detected.
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 31 bytes, stream: 8 bytes ID: 65
unk1: 0 unk2: 0
FILEPOS=0x102
==> Found audio stream: 65
[asfheader] Audio stream found, -aid 65
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 109636
avg byte/sec: 8000
Block align: 1152
bits/sample: 1024
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=1152
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
==========================================================================
ASF: audio scrambling: 144 x 143 x 257
ASF: packets: 330 flags: 2 max_packet_size: 3200 min_packet_size: 3200 max_bitrate: 64000 preroll: 3100
No data chunk following header!
Checking for NuppelVideo?
Checking for REAL
Checking for SMJPEG
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 38
AVS: avs_check_file - attempting to open file zuf_tamriyalesh2.wma
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 67890, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=12326 size=-1905864951
LMLM4 Stream Format not found
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 4 p101: 1 p1B6: 0 p12x: 1 sli: 2 a: 1 b: 0 c: 0 idr: 0 sps: 0 pps: 1 PES: 2 MP3: 129, synced: 0
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 4 p101: 1 p1B6: 0 p12x: 1 sli: 2 a: 0 b: 0 c: 0 idr: 0 sps: 0 pps: 1 PES: 2 MP3: 129, synced: 0
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: ASF format
libavformat file format detected.
[asf @ 0x89bc3e0]ff asf skip 208 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 211 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 0 (unknown stream)
[asf @ 0x89bc3e0]packet_obj_size invalid
[asf @ 0x89bc3e0]ff asf bad header 0 at:3633
[asf @ 0x89bc3e0]ff asf skip 3191 (unknown stream)
[asf @ 0x89bc3e0]ff asf bad header 14 at:6855
[asf @ 0x89bc3e0]invalid padsize 50708 at:6858
[asf @ 0x89bc3e0]ff asf bad header 57 at:6911
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf bad header c2 at:61211
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 81 (unknown stream)
[asf @ 0x89bc3e0]packet_obj_size invalid
[asf @ 0x89bc3e0]ff asf bad header 0 at:64433
[asf @ 0x89bc3e0]ff asf skip 3191 (unknown stream)
[asf @ 0x89bc3e0]ff asf bad header 2c at:67655
[asf @ 0x89bc3e0]packet_obj_size invalid
[asf @ 0x89bc3e0]ff asf bad header 23 at:70913
[asf @ 0x89bc3e0]ff asf bad header eb at:74215
[asf @ 0x89bc3e0]invalid packet_length 1926896053 at:74220
[asf @ 0x89bc3e0]ff asf bad header 76 at:77613
[asf @ 0x89bc3e0]invalid packet_length 2136451672 at:77622
[asf @ 0x89bc3e0]ff asf bad header 5d at:81217
[asf @ 0x89bc3e0]invalid padsize 472933895 at:81224
[asf @ 0x89bc3e0]ff asf bad header d1 at:85221
[asf @ 0x89bc3e0]ff asf skip 0 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 241 (unknown stream)
[asf @ 0x89bc3e0]unexpected packet_replic_size of 5
[asf @ 0x89bc3e0]ff asf bad header a0 at:154025
[asf @ 0x89bc3e0]invalid padsize 0 at:154025
[asf @ 0x89bc3e0]ff asf skip 208 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]packet_obj_size invalid
[asf @ 0x89bc3e0]ff asf bad header 40 at:160433
[asf @ 0x89bc3e0]ff asf skip 21375 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]ff asf skip 209 (unknown stream)
[asf @ 0x89bc3e0]packet_obj_size invalid
[asf @ 0x89bc3e0]ff asf bad header 0 at:186033
[asf @ 0x89bc3e0]ff asf skip 3191 (unknown stream)
[asf @ 0x89bc3e0]ff asf bad header 15 at:189255
[asf @ 0x89bc3e0]invalid padsize 16904 at:189258
[asf @ 0x89bc3e0]ff asf bad header 18 at:189311
[asf @ 0x89bc3e0]invalid padsize -1313623839 at:189314
[asf @ 0x89bc3e0]ff asf bad header 9b at:189423
[asf @ 0x89bc3e0]invalid padsize 251740684 at:189427
[asf @ 0x89bc3e0]ff asf bad header ad at:189649
stream_seek: WARNING! Can't seek to 0x50336FE8 !
[asf @ 0x89bc3e0]ff asf skip 0 (unknown stream)
mplayer: asf.c:721: asf_read_packet: Assertion `ret>=0' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1209878304 (LWP 4753)]
0xb7fb9410 in ?? ()

(gdb) bt
#0 0xb7fb9410 in ?? ()
#1 0xbfba1f78 in ?? ()
#2 0x00000006 in ?? ()
#3 0x00001291 in ?? ()
#4 0xb7e54811 in raise () from /lib/tls/i686/cmov/libc.so.6
#5 0xb7e55fb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#6 0xb7e4dfbf in assert_fail () from /lib/tls/i686/cmov/libc.so.6
#7 0x0826b7e3 in asf_read_packet (s=0x89bc3e0, pkt=0x89bd2a8) at asf.c:721
#8 0x08261cd2 in av_read_packet (s=0x89bc3e0, pkt=0x89bd2a8) at utils.c:561
#9 0x0826288d in av_read_frame_internal (s=0x89bc3e0, pkt=0xbfba26f0)

at utils.c:932

#10 0x0826334a in av_find_stream_info (ic=0x89bc3e0) at utils.c:2005
#11 0x081a3036 in demux_open_lavf (demuxer=0x89b17b0)

at libmpdemux/demux_lavf.c:466

#12 0x0811e23b in demux_open_stream (stream=0x89b2138,

file_format=<value optimized out>, force=0, audio_id=-1, video_id=-1,
dvdsub_id=-2, filename=0x89a83f0 "zuf_tamriyalesh2.wma")
at libmpdemux/demuxer.c:864

#13 0x0811e502 in demux_open (vs=0x89b2138, file_format=0, audio_id=-1,

video_id=-1, dvdsub_id=-2, filename=0x89a83f0 "zuf_tamriyalesh2.wma")
at libmpdemux/demuxer.c:991

#14 0x080779af in main (argc=3, argv=0xbfba3c44) at mplayer.c:3238
Dump of assembler code from 0xb7fb93f0 to 0xb7fb9430:
0xb7fb93f0: add %al,(%eax)
0xb7fb93f2: add %al,(%eax)
0xb7fb93f4: add %al,(%eax)
0xb7fb93f6: add %al,(%eax)
0xb7fb93f8: add %al,(%eax)
0xb7fb93fa: add %al,(%eax)
0xb7fb93fc: add %al,(%eax)
0xb7fb93fe: add %al,(%eax)
0xb7fb9400: push %ecx
0xb7fb9401: push %edx
0xb7fb9402: push %ebp
0xb7fb9403: mov %esp,%ebp
0xb7fb9405: sysenter
0xb7fb9407: nop
0xb7fb9408: nop
0xb7fb9409: nop
0xb7fb940a: nop
0xb7fb940b: nop
0xb7fb940c: nop
0xb7fb940d: nop
0xb7fb940e: jmp 0xb7fb9403
0xb7fb9410: pop %ebp
0xb7fb9411: pop %edx
0xb7fb9412: pop %ecx
0xb7fb9413: ret
0xb7fb9414: nop
0xb7fb9415: nop
0xb7fb9416: nop
0xb7fb9417: nop
0xb7fb9418: nop
0xb7fb9419: nop
0xb7fb941a: nop
0xb7fb941b: nop
0xb7fb941c: nop
0xb7fb941d: nop
0xb7fb941e: nop
0xb7fb941f: nop
0xb7fb9420: pop %eax
0xb7fb9421: mov $0x77,%eax
0xb7fb9426: int $0x80
0xb7fb9428: nop
0xb7fb9429: nop
0xb7fb942a: nop
0xb7fb942b: nop
0xb7fb942c: nop
0xb7fb942d: nop
0xb7fb942e: nop
0xb7fb942f: nop
End of assembler dump.

This bug was found doing a project SUBERB-TRUST 2008. Let me know if If you need more information about this bug.

Change History (1)

comment:1 Changed 11 years ago by reimar

  • Resolution set to invalid
  • Status changed from new to closed

Problem is in libavformat and reproducible with ffplay. Please report to FFmpeg instead.

Note: See TracTickets for help on using tickets.