[Mplayer-advusers] bugreport-segfault on playing .pls

Raphael Clifford raphael at clifford.net
Sat Aug 2 17:42:53 CEST 2003


Bugreport.

mplayer  http://www.snakenetmetalradio.com/snakenet96.pls

segfaults

whereas

mplayer http://www.snakenetmetalradio.com/snakenet56.pls

doesn't.

-------------------------------------------------------------------------------------------------

(gdb) bt
#0  0x42082542 in memmove () from /lib/i686/libc.so.6
#1  0x080976ed in play_tree_parser_get_line (p=0x8497b70) at 
playtreeparser.c:109
#2  0x08097ca8 in parse_pls (p=0x8497b70) at playtreeparser.c:301
#3  0x0809867b in play_tree_parser_get_play_tree (p=0x8497b70, forced=0)
    at playtreeparser.c:587
#4  0x0809827a in parse_playtree (stream=0xffffffc5, forced=-59) at 
playtreeparser.c:469
#5  0x0808ad7c in main (argc=3, argv=0xbfffdb84) at mplayer.c:1418
#6  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x42082522 to 0x42082562:
0x42082522 <memmove+66>:        add    %edx,%edi
0x42082524 <memmove+68>:        cmp    $0x7,%edx
0x42082527 <memmove+71>:        jbe    0x4208254e <memmove+110>
0x42082529 <memmove+73>:        mov    %edi,%ecx
0x4208252b <memmove+75>:        and    $0x3,%ecx
0x4208252e <memmove+78>:        sub    %ecx,%edx
0x42082530 <memmove+80>:        dec    %edi
0x42082531 <memmove+81>:        dec    %esi
0x42082532 <memmove+82>:        std   
0x42082533 <memmove+83>:        repz movsb %ds:(%esi),%es:(%edi)
0x42082535 <memmove+85>:        cld   
0x42082536 <memmove+86>:        sub    $0x3,%edi
0x42082539 <memmove+89>:        mov    %edx,%ecx
0x4208253b <memmove+91>:        sub    $0x3,%esi
0x4208253e <memmove+94>:        shr    $0x2,%ecx
0x42082541 <memmove+97>:        std   
0x42082542 <memmove+98>:        repz movsl %ds:(%esi),%es:(%edi)
0x42082544 <memmove+100>:       cld   
0x42082545 <memmove+101>:       add    $0x4,%edi
0x42082548 <memmove+104>:       add    $0x4,%esi
0x4208254b <memmove+107>:       and    $0x3,%edx
0x4208254e <memmove+110>:       dec    %edi
0x4208254f <memmove+111>:       dec    %esi
0x42082550 <memmove+112>:       mov    %edx,%ecx
0x42082552 <memmove+114>:       std   
0x42082553 <memmove+115>:       repz movsb %ds:(%esi),%es:(%edi)
0x42082555 <memmove+117>:       cld   
0x42082556 <memmove+118>:       jmp    0x42082517 <memmove+55>
0x42082558 <memmove+120>:       nop   
0x42082559 <memmove+121>:       lea    0x0(%esi,1),%esi
0x42082560 <memset>:    cld   
0x42082561 <memset+1>:  push   %edi
End of assembler dump.
(gdb)  info all-registers
eax            0xffffffc5       -59
ecx            0x3ffb151a       1073419546
edx            0xfffffffc       -4
ebx            0x8497bd3        139033555
esp            0xbfffc6b0       0xbfffc6b0
ebp            0xbfffc6b8       0xbfffc6b8
esi            0x835d037        137744439
edi            0x835cffc        137744380
eip            0x42082542       0x42082542
eflags         0x210606 2164230
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            14700    (raw 0x400ce5b0000000000000)
st7            0.04486083984375 (raw 0x3ffab7c0000000000000)
fctrl          0x37f    895
fstat          0x0      0
ftag           0xffff   65535
fiseg          0x23     35
fioff          0x81468cd        135555277
foseg          0x2b     43
fooff          0xbfffc738       -1073756360
fop            0x55c    1372
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),
---Type <return> to continue, or q <return> to quit---
    -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)}}
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 
http://www.snakenetmetalradio.com/snakenet96.pls
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 
directory
Reading config file /home/clifford/.mplayer/config
Reading /home/clifford/.mplayer/codecs.conf: Can't open 
'/home/clifford/.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' 'http://www.snakenetmetalradio.com/snakenet96.pls' '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
init_freetype
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('snakenet96.pls.conf') -> 
'/home/clifford/.mplayer/snakenet96.pls.conf'
Playing http://www.snakenetmetalradio.com/snakenet96.pls
Failed to create AF_INET6 socket:
Resolving www.snakenetmetalradio.com for AF_INET...
Connecting to server www.snakenetmetalradio.com[130.94.243.192]:80 ...
--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.1]
http minor version: [1]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [146]
Fields:
 0 - Server: Microsoft-IIS/5.0
 1 - Date: Sat, 02 Aug 2003 15:32:49 GMT
 2 - Content-Type: application/octet-stream
 3 - Accept-Ranges: bytes
 4 - Last-Modified: Thu, 30 Jan 2003 06:58:00 GMT
 5 - ETag: "4013ded2cc8c21:984"
 6 - Content-Length: 146
--- HTTP DEBUG HEADER --- END ---
Content-Type: [application/octet-stream]
Content-Length: [146]
Cache size set to 320 KBytes
Connected to server: www.snakenetmetalradio.com
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0 
^MCache fill:  0.00% (0 bytes)    ^MCache fill:  0.04% (146 bytes)    
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8494828 
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8494828 
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8494828 
Checking for REAL
DEMUXER: freeing demuxer at 0x8494828 
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8494828 
DEMUXER: freeing demuxer at 0x84951c8 
Searching demuxer type for filename 
http://www.snakenetmetalradio.com/snakenet96.pls ext: .pls
Checking for MOV
DEMUXER: freeing demuxer at 0x84951c8 
Checking for VIVO
header block 1 size: 112
DEMUXER: freeing demuxer at 0x84951c8 
DEMUXER: freeing demuxer at 0x84951c8 
DEMUXER: freeing demuxer at 0x84951c8 
DEMUXER: freeing demuxer at 0x84951c8 
DEMUXER: freeing demuxer at 0x84951c8 
DEMUXER: freeing demuxer at 0x84951c8 
DEMUXER: freeing demuxer at 0x84951c8 
Checking for PVA
DEMUXER: freeing demuxer at 0x8497bc0 
Checking for TS...
NOT A TS FILE1
TRIED UP TO POSITION 0, FOUND 0, packet_size= -256
DEMUXER: freeing demuxer at 0x8497bc0 
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video) 
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 
0 idr: 0 sps: 0 pps: 0
PES: 0  MP3: 0
Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 0x8497bc0 
DEMUXER: freeing demuxer at 0x8497bc0 
ds_fill_buffer: EOF reached (stream: video) 
DEMUXER: freeing demuxer at 0x8497bc0 
Falling back on trying to parse playlist 
http://www.snakenetmetalradio.com/snakenet96.pls...
Trying asx...
Trying Winamp playlist...
Detected Winamp playlist format
Segmentation fault

----------------------------------------------------------------------------------------------------

Here is a desription of my system
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 
System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 October 2002
GNU ld version 2.11.93.0.2 20020207
GNU assembler 2.11.93.0.2 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 
[VGA])
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

-------------------------------------------------------------------------------------------------
Raphael








More information about the MPlayer-advusers mailing list