[MPlayer-users] MPlayer crashes if playlist is not terminated by \n

Jan 'CIVILISATOR' Huwald civ at gamer-tv.de
Sat Dec 21 11:58:01 CET 2002


Hi everybody

Sorry that I have no Debug-Output but I think the problem is not that hard to 
fix. With the latest stable release (0.90rc1) I can't play playlist-files 
with -playlist if the playlist-file does not end with the CR-char (\n in C).
Instead of playing the files (or at least the first ones, until the 
"corrupted" line) mplayer crashes immediatly. The console says ...

---------------------------------
jh at beelzebub:~/Videos-Music> mplayer -playlist XXX
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc1-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
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/jh/.mplayer/config
Reading /home/jh/.mplayer/codecs.conf: can't open 
'/home/jh/.mplayer/codecs.conf': Datei oder Verzeichnis nicht gefunden
Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 123 video codecs
Font /home/jh/.mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Keine Berechtigung
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using usleep() timing
Can't open input config file /home/jh/.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
Setting up lirc support...
mplayer: could not connect to socket
mplayer: Keine Berechtigung
Failed opening lirc support!
You won't be able to use your remote control

Playing Die Toten Hosen - Bayern.avi
Detected AVI file format!
VIDEO:  [DIV3]  320x240  24bpp  25,00 fps  619,8 kbps (75,7 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Start playing...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12
A:   1,3 V:   1,3 A-V: -0,007 ct:  0,003   34/ 34  10%  3%  1,7% 0 0 0%
Exiting... (Quit)
jh at beelzebub:~/Videos-Music> mplayer -playlist pl_party.lst
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc1-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
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/jh/.mplayer/config
Speicherzugriffsfehler
jh at beelzebub:~/Videos-Music>
---------------------------------

The last line ("Speicherzugriffsfehler") is German and means memory acces 
failure

I've attached two (playlist-)files, "good" works, "bad" crashes.

I hope anybody can fix it, even if it's not that important ...

cya,
Jan Huwald

-------------- next part --------------
Die Toten Hosen - Bayern.avi
Die Toten Hosen - Nur zu Besuch.avi
Die Toten Hosen - Pushed Again.mpg
Die Toten Hosen - Steh auf.avi
Die Toten Hosen - Still,still,still.mpeg
Die Toten Hosen - Unsterblich.avi
-------------- next part --------------
Die Toten Hosen - Bayern.avi
Die Toten Hosen - Nur zu Besuch.avi
Die Toten Hosen - Pushed Again.mpg
Die Toten Hosen - Steh auf.avi
Die Toten Hosen - Still,still,still.mpeg
Die Toten Hosen - Unsterblich.avi


More information about the MPlayer-users mailing list