[MPlayer-users] 2 Bugs [?]

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Wed Mar 12 08:17:11 CET 2003


On Tue, 11 Mar 2003, Balatoni Denes wrote:

BD>I wonder if it's possible to upload a sample of something+commandline
BD>etc, in case somebody wants to check.

Commandline is simple - '-oac copy -ovc copy -forceidx', with or without
-ni. Uploading sample isn't possible, it would be > 40m. However, I
compiled mencoder with --enable-debug=3 and this shows more complete and
slightly different result.

Problem seems to be somewhere in -forceidx - without it everything works
perfectly, with it there is a crash.

Hm.. Messages 'ds_fill_buffer: EOF reached (stream: audio)' seems to be
related to non-interleaved ...

Glibc: 2.3.1
Gcc version:
Reading specs from /usr/lib/gcc-lib/i386-asplinux-linux/3.2.1/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-asplinux-linux
Thread model: posix
gcc version 3.2.1 20021125 (ASPLinux 8.0 3.2.1-1asp)
Binutils: 2.13.90.0.2 20020802

Here is mencoder output:

Pos: 314,3s   7857f (67%) 2877fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0Pos: 314,3s   7858f (67%) 2877fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0Pos: 314,4s   7859f (67%) 2878fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0Pos: 314,4s   7860f (67%) 2868fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 314,4s   7861f (67%) 2868fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0Pos: 314,5s   7862f (67%) 2868fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0Pos: 314,5s   7863f (67%) 2869fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 314,6s   7864f (67%) 2869fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 314,6s   7865f (67%) 2869fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 314,6s   7866f (67%) 2870fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 314,7s   7867f (67%) 2870fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 314,7s   7868f (67%) 2870fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 314,8s   7869f (67%) 2870fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 314,8s   7870f (67%) 2870fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 314,8s   7871f (67%) 2871fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 314,9s   7872f (67%) 2871fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 314,9s   7873f (67%) 2871fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 315,0s   7874f (67%) 2872fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 315,0s   7875f (67%) 2872fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  
Pos: 315,0s   7876f (67%) 2872fps Trem:   0min  55mb  A-V:0,040 [931:64] A/Vms 0ds_fill_buffer: EOF reached (stream: audio)  

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 31550)]
0x081052df in new_demux_packet (len=1414012516) at demuxer.h:149
149       if(len) memset(dp->buffer+len,0,8);
(gdb) bt
#0  0x081052df in new_demux_packet (len=1414012516) at demuxer.h:149
#1  0x08102917 in ds_read_packet (ds=0x838a210, stream=0x54481e64, 
    len=137930000, pts=315.040009, pos=15752, flags=0) at demuxer.c:251
#2  0x080fda76 in demux_avi_read_packet (demux=0x8389940, ds=0x838a210, 
    id=1667510320, len=1414012516, idxpos=1414012516, flags=1414012516)
    at demux_avi.c:163
#3  0x080feaa3 in demux_avi_fill_buffer_ni (demux=0x8389940, ds=0x838a210)
    at demux_avi.c:359
#4  0x08102c7f in ds_fill_buffer (ds=0x838a210) at demuxer.c:387
#5  0x08103048 in ds_get_packet (ds=0x838a210, start=0xbfffe4c0)
    at demuxer.c:461
#6  0x080fa4e7 in video_read_frame (sh_video=0x838a380, 
    frame_time_ptr=0xbfffe4c4, start=0xbfffe4c0, force_fps=0) at video.c:371
#7  0x0806551f in main (argc=1414012516, argv=0x54481e64) at mencoder.c:1017
#8  0x42015a77 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x81052bf to 0x81052ff:
0x81052bf <new_demux_packet+63>:        add    %al,0xc73089f6(%ebp)
0x81052c5 <new_demux_packet+69>:        inc    %eax
0x81052c6 <new_demux_packet+70>:        sbb    %al,(%ecx)
0x81052c8 <new_demux_packet+72>:        add    %al,(%eax)
0x81052ca <new_demux_packet+74>:        add    %al,%bh
0x81052cc <new_demux_packet+76>:        inc    %eax
0x81052cd <new_demux_packet+77>:        sbb    $0x0,%al
0x81052cf <new_demux_packet+79>:        add    %al,(%eax)
0x81052d1 <new_demux_packet+81>:        add    %dh,0x22(%ebp)
0x81052d4 <new_demux_packet+84>:        xor    %eax,%eax
0x81052d6 <new_demux_packet+86>:        test   %esi,%esi
0x81052d8 <new_demux_packet+88>:        mov    %eax,0x10(%ebx)
0x81052db <new_demux_packet+91>:        je     0x81052ec <new_demux_packet+108>
0x81052dd <new_demux_packet+93>:        add    %esi,%eax
0x81052df <new_demux_packet+95>:        movl   $0x0,(%eax)
0x81052e5 <new_demux_packet+101>:       movl   $0x0,0x4(%eax)
0x81052ec <new_demux_packet+108>:       mov    %ebx,%eax
0x81052ee <new_demux_packet+110>:       mov    0xfffffffc(%ebp),%esi
0x81052f1 <new_demux_packet+113>:       mov    0xfffffff8(%ebp),%ebx
0x81052f4 <new_demux_packet+116>:       leave  
0x81052f5 <new_demux_packet+117>:       ret    
0x81052f6 <new_demux_packet+118>:       lea    0x8(%esi),%eax
0x81052f9 <new_demux_packet+121>:       mov    %eax,(%esp,1)
0x81052fc <new_demux_packet+124>:       call   0x80639f4 <malloc>
End of assembler dump.
(gdb) info all-registers
eax            0x54481e64       1414012516
ecx            0xd00020 13631520
edx            0x1      1
ebx            0x838a510        137930000
esp            0xbfffe150       0xbfffe150
ebp            0xbfffe168       0xbfffe168
esi            0x54481e64       1414012516
edi            0x54481e64       1414012516
eip            0x81052df        0x81052df
eflags         0x210202 2163202
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x7      7
st0            -nan(0xb8980327fa878b83) (raw 0xffffb8980327fa878b83)
st1            -nan(0xc5d98e808611c448) (raw 0xffffc5d98e808611c448)
st2            -0.079999999999999999998373696741271743  (raw 0xbffba3d70a3d70a3d70a)
st3            2523276  (raw 0x40149a02300000000000)
st4            0.67850813014632871400522162730339915    (raw 0x3ffeadb2b5750c70a000)
st5            7876     (raw 0x400bf620000000000000)
st6            315.0400000000000000077715611723761      (raw 0x40079d851eb851eb851f)
st7            315.040008544921875      (raw 0x40079d851f0000000000)
fctrl          0x37f    895
fstat          0x20     32
---Type <return> to continue, or q <return> to quit---
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
xmm0           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm1           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm2           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm4           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm6           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm7           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), 
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
mxcsr          0x1f80   8064
orig_eax       0xffffffff       -1


-- 

Vladimir



More information about the MPlayer-users mailing list