Crash playing RealVideo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



Hello,

MPlayer crashes reproducibly playing RealVideo (rv3040 and rv40), if
binary codecs are in reach (in /usr/local/lib/codecs). If they are not
available, MPlayer uses the internal ffmpeg decoder, which plays the
videos fine.

This is a regression which happened after r28181 (2008-12-23). r28186 is
already affected.

The gdb output is attached, the file "skyatnight_dec07.rm" is a dump of
<rtsp://rmv8.bbc.net.uk/science/space/nb/skyatnight_dec07_16x9_nb.rm>
(17,0 MB).

-- 
Regards

Ilja
MPlayer SVN-r28636-4.3.2 (C) 2000-2009 MPlayer Team
get_path('codecs.conf') -> '/home/ilja/.mplayer/codecs.conf'
Reading /home/ilja/.mplayer/codecs.conf: Can't open '/home/ilja/.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: --disable-rtc --disable-lirc --disable-x264 --disable-arts --disable-mencoder --enable-menu --enable-debug=3
CommandLine: '-v' '../skyatnight_dec07.rm'
init_freetype
get_path('font/font.desc') -> '/home/ilja/.mplayer/font/font.desc'
font: can't open file: /home/ilja/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/ilja/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/ilja/.mplayer/input.conf'
Can't open input config file /home/ilja/.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('skyatnight_dec07.rm.conf') -> '/home/ilja/.mplayer/skyatnight_dec07.rm.conf'

Playing ../skyatnight_dec07.rm.
get_path('sub/') -> '/home/ilja/.mplayer/sub/'
[file] File size is 17838577 bytes
STREAM: [file] ../skyatnight_dec07.rm
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: RealMedia format
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: 0
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x0
First data chunk offset: 0x1b6
Flags (19): [save allowed] 
Chunk: CONT (544e4f43) (size: 0x12, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0x91, offset: 0x56)
Found new stream (id: 0)
Stream description: video/x-pn-multirate-realvideo logical stream
Stream mimetype: video/x-pn-realvideo
==> Found video stream: 0
[real] Video stream found, -vid 0
video fourcc: RV40 (30345652)
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0xc5, offset: 0xe7)
Found new stream (id: 1)
Stream description: audio/x-pn-multirate-realaudio logical stream
Stream mimetype: audio/x-pn-realaudio
==> Found audio stream: 1
[real] Audio stream found, -aid 1
Found audio stream!
version: 5
 00 00
 2E 72 61 35
 00 00 00 10
 00 05
header size: 70
coded_frame_size: 600
 00 00 00 00
 00 02 5D 99
 00 00 00 00
sub_packet_h: 9
frame_size: 600
sub_packet_size: 60
 00 00
 00 00 56 22 00 00
 00 00
samplerate: 22050, channels: 1
 01 07 00
 00
audio fourcc: cook (6b6f6f63)
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 22050
avg byte/sec: 2583
Block align: 60
bits/sample: 16
cbSize: 8
Unknown extra header dump: [1] [0] [0] [1] [2] [0] [0] [17] 
==========================================================================
### skipping 0 bytes of codec info
Chunk: DATA (41544144) (size: 0x10ab4a4, offset: 0x1ac)
Packets in file: 29180
Auto-selected RM video ID = 0
Auto-selected RM audio ID = 1
VIDEO:  RV40 [00400040,20100800]  184x144  (aspect 0.00)  15.00 fps
AUDIO:  cook [6B6F6F63]
VIDEO:  [RV40]  184x144  24bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:11  fourcc:0x30345652  size:184x144  fps:15.000  ftime:=0.0667
get_path('sub/') -> '/home/ilja/.mplayer/sub/'
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] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (NV17 Video Texture)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x40004000  sub-id: 0x00081020
opening win32 dll 'drvc.dll'
Win32 LoadLibrary failed to load: drvc.dll, /usr/local/lib/codecs/drvc.dll, /usr/lib/win32/drvc.dll, /usr/local/lib/win32/drvc.dll
win32 real codec handle=(nil)  
Error loading dll
ERROR: Could not open required DirectShow codec drvc.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x40004000  sub-id: 0x00081020
opening shared obj '/usr/local/lib/codecs/drv4.so.6.0'
[New Thread 0xb5fe46f0 (LWP 24571)]
INFO: RealVideo codec init OK!
Selected video codec: [rv40] vfm: realvid (Linux RealPlayer 9 RV40)
==========================================================================
==========================================================================
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: 22050 Hz, 1 ch, s16le, 20.7 kbit/5.86% (ratio: 2583->44100)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio)
==========================================================================
Building audio filter chain for 22050Hz/1ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 22050Hz/1ch/s16le
[dummy] Was reinitialized: 22050Hz/1ch/s16le
Trying preferred audio driver 'pulse', options '[none]'
[New Thread 0xb5c1cb90 (LWP 24574)]
AO: [pulse] 22050Hz 1ch s16le (2 bytes per sample)
AO: Description: PulseAudio audio output
AO: Author: Lennart Poettering
Building audio filter chain for 22050Hz/1ch/s16le -> 22050Hz/1ch/s16le...
[dummy] Was reinitialized: 22050Hz/1ch/s16le
[dummy] Was reinitialized: 22050Hz/1ch/s16le
Starting playback...
Increasing filtered audio buffer size from 0 to 23072
VDec: vo config request - 184 x 144 (preferred colorspace: Planar I420)
Trying filter chain: vo
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.28:1 - prescaling to correct movie aspect.
VO Config (184x144->184x144,flags=0,'MPlayer',0x30323449)
VO: [xv] 184x144 => 184x144 Planar I420 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@xxxxxxxxxxxxxxxxxxxxx> 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 355 for hw scaling
*** [vo] Exporting mp_image_t, 184x144x12bpp YUV planar, 39744 bytes
get_path('subfont.ttf') -> '/home/ilja/.mplayer/subfont.ttf'?,?% 0 0 
Unicode font: 1185 glyphs.
get_path('subfont.ttf') -> '/home/ilja/.mplayer/subfont.ttf'
Unicode font: 1185 glyphs.
*** glibc detected *** /home/ilja/mplayer/mplayer: malloc(): memory corruption: 0x09f78088 ***

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5fe46f0 (LWP 24571)]
0xb809f830 in ?? () from /lib/ld-linux.so.2



