[Mplayer-advusers] libmpeg2 coredump

Zoltan Hidvegi mplayer at hzoli.2y.net
Sun Feb 15 21:33:41 CET 2004


I've uploaded the file libmp2-bug.ts to mplayerhq incoming.  Here is a
transcript of what happens:

% gdb --args /hzoli/l/src/mplayercvs/main/mplayer libmp2-bug.ts -tsprog 2 -vop crop=1408:1056:256:16 -nosound -vo null
GNU gdb 5.3.90_2003-08-24-cvs-debian
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...
(gdb) run
Starting program: /nfs/hzoli/usr/local/src/mplayercvs/main/mplayer libmp2-bug.ts -tsprog 2 -vop crop=1408:1056:256:16 -nosound -vo null
 [New Thread 16384 (LWP 5728)]
MPlayer dev-CVS-040127-14:02-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Tualatin 532.0 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/hzoli/.mplayer/config
Reading /home/hzoli/.mplayer/codecs.conf: Can't open '/home/hzoli/.mplayer/codec
s.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 61 audio & 149 video codecs
font: can't open file: /home/hzoli/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: Device or resource busy (mplayer should be setuid root 
or /dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /home/hzoli/.mplayer/input.conf: No such file or di
rectory
Input config file /etc/mplayer/input.conf parsed: 52 binds
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.

Playing libmp2-bug.ts.
TS file format detected.
DEMUX OPEN, AUDIO_ID: -2, VIDEO_ID: -1, SUBTITLE_ID: -1,
PROBING UP TO 2000000, PROG: 2
VIDEO MPEG2(pid=33)...NO AUDIO!  NO SUBS (yet)!  PROGRAM N. 2
Opened TS demuxer, audio: ffffffff(pid -2), video: 10000002(pid 33)...POS=85812
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  45000.0 kbps (5625.0 kbyte/s)
SUB: Could not determine file format
Cannot load subtitles: ./libmp2-bug.txt
Opening video filter: [crop w=1408 h=1056 x=256 y=16]
Crop: 1408 x 1056, 256 ; 16
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1920 x 1080 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [lavc]
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 1920 x 1088 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
Opening video filter: [expand]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 0
VO: [null] 1408x1056 => 1408x1056 Mpeg PES 
V:8569.6   16  158% 251%  0.0% 0 0 0%
Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 16384 (LWP 5728)]
0x0816bafd in mpeg2_set_buf (mpeg2dec=0x86996c0, buf=0x86a1538, id=0x86a1518)
    at decode.c:383
383         if (mpeg2dec->custom_fbuf && !mpeg2dec->fbuf[1]->buf[0]){
(gdb) bt
#0  0x0816bafd in mpeg2_set_buf (mpeg2dec=0x86996c0, buf=0x86a1538, 
    id=0x86a1518) at decode.c:383
#1  0x081122ef in decode (sh=0x8699610, data=0x3, len=141169944, flags=0)
    at vd_libmpeg2.c:147
#2  0x0810e026 in decode_video (sh_video=0x8699610, start=0x86a1518 "", 
    in_size=141169944, drop_frame=0) at dec_video.c:304
#3  0x08094d3a in main (argc=9, argv=0xbffff764) at mplayer.c:2091
(gdb) 

Zoli




More information about the MPlayer-advusers mailing list