[MPlayer-users] Mencoder crashes in the second pass

Wilfred de Bondt wilfred at cambridgelaan.nl
Fri Nov 5 20:40:54 CET 2004


Hi all,

Unfortunately mencoder crashes in the second pass.
The commands runs were.

mencoder -vf crop=704:352:8:112,scale=640:304 -sws 2 -oac mp3lame
-lameopts preset=standard -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1350:trell:mv0:mbd=2:v4mv:qprd:cmp=3:subcmp=3:mbcmp=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:vpass=1:turbo
-dvd-device /mnt/loop dvd://1 -o showgirls.avi

after that

mencoder -vf crop=704:352:8:112,scale=640:304 -sws 2 -oac mp3lame
-lameopts preset=s tandard -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1350:trell:mv0:mbd=2:v4mv:qprd:cmp=3:subcmp=3:mbcmp=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:vpass=2
-dvd-device /mnt/loop dvd://1 -o showgirls.avi

then it crashes. :-(

System information

I am running Debian unstable updated regularly.

wilfred at piccolo:films$ uname -a
Linux piccolo 2.6.9 #1 Tue Oct 19 16:13:32 CEST 2004 i686 GNU/Linux

wilfred at piccolo:films$ ls -l /lib/libc[.-]*
-rw-r--r--  1 root root 1244080 2004-10-13 21:40 /lib/libc-2.3.2.so
lrwxr-xr-x  1 root root      13 2004-10-15 17:05 /lib/libc.so.6 -> libc-2.3.2.so

wilfred at piccolo:films$ gcc -v
Reading specs from /usr/lib/gcc/i486-linux/3.4.2/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr 
--libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared 
--with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 
--enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --disable-werror 
i486-linux
Thread model: posix
gcc versie 3.4.2 (Debian 3.4.2-3)

wilfred at piccolo:films$ ld -v
GNU ld version 2.15

wilfred at piccolo:films$ as --version
GNU assembler 2.15

(gdb) bt
#0  0xb79cded9 in raise () from /lib/tls/libc.so.6
#1  0xb7adbfcc in ?? () from /lib/tls/libc.so.6
#2  0x08422504 in __PRETTY_FUNCTION__.1 ()
#3  0xb79cf771 in abort () from /lib/tls/libc.so.6
#4  0x00000000 in ?? ()
#5  0x00000020 in ?? ()
#6  0x00000000 in ?? ()
#7  0x00000000 in ?? ()
#8  0x00000000 in ?? ()
#9  0x00000000 in ?? ()
#10 0x00000000 in ?? ()
#11 0x00000000 in ?? ()
#12 0x00000000 in ?? ()
#13 0x00000000 in ?? ()
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000000 in ?? ()
#18 0x00000000 in ?? ()
#19 0x00000000 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x00000000 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0x00000000 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000000 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x00000000 in ?? ()
#37 0xb7a133e9 in _IO_file_write () from /lib/tls/libc.so.6
#38 0xb7a1260f in _IO_do_write () from /lib/tls/libc.so.6
#39 0xb7a13567 in _IO_file_xsputn () from /lib/tls/libc.so.6
#40 0xb7adbfcc in ?? () from /lib/tls/libc.so.6
#41 0xb7adc940 in __after_morecore_hook () from /lib/tls/libc.so.6
#42 0x0868ea18 in ?? ()
#43 0xbfffdf18 in ?? ()
#44 0xb7a182a0 in free () from /lib/tls/libc.so.6
#45 0xb7adc940 in __after_morecore_hook () from /lib/tls/libc.so.6
#46 0x0868ea18 in ?? ()
#47 0xb7adbfcc in ?? () from /lib/tls/libc.so.6
#48 0xb7adbfcc in ?? () from /lib/tls/libc.so.6
#49 0x0868ea18 in ?? ()
#50 0xb79c7443 in __assert_fail () from /lib/tls/libc.so.6
#51 0xbffff7a4 in ?? ()
#52 0xb7acbd5e in in6addr_loopback () from /lib/tls/libc.so.6
#53 0x08422455 in icos36 ()
#54 0x0000027b in ?? ()
#55 0x08422504 in __PRETTY_FUNCTION__.1 ()
#56 0xb7acbd5e in in6addr_loopback () from /lib/tls/libc.so.6
#57 0x08422294 in icos36 ()
#58 0x0868ea18 in ?? ()
#59 0x08422455 in icos36 ()
#60 0x0000027b in ?? ()
#61 0x0826ada1 in ff_rate_estimate_qscale (s=0x0) at ratecontrol.c:694
Previous frame inner to this frame (corrupt stack?)

(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xb79cdeb9 to 0xb79cdef9:
0xb79cdeb9 <raise+41>:  int    $0x80
0xb79cdebb <raise+43>:  mov    %eax,%ecx
0xb79cdebd <raise+45>:  mov    %eax,%gs:0x48
0xb79cdec3 <raise+51>:  mov    %eax,%gs:0x1dc
0xb79cdec9 <raise+57>:  mov    %gs:0x1dc,%edi
0xb79cded0 <raise+64>:  xchg   %ebx,%edi
0xb79cded2 <raise+66>:  mov    $0x10e,%eax
0xb79cded7 <raise+71>:  int    $0x80
0xb79cded9 <raise+73>:  xchg   %edi,%ebx
0xb79cdedb <raise+75>:  cmp    $0xfffff000,%eax
0xb79cdee0 <raise+80>:  mov    %eax,%ecx
0xb79cdee2 <raise+82>:  ja     0xb79cdef1 <raise+97>
0xb79cdee4 <raise+84>:  mov    (%esp),%ebx
0xb79cdee7 <raise+87>:  mov    %ecx,%eax
0xb79cdee9 <raise+89>:  mov    0x4(%esp),%edi
0xb79cdeed <raise+93>:  add    $0x8,%esp
0xb79cdef0 <raise+96>:  ret
0xb79cdef1 <raise+97>:  mov    %gs:0x0,%eax
0xb79cdef7 <raise+103>: neg    %ecx
End of assembler dump.

(gdb) info all-registers
eax            0x0      0
ecx            0x30b7   12471
edx            0x6      6
ebx            0x30b7   12471
esp            0xbfffdc28       0xbfffdc28
ebp            0xbfffdf18       0xbfffdf18
esi            0x0      0
edi            0xb7adbfcc       -1213349940
eip            0xb79cded9       0xb79cded9
eflags         0x206    518
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
st0            -nan(0x1000000010000)    (raw 0xffff0001000000010000)
st1            -nan(0xfff5a0d800179454) (raw 0xfffffff5a0d800179454)
st2            -nan(0x100000003)        (raw 0xffff0000000100000003)
st3            -nan(0x10006fffa0013)    (raw 0xffff00010006fffa0013)
st4            0.66666666666666673325475009348473066    (raw 0x3ffeaaaaaaaaaaaaaf77)
st5            95840.207141346152141636594024021178     (raw 0x400fbb301a839b8dafba)
st6            0        (raw 0x00000000000000000000)
st7            0        (raw 0x00000000000000000000)
fctrl          0x37f    895
fstat          0x22     34
ftag           0xffff   65535
fiseg          0x73     115
fioff          0x826a235        136749621
foseg          0x7b     123
fooff          0xbfffde90       -1073750384
fop            0x59d    1437
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,
    0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
mxcsr          0x1f80   8064
mm0            {uint64 = 0x1000000010000, v2_int32 = {0x10000, 0x10000}, v4_int16 = {0x0,
    0x1, 0x0, 0x1}, v8_int8 = {0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1, 0x0}}
mm1            {uint64 = 0xfff5a0d800179454, v2_int32 = {0x179454, 0xfff5a0d8},
  v4_int16 = {0x9454, 0x17, 0xa0d8, 0xfff5}, v8_int8 = {0x54, 0x94, 0x17, 0x0, 0xd8,
    0xa0, 0xf5, 0xff}}
mm2            {uint64 = 0x100000003, v2_int32 = {0x3, 0x1}, v4_int16 = {0x3, 0x0, 0x1,
    0x0}, v8_int8 = {0x3, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0}}
mm3            {uint64 = 0x10006fffa0013, v2_int32 = {0xfffa0013, 0x10006}, v4_int16 = {
    0x13, 0xfffa, 0x6, 0x1}, v8_int8 = {0x13, 0x0, 0xfa, 0xff, 0x6, 0x0, 0x1, 0x0}}
mm4            {uint64 = 0xaaaaaaaaaaaaaf77, v2_int32 = {0xaaaaaf77, 0xaaaaaaaa},
  v4_int16 = {0xaf77, 0xaaaa, 0xaaaa, 0xaaaa}, v8_int8 = {0x77, 0xaf, 0xaa, 0xaa, 0xaa,
    0xaa, 0xaa, 0xaa}}
mm5            {uint64 = 0xbb301a839b8dafba, v2_int32 = {0x9b8dafba, 0xbb301a83},
  v4_int16 = {0xafba, 0x9b8d, 0x1a83, 0xbb30}, v8_int8 = {0xba, 0xaf, 0x8d, 0x9b, 0x83,
    0x1a, 0x30, 0xbb}}
mm6            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0},
  v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0},
  v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}

I hope this information is of use to the developers.

Sincerely,

Wilfred de Bondt

-- 
Why postpone until tomorrow what you can postpone indefinitely




More information about the MPlayer-users mailing list