[MPlayer-dev-eng] [BUG] SIGABRT in vd_ffmpeg.c:391

gabucino at mplayerhq.hu gabucino at mplayerhq.hu
Fri Sep 20 11:21:01 CEST 2002


I'll present three cases.

=========
Case #1:
=========

(gdb) run /mnt/1/Antitrust.avi -vo xv -vop expand=1024:-1
Starting program: /home/gabucino/mplayer/src/./mplayer /mnt/1/Antitrust.avi -vo xv -vop expand=1024:-1
[New Thread 1024 (LWP 450)]


MPlayer CVS-020920-10:03-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading /home/gabucino/.mplayer/codecs.conf: 38 audio & 106 video codecs
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Could not access the 'termcap' data base.
Input config file /home/gabucino/.mplayer/input.conf parsed : 50 binds

Playing /mnt/1/Antitrust.avi
Cache fill:  0.00% (0 bytes)    Detected AVI file format!
VIDEO:  [DIV3]  640x272  24bpp  23.98 fps  845.3 kbps (103.2 kbyte/s)
Clip info: 
 Software: MEncoder CVS-020915-22:13-2.95.3 
SUB: Detected sub file: /home/gabucino/.mplayer/sub/Antitrust.ssa
SUB: Detected subtitle file format: ssa
SUB: Read 1135 subtitles.
SUB: Adjusted 831 subtitle(s).
==========================================================================
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->176400 (128.0 kbit)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Opening video filter: [expand=1024:-1]
Expand: 1024 x -1, -1 ; -1  (-1=autodetect) osd: 16779269
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Detected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Start playing...
VDec: vo config request - 640 x 272 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1024x272 => 1024x272 Planar YV12  [fs]
mplayer: vd_ffmpeg.c:391: get_buffer: Assertion `mpi->planes[0] > mpi->planes[2] || mpi->planes[0] + y_size <= mpi->planes[2]' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 1024 (LWP 450)]
0x404f0991 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x404f0991 in kill () from /lib/libc.so.6
#1  0x4033fe3f in pthread_kill () from /lib/libpthread.so.0
#2  0x4034030e in raise () from /lib/libpthread.so.0
#3  0x404f1e31 in abort () from /lib/libc.so.6
#4  0x404eab12 in Letext () from /lib/libc.so.6
#5  0x80ac817 in get_buffer ()
#6  0x32315659 in ?? ()
Cannot access memory at address 0xc03a31b
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x404f0971 to 0x404f09b1:
0x404f0971 <sigprocmask+161>:   (bad)  
0x404f0972 <sigprocmask+162>:   (bad)  
0x404f0973 <sigprocmask+163>:   (bad)  
0x404f0974 <sigprocmask+164>:   decl   0x5f5e5bf0(%ecx)
0x404f097a <sigprocmask+170>:   mov    %ebp,%esp
0x404f097c <sigprocmask+172>:   pop    %ebp
0x404f097d <sigprocmask+173>:   ret    
0x404f097e <Letext>:    mov    %esi,%esi
0x404f0980 <kill>:      mov    %ebx,%edx
0x404f0982 <kill+2>:    mov    0x8(%esp,1),%ecx
0x404f0986 <kill+6>:    mov    0x4(%esp,1),%ebx
0x404f098a <kill+10>:   mov    $0x25,%eax
0x404f098f <kill+15>:   int    $0x80
0x404f0991 <kill+17>:   mov    %edx,%ebx
0x404f0993 <kill+19>:   cmp    $0xfffff001,%eax
0x404f0998 <kill+24>:   jae    0x404f099b <kill+27>
0x404f099a <kill+26>:   ret    
0x404f099b <kill+27>:   push   %ebx
0x404f099c <kill+28>:   call   0x404f09a1 <kill+33>
0x404f09a1 <kill+33>:   pop    %ebx
0x404f09a2 <kill+34>:   xor    %edx,%edx
0x404f09a4 <kill+36>:   add    $0xf1fcb,%ebx
0x404f09aa <kill+42>:   sub    %eax,%edx
0x404f09ac <kill+44>:   push   %edx
0x404f09ad <kill+45>:   call   0x404df288 <Cacc+122852>
End of assembler dump.


=========
Case #2:
=========

mplayer /mnt/1/Antitrust.avi -vo xv -vop expand=700:500

MPlayer CVS-020915-22:13-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
Reading /home/gabucino/.mplayer/codecs.conf: 38 audio & 106 video codecs
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Could not access the 'termcap' data base.
Input config file /home/gabucino/.mplayer/input.conf parsed : 50 binds

Playing /mnt/1/Antitrust.avi
Cache fill:  0.00% (0 bytes)    Detected AVI file format!
VIDEO:  [DIV3]  640x272  24bpp  23.98 fps  845.3 kbps (103.2 kbyte/s)
Clip info: 
 Software: MEncoder CVS-020915-22:13-2.95.3 
SUB: Detected sub file: /home/gabucino/.mplayer/sub/Antitrust.ssa
SUB: Detected subtitle file format: ssa
SUB: Read 1135 subtitles.
SUB: Adjusted 831 subtitle(s).
==========================================================================
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->176400 (128.0 kbit)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Opening video filter: [expand=700:500]
Expand: 700 x 500, -1 ; -1  (-1=autodetect) osd: 16779269
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Detected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Start playing...
VDec: vo config request - 640 x 272 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 700x500 => 700x500 Planar YV12  [fs]
A:  38.5 V:  38.5 A-V:  0.028 ct:  0.140  924/924  42% 51%  4.1% 206 0 48%
Exiting... (Quit)

The playing is a big mess, black macroblocks appear and slowly cover the
image until the next keyframe. If I try to seek, SIGABRT comes just as
in case #1.


=========
Case #3:
=========

Now, if I add -noautosub to disable subtitles, the black macroblocks still
appear, but MPlayer won't die on seeking.

Gimme a hint.

-- 
Gabucino

/ Worshipping Niedermayer 4ever /
"Do you always look at it encoded?" (C) D. R. F.
"minden lehet. ez nem." (c) A'rpi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020920/0dd16254/attachment.pgp>


More information about the MPlayer-dev-eng mailing list