[Mplayer-advusers] crash when playing an .rm file
Attila Kinali
kinali at gmx.net
Mon Feb 10 20:07:35 CET 2003
Hi,
I just got an rm file that causes mplayer to crash.
Bug is present in both main and 0_90.
---schnipp---
MPlayer 0.90-CVS-030210-18:14-2.95.4 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Reading config file /usr/local/etc/mplayer/mplayer.conf: Datei oder Verzeichnis nicht gefunden
Reading config file /home/attila/.mplayer/config
Reading /home/attila/.mplayer/codecs.conf: can't open '/home/attila/.mplayer/codecs.conf': Datei oder Verzeichnis nicht gefunden
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 135 video codecs
CommandLine: '-v' '/data/outsource/mysterious_cities_of_gold/serie/Episode 03 - Heroes Again.rm'
get_path('font/font.desc') -> '/home/attila/.mplayer/font/font.desc'
Font /home/attila/.mplayer/font/font.desc loaded successfully! (140 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Keine Berechtigung (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/attila/.mplayer/input.conf'
Can't open input config file /home/attila/.mplayer/input.conf : Datei oder Verzeichnis nicht gefunden
Can't open input config file /usr/local/etc/mplayer/input.conf : Datei oder Verzeichnis nicht gefunden
Falling back on default (hardcoded) input config
get_path('Episode 03 - Heroes Again.rm.conf') -> '/home/attila/.mplayer/Episode 03 - Heroes Again.rm.conf'
Playing /data/outsource/mysterious_cities_of_gold/serie/Episode 03 - Heroes Again.rm
Not an URL!
File size is 25602859 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x840c228
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x840c228
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x840c228
Checking for REAL
REAL file format detected.
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x1867263
First data chunk offset: 0x426
Flags (2): [perfect play (more buffers)]
Chunk: MDPR (5250444d) (size: 0xa4, offset: 0x44)
Found new stream (id: 0)
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
==> Found audio stream: 0
Found audio stream!
version: 5
00 00
2E 72 61 35
81 72 AD A4
00 05
00 00 00 46
00 52 48 80
00 03 AA B7
00 03 AA B7
frame_size: 558
sub_packet_size: 93
00 00
00 00 56 22 00 00
00 00
samplerate: 22050, channels: 1
67 65 6E 72
Audio: Real's GeneralCooker (?) (RealAudio G2?) (unsupported)
01 02 00
00
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 22050
avg byte/sec: 32115
Block align: 558
bits/sample: 16
cbSize: 18
Unknown extra header dump: [5d] [0] [10] [0] [7] [0] [2e] [2] [8] [0] [1] [0] [0] [2] [2] [0] [0] [18]
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x72, offset: 0xe8)
Found new stream (id: 1)
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
==> Found video stream: 1
video fourcc: RV20 (30325652)
H.263 ID: 20200002
### skipping 2 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x288, offset: 0x15a)
Found new stream (id: 2)
skip_str: 0 bytes skipped
skip_str: 16 bytes skipped
Not audio/video stream or unsupported!
### skipping 4 bytes of codec info
Chunk: CONT (544e4f43) (size: 0x3a, offset: 0x3e2)
Chunk: DATA (41544144) (size: 0x1866e47, offset: 0x41c)
Packets in file: 49406
packet#0: pos: 0x42e, len: 570, id: 0, pts: 0, flags: 2 rvd:0
Auto-selected RM audio ID = 0
packet#1: pos: 0x668, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#2: pos: 0x8a2, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#3: pos: 0xadc, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#4: pos: 0xd16, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#5: pos: 0xf50, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#6: pos: 0x118a, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#7: pos: 0x13c4, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#8: pos: 0x15fe, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#9: pos: 0x1838, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#10: pos: 0x1a72, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#11: pos: 0x1cac, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#12: pos: 0x1ee6, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#13: pos: 0x2120, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#14: pos: 0x235a, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#15: pos: 0x2594, len: 570, id: 0, pts: 0, flags: 0 rvd:0
packet#16: pos: 0x27ce, len: 564, id: 1, pts: 2140, flags: 2 rvd:0
Auto-selected RM video ID = 1
******** !!!!!!!! BUG!! len=-696 !!!!!!!!!!! ********
[V] filefmt:11 fourcc:0x30325652 size:240x180 fps:15.00 ftime:=0.0667
Clip info:
name: MCoG Episode 3
author: encoded by Darren Prescott
get_path('sub/') -> '/home/attila/.mplayer/sub/'
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
Audio codec: [7] 32 Kbps Voice
Audio bitrate: 32.041 kbit/s (4005 bps)
dec_audio: Allocating 8928 bytes for input buffer
dec_audio: Allocating 128000 + 65536 = 193536 bytes for output buffer
AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 4005->44100 (32.0 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x20200002 sub-id: 0x00019838
opening shared obj '/usr/lib/real/drv2.so.6.0'
VDec: vo config request - 240 x 180 (preferred csp: Planar I420)
Trying filter chain: vo
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (240x180->240x180,flags=0,'MPlayer',0x30323449)
VO: [xmga] 240x180 => 240x180 Planar I420
VO: Description: Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)
VO: Author: Zoltan Ponekker <pontscho at makacs.poliod.hu>
[mga] Using 3 buffers.
[xmga] x: 456 y: 342 w: 240 h: 180
[xmga] dcx: 456 dcy: 342 dx: 0 dy: 0 dw: 240 dh: 180
INFO: RealVideo codec init OK!
Selected video codec: [rv20] vfm:realvid (Linux RealPlayer 8 RV20 decoder)
==========================================================================
Checking audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 1 ch, 22050 hz, little endian signed int
AF_pre: 22050Hz 1ch Signed 16-bit (Little-Endian)
ao2: 22050 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 22050 Hz samplerate (requested: 22050)
audio_setup: frags: 32/32 (2048 bytes/frag) free: 65536
AO: [oss] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000001 and bps = 2
[libaf] Adding filter channels
[channels] Changing number of channels to 2
[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000001 and bps = 2
Starting playback...
[libaf] Reallocating memory in module channels, old len = 0, new len = 65534
*** [vo] Allocating mp_image_t, 240x180x12bpp YUV planar, 64800 bytes
[xmga] x: 0 y: 0 w: 240 h: 180
[xmga] dcx: 456 dcy: 342 dx: 0 dy: 0 dw: 240 dh: 180
A: 0.1 V: 2.1 A-V: -2.024 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%
packet#17: pos: 0x2cba, len: 23888, id: 53223, pts: -2136372356, flags: 63 rvd:249
packet#18: pos: 0x8a0a, len: 33527, id: 26592, pts: -384662650, flags: 70 rvd:4
packet#19: pos: 0x10d01, len: 192, id: 16806, pts: 1414876369, flags: 48 rvd:80
packet#20: pos: 0x10dc1, len: 43918, id: 39552, pts: -186204991, flags: e3 rvd:36
packet#21: pos: 0x1b94f, len: 54430, id: 8659, pts: 1453960500, flags: cb rvd:54
packet#22: pos: 0x28ded, len: 2655, id: 32257, pts: 1334920479, flags: 10 rvd:119
packet#23: pos: 0x2984c, len: 37786, id: 17130, pts: -420570118, flags: b4 rvd:158
packet#24: pos: 0x32be6, len: 26457, id: 18871, pts: -1597968533, flags: ab rvd:4
packet#25: pos: 0x3933f, len: 56348, id: 53679, pts: 879185915, flags: 19 rvd:143
packet#26: pos: 0x46f5b, len: 60538, id: 13653, pts: -1095665871, flags: 72 rvd:83
packet#27: pos: 0x55bd5, len: 60515, id: 8808, pts: -393140097, flags: 28 rvd:225
packet#28: pos: 0x64838, len: 3389, id: 28700, pts: 315489631, flags: c2 rvd:239
packet#29: pos: 0x65575, len: 10901, id: 23178, pts: -1503232020, flags: 6a rvd:235
packet#30: pos: 0x6800a, len: 2054, id: 28534, pts: -1287354223, flags: 50 rvd:128
packet#31: pos: 0x68810, len: 54281, id: 48007, pts: 2030103567, flags: c2 rvd:1
packet#32: pos: 0x75c19, len: 20807, id: 30937, pts: -590982958, flags: 94 rvd:236
packet#33: pos: 0x7ad60, len: 42176, id: 4644, pts: -951801786, flags: e5 rvd:120
packet#34: pos: 0x85220, len: 9652, id: 30166, pts: 337025624, flags: 1 rvd:11
packet#35: pos: 0x877d4, len: 36867, id: 60327, pts: -1201729641, flags: 88 rvd:151
packet#36: pos: 0x907d7, len: 10267, id: 27976, pts: 945803119, flags: ee rvd:193
packet#37: pos: 0x92ff2, len: 62719, id: 65440, pts: 1347938789, flags: e8 rvd:255
packet#38: pos: 0xa24f1, len: 32576, id: 57361, pts: -1925989246, flags: 10 rvd:188
packet#39: pos: 0xaa431, len: 1107, id: 45154, pts: -1502241869, flags: 17 rvd:166
[schnipp]
packet#209: pos: 0x4f8f45, len: 188, id: 30933, pts: 791617074, flags: 69 rvd:7
packet#210: pos: 0x4f9001, len: 19849, id: 7216, pts: -1680537244, flags: e6 rvd:73
packet#211: pos: 0x4fdd8a, len: 13314, id: 12812, pts: 1208929248, flags: 79 rvd:75
packet#212: pos: 0x50118c, len: 20321, id: 56794, pts: -316566060, flags: 39 rvd:93
packet#213: pos: 0x5060ed, len: 37281, id: 10373, pts: 403106816, flags: 2d rvd:200
0050F28E: packet v618 len=1
bad packet len (1)
packet#214: pos: 0x50f293, len: 36864, id: 1, pts: 21128768, flags: 4a rvd:0
******** !!!!!!!! BUG!! len=-221475013 !!!!!!!!!!! ********
A: 0.8 V:21128.8 A-V:-21127.934 ct: -0.007 2/ 2 0% 0% 0.0% 1 0 0%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 30849)]
af_calc_insize_constrained (s=0x847a058, len=65536, max_outsize=65536,
max_insize=65536) at af.c:530
530 mul.n *= af->mul.n;
(gdb) bt
#0 af_calc_insize_constrained (s=0x847a058, len=65536, max_outsize=65536,
max_insize=65536) at af.c:530
#1 0x080b0856 in decode_audio (sh_audio=0x840ccf0, buf=0x847a150 "",
minlen=65536, maxlen=65536) at dec_audio.c:389
#2 0x0806cbae in main (argc=3, argv=0xbffff7b4) at mplayer.c:1813
(gdb) p af
$1 = (af_instance_t *) 0x3030303
(gdb) p *af
Cannot access memory at address 0x3030303
(gdb) p *s
Cannot access memory at address 0x3030303
(gdb) l
525 int out = 0;
526 af_instance_t* af=s->first;
527 register frac_t mul = {1,1};
528 // Iterate through all filters and calculate total multiplication factor
529 do{
530 mul.n *= af->mul.n;
531 mul.d *= af->mul.d;
532 af=af->next;
533 }while(af);
534 // Sanity check
---schnapp---
I'm currently uploading the file (Episode 03 - Heroes Again.rm) to mphq.
Attila
--
Emacs ist für mich kein Editor. Für mich ist das genau das gleiche, als wenn
ich nach einem Fahrrad (für die Sonntagbrötchen) frage und einen pangalaktischen
Raumkreuzer mit 10 km Gesamtlänge bekomme. Ich weiß nicht, was ich damit soll.
-- Frank Klemm, de.comp.os.unix.discussion
More information about the MPlayer-advusers
mailing list