[MPlayer-dev-eng] libmpeg2 strange sig11

Felix Buenemann atmosfear at users.sourceforge.net
Thu Apr 4 15:23:29 CEST 2002


On Thursday 04 April 2002 15:20, Arpi wrote:
> Hi,
>
> > Hi,
> >
> > with mplayer current cvs I get some sig11 in libmpeg12 at start of file:
> >
> > mplayer-dev ~/download/samples/Lenny.Kravitz-American.Woman.vob -vo xv
> > -nosound -benchmark -frames 1000 -nodr -slices
> >
> > *** Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
> > [xv] dcx: 4 dcy: 20 dx: 0 dy: 0 dw: 1016 dh: 576
> > *** Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
> > @@@ libmpeg2 returned from sig11... (bad file?) @@@
>
> what about rtfm docs/bugreports.html ?
> and include gdb backtrace and such stuff...
> and upload file
>
> i can't reproduce.

OK, here you go:
file is uploading to mphq/.../libmpeg12sig11/ it's about 150MB so will need 
some time, but it's worth downloading for the chicks =))))

(gdb) r /home/atmosfear/download/samples/Lenny.Kravitz-American.Woman.vob -v 
-vo xv -slices -nodr

Starting program: /home/atmosfear/develop/mplayer/main/mplayer 
/home/atmosfear/download/samples/Lenny.Kravitz-American.Woman.vob -v -vo xv 
-slices -nodr
[New Thread 1024 (LWP 17372)]


MPlayer CVS-020404-03:21-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 SSE
/home/atmosfear/.mplayer/config(2): option: screenw
/home/atmosfear/.mplayer/config(2): parameter: 1024
/home/atmosfear/.mplayer/config(3): option: screenh
/home/atmosfear/.mplayer/config(3): parameter: 768
/home/atmosfear/.mplayer/config(4): option: cache
/home/atmosfear/.mplayer/config(4): parameter: 8192
/home/atmosfear/.mplayer/config(5): option: vo
/home/atmosfear/.mplayer/config(5): parameter: sdl
Reading /home/atmosfear/.mplayer/codecs.conf: 30 audio & 80 video codecs
CommandLine: 
'/home/atmosfear/download/samples/Lenny.Kravitz-American.Woman.vob' '-v' 
'-vo' 'xv' '-slices' '-nodr'
get_path('font/font.desc') -> '/home/atmosfear/.mplayer/font/font.desc'
font: can't open file: /home/atmosfear/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/atmosfear/.mplayer/input.conf'
Can't open input config file /home/atmosfear/.mplayer/input.conf : No such 
file or directory
Falling back on default (hardcoded) config
Playing /home/atmosfear/download/samples/Lenny.Kravitz-American.Woman.vob
Can't open IFO file: No such file or directory
Not an URL!
File size is 148664320 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill:  0.00% (0 bytes)    Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8354b28
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8354b28
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8354b28
Checking for MOV
DEMUXER: freeing demuxer at 0x8354b28
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x8354b28
Checking for REAL
DEMUXER: freeing demuxer at 0x8354b28
DEMUXER: freeing demuxer at 0x8354b28
DEMUXER: freeing demuxer at 0x8354b28
DEMUXER: freeing demuxer at 0x8354b28
DEMUXER: freeing demuxer at 0x8354b28
DEMUXER: freeing demuxer at 0x8354b28
system stream synced at 0xD (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  12225.0 kbps (1528.1 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/atmosfear/.mplayer/sub/'
Detected audio codec: [a52] drv:14 (AC3-liba52)
Initializing audio codec...
Selecting Audio Decoder: [liba52] AC3-liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using SSE optimized IMDCT transform
AC3: 2.0 (dolby)  48000 Hz  320.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 40000->192000
==========================================================================
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576, Mpeg PES
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 576, Planar YV12
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
video_out->init(720x576->1024x576,flags=0,'MPlayer',0x32315659)
X11 opening display: :0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0" => local 
display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x36315652 (RV16) packed
Xvideo image format: 0x35315652 (RV15) packed
Xvideo image format: 0x31313259 (Y211) packed
using Xvideo port 50 for hw scaling
[xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 576
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 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 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  64/64  (1024 bytes/frag)  free:  65536
Start playing...
*** Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
X11 Window 4x20-1024x576
X11 Window 4x20-1016x576
[xv] dcx: 4 dcy: 20 dx: 0 dy: 0 dw: 1016 dh: 576
*** Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes0 0 61%

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 17372)]
MC_put_16_mmxext (dest=0x40e6f040 "", ref=0x0, stride=720, height=16) at 
motion_comp_mmx.c:558
558             movq_m2r (*ref, mm0);
(gdb) bt
#0  MC_put_16_mmxext (dest=0x40e6f040 "", ref=0x0, stride=720, height=16) at 
motion_comp_mmx.c:558
#1  0x080a44fb in motion_fr_frame (picture=0x8386de8, motion=0x8386ea4, 
dest=0xbfffe52c, offset=0, stride=720, table=0x824a000)
    at slice.c:1069
