[MPlayer-users] Re: Bug when reading dumped .rm files

John Brown johnbrown105 at hotmail.com
Thu Jul 20 14:38:35 CEST 2006




>From: Roberto Togni <r_togni at tiscali.it>
>Date: Wed, 19 Jul 2006 20:20:40 +0200
>
>On Wed, 19 Jul 2006 10:18:31 +0800
>陆然 <hephooey at gmail.com> wrote:
>
> > Hi,
> >
> > On Monday 17 July 2006 15:43, Hernan Badino wrote:
> > > The same happens if the file is played directly from the rtsp server, 
>i.e.,
> > >
> > > mplayer rtsp://ms.espectador.com/audio/app_metafiles/dol0501241.rm
> > >
> > > has the same behavior as the previously reported. So I think is a
> > > problem in  the player and not because of a corrupt .rm file.
> >
> > I can confirm it's a regression introduced in 17150 in ad_realaud.c
> >
> > 
>http://svn.mplayerhq.hu/mplayer/trunk/libmpcodecs/ad_realaud.c?r1=17013&r2=17150
> >
> > The eof-checking code was removed so the codec ignore the eof  and 
>decode the
> > same part again and again.
> >
> > --
> > Best Regards,
> > LR
> > _______________________________________________
>
>Fixed, thanks
>
>Ciao,
>  Roberto
>_______________________________________________
Hello All,

I have a particular Real Media file which makes MPlayer crash at
approximately 790s. The error varies depending on the revision of
MPlayer.

It does not happen on other computers, but even on my system,
RealPlayer, Media Player Classic and VLC can all play it. Since you
seem to be actively working on a RealMedia issue right now, and
the EOF message seems relevant, I thought that I would just send in some
output. The file is about 20 minutes, 30 MB. I will try to send a sample
file later if you need one.

System:

CPU: Pentium IV 3.0 GHz (Hyperthreading disabled - known to cause problems
     with RealMedia files downloaded from the same site)
vendor_id       : GenuineIntel
cpu family      : 15
model           : 3
stepping        : 3
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 cflsh dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor 
ds_cpl cid
cpu MHz         : 2993.366
model name      :               Intel(R) Pentium(R) 4 CPU 3.00GHz

RAM: 512 MB
Free Disk Space: 4.46 GB
Video: ATI Radeon 9200 SE Celestica Gold Edition, Catalyst 6.5
Audio: Realtek AC'97 audio on board
O/S: Windows XP SP2

Compiler: gcc 3.4.2, ld 2.15.91, as 2.15.l1

GDB backtrace
=============
GNU gdb 5.1.1 (mingw experimental)
Copyright 2002 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 "mingw32".
(gdb) Reading symbols from mplayer.exe...done.
(gdb) (gdb) Starting program: c:\progra~1\mplayer\svn/mplayer.exe -v -ss 770 
049.rm