(gdb) bt
#0  0xb809f830 in ?? () from /lib/ld-linux.so.2
#1  0xb809b716 in ?? () from /lib/ld-linux.so.2
#2  0xb809f2ee in ?? () from /lib/ld-linux.so.2
#3  0xb735a0a2 in ?? () from /lib/tls/i686/cmov/libc.so.6
#4  0xb809b716 in ?? () from /lib/ld-linux.so.2
#5  0xb735a265 in __libc_dlopen_mode () from /lib/tls/i686/cmov/libc.so.6
#6  0xb7334208 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0xb7f02560 in pthread_once () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb73344a5 in backtrace () from /lib/tls/i686/cmov/libc.so.6
#9  0xb72a6183 in ?? () from /lib/tls/i686/cmov/libc.so.6
#10 0xb72af176 in ?? () from /lib/tls/i686/cmov/libc.so.6
#11 0xb72b08c5 in malloc () from /lib/tls/i686/cmov/libc.so.6
#12 0xb5e66ffd in ?? () from /usr/local/lib/codecs/drv4.so.6.0
#13 0xb5e8ea44 in ?? () from /usr/local/lib/codecs/drv4.so.6.0
#14 0xb5e684e3 in ?? () from /usr/local/lib/codecs/drv4.so.6.0
#15 0xb5e6889d in ?? () from /usr/local/lib/codecs/drv4.so.6.0
#16 0xb5e6a639 in ?? () from /usr/local/lib/codecs/drv4.so.6.0
#17 0xb5e6aaf0 in ?? () from /usr/local/lib/codecs/drv4.so.6.0
#18 0xb5e6762e in RV20toYUV420Transform () from /usr/local/lib/codecs/drv4.so.6.0
#19 0x0827e504 in decode (sh=0x9eb7f60, data=0x9ec1d88, len=127, flags=<value optimized out>)
    at libmpcodecs/vd_realvid.c:406
#20 0x081245db in decode_video (sh_video=0x9eb7f60, start=0x9ec1d88 "", in_size=127, drop_frame=0, 
    pts=0.66600003163330257) at libmpcodecs/dec_video.c:369
#21 0x080923ea in main (argc=3, argv=0xbfba7944) at mplayer.c:2286