#2  0x080a8eb0 in slice_process (picture=0x8386de8, code=1 '\001',
    buffer=0x40c3e01e 
"ZW+\225Êår¹\\®W+\225Êår¹\\®W+\225Êår¹\\®W+\225Êår¹\\®W+\225Êår¹\\®W+\225Êå`") 
at slice.c:1670
#3  0x080820bd in parse_chunk (sh=0x8356798, code=1,
    buffer=0x40c3e01e 
"ZW+\225Êår¹\\®W+\225Êår¹\\®W+\225Êår¹\\®W+\225Êår¹\\®W+\225Êår¹\\®W+\225Êå`", 
framedrop=0) at vd_libmpeg2.c:198
#4  0x08082202 in decode (sh=0x8356798, data=0x40c3e008, len=2056, flags=0) at 
vd_libmpeg2.c:261
#5  0x0807fed2 in decode_video (video_out=0x81ab480, sh_video=0x8356798, 
start=0x40c3e008 "", in_size=2056, drop_frame=0) at dec_video.c:165
#6  0x0805093e in main (argc=7, argv=0xbffff8a4, envp=0xbffff8c4) at 
mplayer.c:1505
#7  0x4025ddf9 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x80a2480 to 0x80a24c0:
0x80a2480 <MC_avg_8_mmxext+28>: fmuls  0x75(%ecx)
0x80a2483 <MC_avg_8_mmxext+31>: lock pop %ebx
0x80a2485 <MC_avg_8_mmxext+33>: mov    %ebp,%esp
0x80a2487 <MC_avg_8_mmxext+35>: pop    %ebp
0x80a2488 <MC_avg_8_mmxext+36>: ret
0x80a2489 <MC_avg_8_mmxext+37>: lea    0x0(%esi),%esi
0x80a248c <MC_put_16_mmxext>:   push   %ebp
0x80a248d <MC_put_16_mmxext+1>: mov    %esp,%ebp
0x80a248f <MC_put_16_mmxext+3>: push   %ebx
0x80a2490 <MC_put_16_mmxext+4>: mov    0x10(%ebp),%ebx
0x80a2493 <MC_put_16_mmxext+7>: mov    0x14(%ebp),%ecx
0x80a2496 <MC_put_16_mmxext+10>:        mov    0x8(%ebp),%edx
0x80a2499 <MC_put_16_mmxext+13>:        mov    0xc(%ebp),%eax
0x80a249c <MC_put_16_mmxext+16>:        lea    0x0(%esi,1),%esi
0x80a24a0 <MC_put_16_mmxext+20>:        movq   (%eax),%mm0
0x80a24a3 <MC_put_16_mmxext+23>:        movq   0x8(%eax),%mm1
0x80a24a7 <MC_put_16_mmxext+27>:        add    %ebx,%eax
0x80a24a9 <MC_put_16_mmxext+29>:        movq   %mm0,(%edx)
0x80a24ac <MC_put_16_mmxext+32>:        movq   %mm1,0x8(%edx)
0x80a24b0 <MC_put_16_mmxext+36>:        add    %ebx,%edx
0x80a24b2 <MC_put_16_mmxext+38>:        dec    %ecx
0x80a24b3 <MC_put_16_mmxext+39>:        jne    0x80a24a0 <MC_put_16_mmxext+20>
0x80a24b5 <MC_put_16_mmxext+41>:        pop    %ebx
0x80a24b6 <MC_put_16_mmxext+42>:        mov    %ebp,%esp
0x80a24b8 <MC_put_16_mmxext+44>:        pop    %ebp
0x80a24b9 <MC_put_16_mmxext+45>:        ret
0x80a24ba <MC_put_16_mmxext+46>:        mov    %esi,%esi
0x80a24bc <MC_put_8_mmxext>:    push   %ebp
0x80a24bd <MC_put_8_mmxext+1>:  mov    %esp,%ebp
0x80a24bf <MC_put_8_mmxext+3>:  push   %ebx
End of assembler dump.
(gdb) p $eax
$1 = 0
(gdb) p $ebx
$2 = 720
(gdb) p $ecx
$3 = 16
(gdb) p $edx
$4 = 1088876608
(gdb) p $ebp
$5 = (void *) 0xbfffe408
(gdb) p $esp
$6 = (void *) 0xbfffe404
(gdb) p $esi
$7 = 0

hope I didn't forget anything, system is my usual PIII 850 laptop, i440BX, 
256MB PC100 SDRAM, Linux 2.4.18, config.h attached.

>
>
> A'rpi / Astral & ESP-team

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h
Type: text/x-chdr
Size: 8345 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020404/ea27dabb/attachment.h>


More information about the MPlayer-dev-eng mailing list