[Mplayer-dev-eng] MPlayer SIG11 on seek with unknown codec

Gabucino gabucino at k2.jozsef.kando.hu
Fri Aug 24 11:38:57 CEST 2001


It's the Question that drives us, Arpi :
> recompile with -g before using gdb...
> in other words:
>   RTFM DOCS/bugreports.* -- Gabucino :)
Yes. And this problem exists here, I converted az mpeg1 to divx with
ffmpeg, without audio (fucken piece of code - doesn't detect the mpeg1
video or audio stream, depends on file.. should I write to ffmpeg-devel or
this is a know weakness?).. Nah compiling with -g ..

Meanwhile.. ;) What program can multiplex audio+video streams in one AVI on
Linux ? I don't feel starting vmware...

Reading /home/gabucino/.mplayer/codecs.conf: 15 audio & 34 video codecs
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (495 chars)
Detected AVI file format!
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
AVI_NI: No audio stream found -> nosound
AVI: No Audio stream found...  ->nosound
VIDEO:  [DIV3]  352x288  24bpp  25.00 fps  -17179870.0 kbps (-2097152.0 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:352x288  fps:25.00  ftime:=0.0400
Trying to force video codec driver family 3 ...
Detected video codec: [odivx] drv:3 (OpenDivX (MPEG-4 v2))
vo: X11 running at 800x600 depth: 32 (":0.0" => local display)
VO: [xmga] 352x288 => 800x654 Planar YV12 fs 
Audio: no sound
Start playing...
A: ---   V:   0.0    6%  0.0% 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 9777)]
0x080c6b9e in vo_draw_alpha_yv12 (w=603979776, h=-9, 
    src=0xbdcff <Address 0xbdcff out of bounds>, srca=0x0, srcstride=0, 
    dstbase=0x0, dststride=-2356480) at osd.c:22
22                  if(srca[x]) dstbase[x]=((dstbase[x]*srca[x])>>8)+src[x];
(gdb) bt
#0  0x080c6b9e in vo_draw_alpha_yv12 (w=603979776, h=-9, 
    src=0xbdcff <Address 0xbdcff out of bounds>, srca=0x0, srcstride=0, 
    dstbase=0x0, dststride=-2356480) at osd.c:22
#1  0x0003d6e1 in ?? ()
(gdb)  disass $eip-32 $eip+32                                                         
Dump of assembler code from 0x80c6b7e to 0x80c6bbe:
0x80c6b7e <vo_draw_alpha_yv12+42>:      and    $0x18,%al
0x80c6b80 <vo_draw_alpha_yv12+44>:      mov    %edx,0x1c(%esp,1)
0x80c6b84 <vo_draw_alpha_yv12+48>:      mov    0x48(%esp,1),%edx
0x80c6b88 <vo_draw_alpha_yv12+52>:      add    %ebx,%edx
0x80c6b8a <vo_draw_alpha_yv12+54>:      mov    %edx,0x14(%esp,1)
0x80c6b8e <vo_draw_alpha_yv12+58>:      cmp    0x30(%esp,1),%ecx
0x80c6b92 <vo_draw_alpha_yv12+62>:      
    jge    0x80c6bb7 <vo_draw_alpha_yv12+99>
0x80c6b94 <vo_draw_alpha_yv12+64>:      cmpb   $0x0,(%ecx,%esi,1)
0x80c6b98 <vo_draw_alpha_yv12+68>:      
    je     0x80c6bb0 <vo_draw_alpha_yv12+92>
0x80c6b9a <vo_draw_alpha_yv12+70>:      movzbl (%ecx,%esi,1),%edx
0x80c6b9e <vo_draw_alpha_yv12+74>:      movzbl (%ecx,%ebx,1),%eax
0x80c6ba2 <vo_draw_alpha_yv12+78>:      imul   %edx,%eax
0x80c6ba5 <vo_draw_alpha_yv12+81>:      mov    (%ecx,%edi,1),%dl
0x80c6ba8 <vo_draw_alpha_yv12+84>:      sar    $0x8,%eax
0x80c6bab <vo_draw_alpha_yv12+87>:      add    %al,%dl
0x80c6bad <vo_draw_alpha_yv12+89>:      mov    %dl,(%ecx,%ebx,1)
0x80c6bb0 <vo_draw_alpha_yv12+92>:      inc    %ecx
0x80c6bb1 <vo_draw_alpha_yv12+93>:      cmp    0x30(%esp,1),%ecx
0x80c6bb5 <vo_draw_alpha_yv12+97>:      
    jl     0x80c6b94 <vo_draw_alpha_yv12+64>
0x80c6bb7 <vo_draw_alpha_yv12+99>:      mov    %ebp,%edi
0x80c6bb9 <vo_draw_alpha_yv12+101>:     mov    0x1c(%esp,1),%esi
0x80c6bbd <vo_draw_alpha_yv12+105>:     mov    0x14(%esp,1),%ebx
(gdb) printf "eax=%08lX\n",$eax
eax=00000019
(gdb)  printf "ebx=%08lX\n",$ebx                                                      
ebx=40C60001
(gdb)  printf "ecx=%08lX\n",$ecx                                                      
ecx=00000004
(gdb)  printf "edx=%08lX\n",$edx                                                      
edx=000000FB
(gdb)  printf "esp=%08lX\n",$esp                                                      
esp=BFFFF490
(gdb)  printf "ebp=%08lX\n",$ebp                                                      
ebp=0815957F
(gdb)  printf "edi=%08lX\n",$edi                                                      
edi=08159522
(gdb)  printf "esi=%08lX\n",$esi                                                      
esi=0815855A

It also segfaults when -vo x11 -vfm 4 , but then it's ofcoz at rgb :
(gdb) bt
#0  0x080c6d60 in vo_draw_alpha_rgb32 (w=603979776, h=-9, 
    src=0xbdcff <Address 0xbdcff out of bounds>, srca=0x0, srcstride=0, 
    dstbase=0x0, dststride=-2356480) at osd.c:87
#1  0xffffebcc in ?? ()

-- 
Gabucino
-------------- 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/20010824/adb8ae88/attachment.pgp>


More information about the MPlayer-dev-eng mailing list