(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xb809f810 to 0xb809f850:
0xb809f810:	add    %cl,0x45c7e445(%ecx)
0xb809f816:	aam    $0x0
0xb809f818:	add    %al,(%eax)
0xb809f81a:	add    %cl,0x75890879(%ebx)
0xb809f820:	rorb   0x74c085f0(%ecx)
0xb809f826:	ss
0xb809f827:	mov    %eax,%esi
0xb809f829:	lea    0x0(%esi,%eiz,1),%esi
0xb809f830:	cmp    0x1ac(%esi),%edi
0xb809f836:	jb     0xb809f856
0xb809f838:	cmp    0x1b0(%esi),%edi
0xb809f83e:	jae    0xb809f856
0xb809f840:	cmpb   $0x0,0x195(%esi)
0xb809f847:	js     0xb809f878
0xb809f849:	mov    %edi,%edx
0xb809f84b:	mov    %esi,%eax
0xb809f84d:	call   0xb809f1e0
End of assembler dump.



(gdb) info all-registers
eax            0xb80aa668	-1207261592
ecx            0xbfba599c	-1078306404
edx            0x24242424	606348324
ebx            0xb80a9ff4	-1207263244
esp            0xbfba5830	0xbfba5830
ebp            0xbfba5898	0xbfba5898
esi            0xd0d0d0d	218959117
edi            0x0	0
eip            0xb809f830	0xb809f830
eflags         0x210202	[ IF RF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x8f	143
gs             0x33	51
st0            -23500.746950221247971057891845703125	(raw 0xc00db7997e7042680000)
st1            -23316.106295542151201516389846801758	(raw 0xc00db628366c5e8a8000)
st2            -34390.734375	(raw 0xc00e8656bc0000000000)
st3            23501.0859375	(raw 0x400db79a2c0000000000)
st4            34390.23831190355122089385986328125	(raw 0x400e86563d0202480000)
st5            0.06599999964237213134765625	(raw 0x3ffb872b020000000000)
st6            -0.1000000000000000055511151231257827	(raw 0xbffbccccccccccccd000)
st7            0.66600003163330256938934326171875	(raw 0x3ffeaa7efa6300000000)
fctrl          0x37f	895
fstat          0x20	32
ftag           0xffff	65535
fiseg          0x0	0
fioff          0x0	0
foseg          0x0	0
fooff          0x0	0
fop            0x0	0
xmm0           {v4_float = {0x3800000, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 
    0x0, 0x60, 0x4c, 0xdf, 0x4f, 0xe5, 0x3f, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80}, 
  v8_int16 = {0x0, 0x4c60, 0x4fdf, 0x3fe5, 0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {
    0x4c600000, 0x3fe54fdf, 0x80808080, 0x80808080}, v2_int64 = {0x3fe54fdf4c600000, 
    0x8080808080808080}, uint128 = 0x80808080808080803fe54fdf4c600000}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
    0x80 <repeats 16 times>}, v8_int16 = {0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 0x8080, 
    0x8080}, v4_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080}, v2_int64 = {
    0x8080808080808080, 0x8080808080808080}, uint128 = 0x80808080808080808080808080808080}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x8000000000000000}, 
  v16_int8 = {0x80 <repeats 11 times>, 0x7f, 0x80, 0x7f, 0x7f, 0x7e}, v8_int16 = {0x8080, 0x8080, 
    0x8080, 0x8080, 0x8080, 0x7f80, 0x7f80, 0x7e7f}, v4_int32 = {0x80808080, 0x80808080, 
    0x7f808080, 0x7e7f7f80}, v2_int64 = {0x8080808080808080, 0x7e7f7f807f808080}, 
  uint128 = 0x7e7f7f807f8080808080808080808080}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 
    0x8000000000000000}, v16_int8 = {0x7e, 0x7e, 0x7e, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 
    0x7e, 0x7e, 0x7d, 0x7c, 0x7b, 0x7a}, v8_int16 = {0x7e7e, 0x7f7e, 0x7f7f, 0x7f7f, 0x7f7f, 
    0x7e7e, 0x7c7d, 0x7a7b}, v4_int32 = {0x7f7e7e7e, 0x7f7f7f7f, 0x7e7e7f7f, 0x7a7b7c7d}, 
  v2_int64 = {0x7f7f7f7f7f7e7e7e, 0x7a7b7c7d7e7e7f7f}, 
  uint128 = 0x7a7b7c7d7e7e7f7f7f7f7f7f7f7e7e7e}
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	[ IM DM ZM OM UM PM ]
mm0            {uint64 = 0xb7997e7042680000, v2_int32 = {0x42680000, 0xb7997e70}, v4_int16 = {0x0, 
    0x4268, 0x7e70, 0xb799}, v8_int8 = {0x0, 0x0, 0x68, 0x42, 0x70, 0x7e, 0x99, 0xb7}}
mm1            {uint64 = 0xb628366c5e8a8000, v2_int32 = {0x5e8a8000, 0xb628366c}, v4_int16 = {
    0x8000, 0x5e8a, 0x366c, 0xb628}, v8_int8 = {0x0, 0x80, 0x8a, 0x5e, 0x6c, 0x36, 0x28, 0xb6}}
mm2            {uint64 = 0x8656bc0000000000, v2_int32 = {0x0, 0x8656bc00}, v4_int16 = {0x0, 0x0, 
    0xbc00, 0x8656}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0xbc, 0x56, 0x86}}
mm3            {uint64 = 0xb79a2c0000000000, v2_int32 = {0x0, 0xb79a2c00}, v4_int16 = {0x0, 0x0, 
    0x2c00, 0xb79a}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x2c, 0x9a, 0xb7}}
mm4            {uint64 = 0x86563d0202480000, v2_int32 = {0x2480000, 0x86563d02}, v4_int16 = {0x0, 
    0x248, 0x3d02, 0x8656}, v8_int8 = {0x0, 0x0, 0x48, 0x2, 0x2, 0x3d, 0x56, 0x86}}
mm5            {uint64 = 0x872b020000000000, v2_int32 = {0x0, 0x872b0200}, v4_int16 = {0x0, 0x0, 
    0x200, 0x872b}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x2b, 0x87}}
mm6            {uint64 = 0xccccccccccccd000, v2_int32 = {0xccccd000, 0xcccccccc}, v4_int16 = {
    0xd000, 0xcccc, 0xcccc, 0xcccc}, v8_int8 = {0x0, 0xd0, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc}}
mm7            {uint64 = 0xaa7efa6300000000, v2_int32 = {0x0, 0xaa7efa63}, v4_int16 = {0x0, 0x0, 
    0xfa63, 0xaa7e}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x63, 0xfa, 0x7e, 0xaa}}

_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux