[MPlayer-dev-eng] bugreport (sent here by Gabucino)

Raphael Clifford raphael at clifford.net
Sat Aug 2 17:26:05 CEST 2003

First of all let me apologise if I have been misled. Gabucino told me on 
#mplayer that I should post my bugreports here despite the clear 
warnings in the docs. If that is wrong then please say so and I won't do 
it again.


When playing a realaudio file with -forceidx (following the notes in 
section of the docs) mplayer segfaults.  The file was originally 
created using the following command.

mplayer rtsp://rmv8.bbc.net.uk/radio4/sat1230.ra  -dumpfile newsquiz.ra 

I can play the file newsquiz.ra fine without -forceidx.


(gdb) bt
#0  generate_index (demuxer=0x84929d0) at demux_real.c:269
#1  0x0815e244 in demux_open_real (demuxer=0x84929d0) at demux_real.c:1177
#2  0x0814e7fc in demux_open_stream (stream=0x8491678, file_format=11,
    audio_id=-1, video_id=-1, dvdsub_id=-1,
    filename=0x8480770 "/home/clifford/docs/newsquiz.ra") at demuxer.c:1164
#3  0x0814fe3f in demux_open (vs=0x8491678, file_format=0, audio_id=-1,
    video_id=139007608, dvdsub_id=-1,
    filename=0x8491678 "@)\025\b\200)\025\bÀ)\025\b") at demuxer.c:1310
#4  0x0808ac87 in main (argc=4, argv=0xbffff904) at mplayer.c:1343
#5  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x815b6f6 to 0x815b736:
0x815b6f6 <generate_index+1494>:        mov    $0x74,%dh
0x815b6f8 <generate_index+1496>:        add    0xffffff89(%eax,%eax,2),%ebx
0x815b6fc <generate_index+1500>:        inc    %ebx
0x815b6fd <generate_index+1501>:        and    $0x89,%al
0x815b6ff <generate_index+1503>:        jne    0x815b69d 
0x815b701 <generate_index+1505>:        mov    0xffffffd8(%ebp),%eax
0x815b704 <generate_index+1508>:        mov    0xffffffb0(%ebp),%edx
0x815b707 <generate_index+1511>:        mov    0xffffffec(%ebp),%ecx
0x815b70a <generate_index+1514>:        mov    %eax,0xffffffe0(%ebp)
0x815b70d <generate_index+1517>:        lea    (%eax,%eax,4),%esi
0x815b710 <generate_index+1520>:        mov    0xffffff7c(%ebp),%eax
0x815b716 <generate_index+1526>:        mov    0x4(%ecx,%edx,4),%edi
0x815b71a <generate_index+1530>:        shl    $0x2,%esi
0x815b71d <generate_index+1533>:        mov    0xffffffac(%ebp),%ebx
0x815b720 <generate_index+1536>:        mov    %eax,%edx
0x815b722 <generate_index+1538>:        mov    0x30(%edx),%edx
0x815b725 <generate_index+1541>:        mov    %ebx,(%edi,%esi,1)
0x815b728 <generate_index+1544>:        mov    0xffffff9c(%ebp),%ebx
0x815b72b <generate_index+1547>:        mov    0x24(%eax),%ecx
0x815b72e <generate_index+1550>:        mov    %edx,0xffffff94(%ebp)
0x815b731 <generate_index+1553>:        mov    0x2c(%eax),%eax
0x815b734 <generate_index+1556>:        mov    0xffffff7c(%ebp),%edx
---Type <return> to continue, or q <return> to quit---
End of assembler dump.
(gdb)  info all-registers
eax            0x8491678        139007608
ecx            0x8493370        139015024
edx            0x5041   20545
ebx            0x8491678        139007608
esp            0xbfffe190       0xbfffe190
ebp            0xbfffe238       0xbfffe238
esi            0x124d5  74965
edi            0x0      0
eip            0x815b716        0x815b716
eflags         0x210217 2163223
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            0        (raw 0x00000000000000000000)
---Type <return> to continue, or q <return> to quit---
st7            2        (raw 0x40008000000000000000)
fctrl          0x37f    895
fstat          0x0      0
ftag           0xffff   65535
fiseg          0x23     35
fioff          0x80a40b9        134889657
foseg          0x2b     43
fooff          0x847d410        138925072
fop            0x31e    798
xmm0           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm1           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm2           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm4           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm6           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
---Type <return> to continue, or q <return> to quit---
xmm7           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
mxcsr          0x1f80   8064
orig_eax       0xffffffff       -1