Program received signal SIGSEGV, Segmentation fault.
0x7c926a36 in _libws2_32_a_iname ()
(gdb) #0  0x7c926a36 in _libws2_32_a_iname ()
#1  0x02475d48 in ?? ()
#2  0x7c96e062 in _libws2_32_a_iname ()
#3  0x7c94a5d0 in _libws2_32_a_iname ()
#4  0x7c9268ad in _libws2_32_a_iname ()
#5  0x77c2c2de in _libws2_32_a_iname ()
#6  0x006b680f in cook_decode_close (avctx=0x2458090) at cook.c:318
#7  0x0057fd26 in avcodec_close (avctx=0x2458090) at utils.c:1027
#8  0x00483f5e in uninit (sh=0x2406e50) at ad_ffmpeg.c:129
#9  0x004491a5 in uninit_audio (sh_audio=0x2406e50) at dec_audio.c:262
#10 0x00401871 in uninit_player (mask=3659) at mplayer.c:434
#11 0x00405b5d in main (argc=5, argv=0x3f44a0) at mplayer.c:5081
(gdb) Dump of assembler code from 0x7c926a16 to 0x7c926a56:
0x7c926a16 <_libws2_32_a_iname+2076006146>:	add    %al,(%eax)
0x7c926a18 <_libws2_32_a_iname+2076006148>:	xor    %ecx,%ecx
0x7c926a1a <_libws2_32_a_iname+2076006150>:	mov    (%eax),%cl
0x7c926a1c <_libws2_32_a_iname+2076006152>:	or     %ebx,%ecx
0x7c926a1e <_libws2_32_a_iname+2076006154>:	mov    %cl,(%eax)
0x7c926a20 <_libws2_32_a_iname+2076006156>:	xor    %ebx,%ebx
0x7c926a22 <_libws2_32_a_iname+2076006158>:	lea    0x8(%esi),%eax
0x7c926a25 <_libws2_32_a_iname+2076006161>:	mov    %eax,0xffffff4c(%ebp)
0x7c926a2b <_libws2_32_a_iname+2076006167>:	mov    0x4(%edx),%ecx
0x7c926a2e <_libws2_32_a_iname+2076006170>:	mov    %ecx,0xffffff88(%ebp)
0x7c926a31 <_libws2_32_a_iname+2076006173>:	mov    %edx,(%eax)
0x7c926a33 <_libws2_32_a_iname+2076006175>:	mov    %ecx,0x4(%eax)
0x7c926a36 <_libws2_32_a_iname+2076006178>:	mov    %eax,(%ecx)
0x7c926a38 <_libws2_32_a_iname+2076006180>:	mov    %eax,0x4(%edx)
0x7c926a3b <_libws2_32_a_iname+2076006183>:	push   %esi
0x7c926a3c <_libws2_32_a_iname+2076006184>:	pushl  0xffffffc8(%ebp)
0x7c926a3f <_libws2_32_a_iname+2076006187>:
    call   0x7c910bcc <_libws2_32_a_iname+2075916472>
0x7c926a44 <_libws2_32_a_iname+2076006192>:	mov    0xffffffe4(%ebp),%ecx
0x7c926a47 <_libws2_32_a_iname+2076006195>:	mov    0xffffffc8(%ebp),%eax
0x7c926a4a <_libws2_32_a_iname+2076006198>:	add    %ecx,0x28(%eax)
0x7c926a4d <_libws2_32_a_iname+2076006201>:	mov    0xffffffb8(%ebp),%eax
0x7c926a50 <_libws2_32_a_iname+2076006204>:	cmp    %bx,%ax
0x7c926a53 <_libws2_32_a_iname+2076006207>:
    jne    0x7c94a789 <_libws2_32_a_iname+2076152949>
End of assembler dump.
(gdb) eax            0x2474d28	38227240
ecx            0xae86e97b	-1366890117
edx            0x24ae2f0	38462192
ebx            0x0	0
esp            0x22e8f0	0x22e8f0
ebp            0x22e9c4	0x22e9c4
esi            0x2474d20	38227232
edi            0x3f0000	4128768
eip            0x7c926a36	0x7c926a36
eflags         0x10246	66118
cs             0x1b	27
ss             0x23	35
ds             0x23	35
es             0x23	35
fs             0x3b	59
gs             0x0	0
st0            0	(raw 0xffff00000000908f8f8f)
st1            0	(raw 0xffff00000000908f8f8f)
st2            -0.0071428576484322548	(raw 0xbff7ea0ea20000000000)
st3            -1	(raw 0xbfff8000000000000000)
st4            0	(raw 0x00000000000000000000)
st5            0.081690938083680012	(raw 0x3ffba74d941b977bc800)
st6            0	(raw 0x00000000000000000000)
st7            0	(raw 0x00000000000000000000)
fctrl          0xffff027f	-64897
fstat          0xffff0020	-65504
ftag           0xffffffff	-1
fiseg          0x1b	27
fioff          0x40a7bc	4237244
foseg          0xffff0023	-65501
fooff          0xc0108c	12587148
fop            0x1c9	457
(gdb) The program is running.  Exit anyway? (y or n)
/********************************************************************/

MPlayer vebose output: mplayer -v -ss 770 049.rm
=================================================
MPlayer dev-SVN-r19147-3.4.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