Here is the output of mplayer -v on the file newsquiz.ra.

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer dev-CVS-030730-10:51-3.1 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon 
(Family: 6, Stepping: 2
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or 
Reading config file /home/clifford/.mplayer/config
Reading /home/clifford/.mplayer/codecs.conf: Can't open 
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' '-forceidx' '/home/clifford/docs/newsquiz.ra' '2'
get_path('font/font.desc') -> '/home/clifford/.mplayer/font/font.desc'
font: can't open file: /home/clifford/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using usleep() timing
get_path('input.conf') -> '/home/clifford/.mplayer/input.conf'
Can't open input config file /home/clifford/.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
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('newsquiz.ra.conf') -> '/home/clifford/.mplayer/newsquiz.ra.conf'

Playing /home/clifford/docs/newsquiz.ra
Not an URL!
[file] File size is 9775222 bytes
STREAM: [file] /home/clifford/docs/newsquiz.ra
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8492a20 
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8492a20 
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8492a20 
Checking for REAL
REAL file format detected.
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x0
First data chunk offset: 0x178
Flags (2): [perfect play (more buffers)]
Chunk: CONT (544e4f43) (size: 0x5d, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0xcd, offset: 0xa1)
Found new stream (id: 0)
skip_str: 45 bytes skipped
skip_str: 20 bytes skipped
==> Found audio stream: 0
Found audio stream!
version: 5
 00 00
 2E 72 61 35
 00 00 00 10
 00 05
 00 00 00 4E
 00 92 68 00
 00 05 0B FE
 00 00 00 00
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
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 44100
Block align: 640
bits/sample: 16
cbSize: 26
Unknown extra header dump: [80] [0] [10] [0] [17] [0] [80] [2] [10] [0] 
[1] [0] [0] [3] [8] [0]
 [0] [25] [0] [0] [0] [0] [0] [2] [0] [4]
### skipping 0 bytes of codec info
Chunk: DATA (41544144) (size: 0x927980, offset: 0x16e)
Packets in file: 14999

MPlayer interrupted by signal 11 in module: demux_open
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. For details, see DOCS/en/bugreports.html#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/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.
Generating index table from raw data (pos: 0x16e) for 14999 packets
vo: x11 uninit called but X11 not inited..


Here are the details of my setup

redhat 7.3
gcc version 3.1 20020604 (Red Hat Linux 7.3 3.1-5)
Linux localhost.localdomain 2.4.20-19.7 #1 Tue Jul 15 13:44:14 EDT 2003 
i686 unknown
[clifford at localhost main]$ ls -l /lib/libc[.-]*
-rwxr-xr-x    1 root     root      1260480 Mar  5 21:32 /lib/libc-2.2.5.so
lrwxrwxrwx    1 root     root           13 Mar 20 12:03 /lib/libc.so.6 
-> libc-2.2.5.so
XFree86 Version 4.2.1 (Red Hat Linux release: 4.2.1-13.73.3) / X Window 
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 October 2002
GNU ld version 20020207
GNU assembler 20020207

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Pentium II (Deschutes)
stepping        : 2
cpu MHz         : 334.095
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca 
cmov pat pse36 mmx fxsr
bogomips        : 666.82

VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01) (prog-if 00 
ISA soundblaster soundcard
(from dmesg)
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
SB 4.13 detected OK (220)
SB16: Bad or missing 16 bit DMA channel



More information about the MPlayer-dev-eng mailing list