get_path('codecs.conf') -> 
'C:/PROGRA~1/msys/1.0/home/Administrator/mplayer/codecs.conf'
Reading C:/PROGRA~1/msys/1.0/home/Administrator/mplayer/codecs.conf: Can't 
open 'C:/PROGRA~1/msys/1.0/home/Administrator/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.
CommandLine: '-v' '-ss' '770' '049.rm'
init_freetype
get_path('font/font.desc') -> 
'C:/PROGRA~1/msys/1.0/home/Administrator/mplayer/font/font.desc'
font: can't open file: 
C:/PROGRA~1/msys/1.0/home/Administrator/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 Windows native timing
get_path('input.conf') -> 
'C:/PROGRA~1/msys/1.0/home/Administrator/mplayer/input.conf'
Can't open input config file 
C:/PROGRA~1/msys/1.0/home/Administrator/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('049.rm.conf') -> 
'C:/PROGRA~1/msys/1.0/home/Administrator/mplayer/049.rm.conf'
getch2: 6 can't get number of input events  [disabling console input]

Playing 049.rm.
get_path('sub/') -> 'C:/PROGRA~1/msys/1.0/home/Administrator/mplayer/sub/'
WINSOCK2 init: 0
[file] File size is 33791934 bytes
STREAM: [file] 049.rm
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
REAL file format detected.
real: Header size: 18
real: Header object version: 1
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x2035c61
First data chunk offset: 0x429
Flags (2): [perfect play (more buffers)]
Chunk: MDPR (5250444d) (size: 0xac, offset: 0x44)
Found new stream (id: 0)
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
==> Found audio stream: 0
Found audio stream!
version: 5
00 00
2E 72 61 35
66 05 63 D7
00 05
header size: 78
coded_frame_size: 640
00 39 58 00
00 05 0B FE
00 05 0B FE
sub_packet_h: 16
frame_size: 640
sub_packet_size: 128
00 00
00 00 AC 44 00 00
00 00
samplerate: 44100, channels: 2
67 65 6E 72
01 02 00
00
audio fourcc: cook (6b6f6f63)
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 5512
Block align: 128
bits/sample: 16
cbSize: 16
Unknown extra header dump: [1] [0] [0] [3] [8] [0] [0] [20] [0] [0] [0] [0] 
[0] [5] [0] [5]
==========================================================================
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x76, offset: 0xf0)
Found new stream (id: 1)
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
==> Found video stream: 1
video fourcc: RV30 (30335652)
H.263 ID: 30203002
unknown id: 30203002
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x297, offset: 0x166)
Found new stream (id: 2)
Stream mimetype: logical-fileinfo
Got a logical-fileinfo chunk
### skipping 601 bytes of codec info
Chunk: CONT (544e4f43) (size: 0x22, offset: 0x3fd)
Chunk: DATA (41544144) (size: 0x2035842, offset: 0x41f)
Packets in file: 42029
Something went wrong, no index chunk found on given address (33774689)
Auto-selected RM audio ID = 0
Auto-selected RM video ID = 1
VIDEO:  RV30 [30203002,000B9030]  320x240  (aspect 0.00)  14.00 fps
AUDIO:  cook [6B6F6F63]
VIDEO:  [RV30]  320x240  24bpp  14.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:11  fourcc:0x30335652  size:320x240  fps:14.00  ftime:=0.0714
Clip info:
name: dbz epi 049
copyright: ©2002
get_path('sub/') -> 'C:/PROGRA~1/msys/1.0/home/Administrator/mplayer/sub/'
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>14 BGR32 supported
<vo_directx><INFO>testing supported overlay pixelformats
<vo_directx><FORMAT OVERLAY>0 YV12  supported
<vo_directx><FORMAT OVERLAY>1 I420  not supported
<vo_directx><FORMAT OVERLAY>2 IYUV  not supported
<vo_directx><FORMAT OVERLAY>3 YVU9  supported
<vo_directx><FORMAT OVERLAY>4 YUY2  supported
<vo_directx><FORMAT OVERLAY>5 UYVY  supported
<vo_directx><FORMAT OVERLAY>6 BGR8  not supported
<vo_directx><FORMAT OVERLAY>7 RGB15 supported
<vo_directx><FORMAT OVERLAY>8 BGR15 supported
<vo_directx><FORMAT OVERLAY>9 RGB16 supported
<vo_directx><FORMAT OVERLAY>10 BGR16 supported
<vo_directx><FORMAT OVERLAY>11 RGB24 not supported
<vo_directx><FORMAT OVERLAY>12 BGR24 not supported
<vo_directx><FORMAT OVERLAY>13 RGB32 supported
<vo_directx><FORMAT OVERLAY>14 BGR32 supported
<vo_directx><INFO>Your card supports 10 of 15 overlayformats
<vo_directx><INFO>hardware supports overlay
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x30203002  sub-id: 0x000B9030
opening win32 dll 'drvc.so'
win32 real codec handle=00000000
Error loading dll
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x30203002  sub-id: 0x000B9030
opening win32 dll 'drv3.so.6.0'
win32 real codec handle=00000000
Error loading dll
ERROR: Could not open required DirectShow codec drv3.so.6.0.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x30203002  sub-id: 0x000B9030
opening win32 dll 'drv33260.dll'
win32 real codec handle=62D40000
INFO: RealVideo codec init OK!
Selected video codec: [rv30win] vfm: realvid (Win32 RealPlayer 8 RV30 
decoder)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
AUDIO: 44100 Hz, 2 ch, s16le, 44.1 kbit/3.12% (ratio: 5512->176400)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
ao_dsound: Output Devices:
0 Primary Sound Driver <--
1 Realtek AC97 Audio
2 Modem #9 Line Playback (emulated)
3 Modem #9 Handset Playback (emulated)
4 Modem #11 Line Playback (emulated)
ao_dsound: DirectSound initialized
ao_dsound: Samplerate:44100Hz Channels:2 Format:s16le
ao_dsound: Buffersize:176400 bytes (1000 msec)
ao_dsound: primary buffer created
ao_dsound: secondary (stream)buffer created
AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: Windows DirectSound audio output
AO: Author: Gabor Szecsi <deje at miki.hu>
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar I420)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (320x240->320x240,flags=0,'MPlayer',0x30323449)
SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
REQ: flags=0x417  req=0x0
VO: [directx] 320x240 => 320x240 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YV12  created
*** [scale] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
get_path('subfont.ttf') -> 
'C:/PROGRA~1/msys/1.0/home/Administrator/mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:   0.0 V:   0.0 A-V:  0.016 ct:  0.000   1/  1 ??% ??% ??,?% 0 0
A: 772.9 V:771542.0 A-V:-770769.125 ct: -0.100   2/  2 ??% ??% ??,?% 0 0
A: 773.0 V: 770.8 A-V:  2.234 ct: -0.093   3/  3 ??% ??% ??,?% 0 0
A: 773.1 V: 771.5 A-V:  1.607 ct: -0.093   4/  4  0%  0%  0.0% 0 0
A: 773.3 V: 771.5 A-V:  1.748 ct: -0.093   4/  4  0%  0%  0.0% 0 0
A: 773.4 V: 771.5 A-V:  1.890 ct: -0.093   4/  4  0%  0%  0.0% 0 0
/* all goes well in the middle, but I can put it back if you want */
A: 790.3 V: 789.4 A-V:  0.965 ct:  1.821 271/271  0%  0%  0.0% 0 0
A: 790.4 V: 789.4 A-V:  0.959 ct:  1.829 272/272  0%  0%  0.0% 0 0
A: 790.4 V: 789.5 A-V:  0.955 ct:  1.836 273/273  0%  0%  0.0% 0 0
A: 790.5 V: 789.6 A-V:  0.953 ct:  1.843 274/274  0%  0%  0.0% 0 0
01D8EF4D: packet v63839 len=0
bad packet len (0)
01D8EF51: packet v1010 len=1
bad packet len (1)
demux_real: Found INDX chunk. EOF.
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)


MPlayer interrupted by signal 11 in module: video_read_frame
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in 
DOCS/HTML/en/bugreports_what.html#bugreports_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/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.
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: ffmpeg





More information about the MPlayer-users mailing list