[MPlayer-users] MEncoder segmentation fault with yadif and mcdeint
dandjo at gmx.at
dandjo at gmx.at
Sat Mar 1 14:09:06 CET 2008
Guillaume wrote:
>Hello,
>
>dandjo at gmx.at wrote:
>>Hi,
>>
>>I get segmentation faults with -vf yadif=3,mdeint=2 and also with -vf
>yadif=3:1,mcdeint=2:1:10 and all possible variations with the latest trunk
>from subversion. Is this due to my configuration (Mac OS X 10.5.2, x264,
>faac, freetype, fontconfig) or a known issue?
>
>I don't think so. Please submit a full bug report with a gdb
>backtrace, as explained here:
>http://www.mplayerhq.hu/DOCS/HTML/en/bugreports.html
>
>Guillaume
Hi, here's my bugreport. I hope it is complete enough.
uname -a:
Darwin xxx.local 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb 5 16:13:22 PST 2008; root:xnu-1228.3.13~1/RELEASE_I386 i386
libc:
Xcode 3.0
gcc -v:
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)
ld -v:
@(#)PROGRAM:ld PROJECT:ld64-77
as -version:
Apple Computer, Inc. version cctools-667.3~21, GNU assembler version 1.38
CPU Info:
Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6, Model: 15, Stepping: 6)
Video card:
Intel GMA 950 graphics processor (64MB of DDR2 SDRAM shared with main memory)
Unfortunately, MPlayer doesn't compile with "./configure --enable-debug=3", so I hope this is enough information (exits with Error2). I also didn't manage to follow the instructions with gdb. The instructions on the website are a bit confusing and not detailled enough for someone like me, who has nothing in common with compiling and debugging (to say nothing of gdb). Here is what the commands in gdb mode output:
bt:
#0 0x0028b3c9 in sad16_sse2 ()
#1 0x00425b2a in get_block_rd ()
disass $pc-32 $pc+32:
Dump of assembler code from 0x28b3a9 to 0x28b3e9:
0x0028b3a9 <sad16_sse2+9>: mov 0x14(%esp),%edx
0x0028b3ad <sad16_sse2+13>: mov 0x18(%esp),%eax
0x0028b3b1 <sad16_sse2+17>: pxor %xmm6,%xmm6
0x0028b3b5 <sad16_sse2+21>: nopl 0x0(%eax,%eax,1)
0x0028b3ba <sad16_sse2+26>: nopw 0x0(%eax,%eax,1)
0x0028b3c0 <sad16_sse2+32>: movdqu (%ecx),%xmm0
0x0028b3c4 <sad16_sse2+36>: movdqu (%ecx,%edx,1),%xmm1
0x0028b3c9 <sad16_sse2+41>: psadbw (%ebx),%xmm0
0x0028b3cd <sad16_sse2+45>: psadbw (%ebx,%edx,1),%xmm1
0x0028b3d2 <sad16_sse2+50>: paddw %xmm0,%xmm6
0x0028b3d6 <sad16_sse2+54>: paddw %xmm1,%xmm6
0x0028b3da <sad16_sse2+58>: lea (%ecx,%edx,2),%ecx
0x0028b3dd <sad16_sse2+61>: lea (%ebx,%edx,2),%ebx
0x0028b3e0 <sad16_sse2+64>: sub $0x2,%eax
0x0028b3e3 <sad16_sse2+67>: jg 0x28b3c0 <sad16_sse2+32>
0x0028b3e5 <sad16_sse2+69>: movhlps %xmm6,%xmm0
0x0028b3e8 <sad16_sse2+72>: paddw %xmm0,%xmm6
End of assembler dump.
info all-registers:
eax 0x10 16
ecx 0x53cb34c 87864140
edx 0x2f0 752
ebx 0x380534c 58741580
esp 0xbffef4c8 0xbffef4c8
ebp 0xbfffc698 0xbfffc698
esi 0x32cf000 53276672
edi 0xfffffffc -4
eip 0x28b3c9 0x28b3c9 <sad16_sse2+41>
eflags 0x10206 66054
cs 0x17 23
ss 0x1f 31
ds 0x1f 31
es 0x1f 31
fs 0x0 0
gs 0x37 55
st0 -nan(0x3d3d3d3d7a7a7a7a) (raw 0xffff3d3d3d3d7a7a7a7a)
st1 -nan(0xf400f400f400f4) (raw 0xffff00f400f400f400f4)
st2 -nan(0xe4c0e4c0e4c0e4c) (raw 0xffff0e4c0e4c0e4c0e4c)
st3 -nan(0x07a7a7a7a) (raw 0xffff000000007a7a7a7a)
st4 -nan(0x5000500050005) (raw 0xffff0005000500050005)
st5 -nan(0x10001000100010) (raw 0xffff0010001000100010)
st6 -nan(0x7a7a7a7a7a7a7a7a) (raw 0xffff7a7a7a7a7a7a7a7a)
st7 <invalid float value> (raw 0xffff0000000000000000)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xaaaa 43690
fiseg 0x17 23
fioff 0x4167fb 4286459
foseg 0x1f 31
fooff 0xbfffddc8 -1073750584
fop 0x55c 1372
xmm0 {
v4_float = {-1.18010406e-38, -1.18010406e-38, -1.18010406e-38, -1.18010406e-38},
v2_double = {-2.9374465244229968e-306, -2.9374465244229968e-306},
v16_int8 = '' <repeats 16 times>,
v8_int16 = {-32640, -32640, -32640, -32640, -32640, -32640, -32640, -32640},
v4_int32 = {-2139062144, -2139062144, -2139062144, -2139062144},
v2_int64 = {-9187201950435737472, -9187201950435737472},
uint128 = 0x80808080808080808080808080808080
} (raw 0x80808080808080808080808080808080)
xmm1 {
v4_float = {-1.18010406e-38, -1.18010406e-38, -1.18010406e-38, -1.18010406e-38},
v2_double = {-2.9374465244229968e-306, -2.9374465244229968e-306},
v16_int8 = '' <repeats 16 times>,
v8_int16 = {-32640, -32640, -32640, -32640, -32640, -32640, -32640, -32640},
v4_int32 = {-2139062144, -2139062144, -2139062144, -2139062144},
v2_int64 = {-9187201950435737472, -9187201950435737472},
uint128 = 0x80808080808080808080808080808080
} (raw 0x80808080808080808080808080808080)
xmm2 {
v4_float = {0.00284160511, 0.000710401335, 0.000710401335, 0.000710401335},
v2_double = {2.1694826345890806e-23, 3.3103697155250992e-28},
v16_int8 = ";::9", ':' <repeats 12 times>,
v8_int16 = {15162, 14905, 14906, 14906, 14906, 14906, 14906, 14906},
v4_int32 = {993671737, 976894522, 976894522, 976894522},
v2_int64 = {4267787614351407674, 4195730024608447034},
uint128 = 0x3b3a3a393a3a3a3a3a3a3a3a3a3a3a3a
} (raw 0x3a3a3a3a3a3a3a3a3a3a3a3a393a3a3b)
xmm3 {
v4_float = {0.000702742022, 0.00017664292, 0.00017664292, 0.00017664292},
v2_double = {3.0569442903102939e-28, 4.8578750597249806e-33},
v16_int8 = ":888", '9' <repeats 12 times>,
v8_int16 = {14904, 14392, 14649, 14649, 14649, 14649, 14649, 14649},
v4_int32 = {976762936, 960051513, 960051513, 960051513},
v2_int64 = {4195164867024992569, 4123389851770370361},
uint128 = 0x3a383838393939393939393939393939
} (raw 0x3939393939393939393939393838383a)
xmm4 {
v4_float = {5.41837695e-39, 5.41837555e-39, 5.32653865e-39, 5.32654005e-39},
v2_double = {1.5019749343571856e-307, 1.4463463902849212e-307},
v16_int8 = "\000;\000;\000;\000:\000:\0009\000:\000:",
v8_int16 = {59, 59, 59, 58, 58, 57, 58, 58},
v4_int32 = {3866683, 3866682, 3801145, 3801146},
v2_int64 = {16607277032865850, 16325793466155066},
uint128 = 0x003b003b003b003a003a0039003a003a
} (raw 0x3a003a0039003a003a003b003b003b00)
xmm5 {
v4_float = {5.41837695e-39, 5.41837835e-39, 5.60204934e-39, 5.41837555e-39},
v2_double = {1.501974934357186e-307, 1.6132294760808621e-307},
v16_int8 = "\000;\000;\000;\000<\000=\000<\000;\000:",
v8_int16 = {59, 59, 59, 60, 61, 60, 59, 58},
v4_int32 = {3866683, 3866684, 3997756, 3866682},
v2_int64 = {16607277032865852, 17170231281254458},
uint128 = 0x003b003b003b003c003d003c003b003a
} (raw 0x3a003b003c003d003c003b003b003b00)
xmm6 {
v4_float = {0, 0, 0, 0},
v2_double = {0, 0},
v16_int8 = '\0' <repeats 15 times>,
v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
v4_int32 = {0, 0, 0, 0},
v2_int64 = {0, 0},
uint128 = 0
} (raw 0x00000000000000000000000000000000)
xmm7 {
v4_float = {0, 0, 0, 0},
v2_double = {0, 0},
v16_int8 = '\0' <repeats 15 times>,
v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
v4_int32 = {0, 0, 0, 0},
v2_int64 = {0, 0},
uint128 = 0
} (raw 0x00000000000000000000000000000000)
mxcsr 0x1fa0 8096
mm0 {
uint64 = 4412750544150100602,
v2_int32 = {2054847098, 1027423549},
v4_int16 = {31354, 31354, 15677, 15677},
v8_int8 = "zzzz===="
} (raw 0x3d3d3d3d7a7a7a7a)
mm1 {
uint64 = 68680942305411316,
v2_int32 = {15991028, 15991028},
v4_int16 = {244, 244, 244, 244},
v8_int8 = "ô\000ô\000ô\000ô"
} (raw 0x00f400f400f400f4)
mm2 {
uint64 = 1030214134581169740,
v2_int32 = {239865420, 239865420},
v4_int16 = {3660, 3660, 3660, 3660},
v8_int8 = "L\016L\016L\016L\016"
} (raw 0x0e4c0e4c0e4c0e4c)
mm3 {
uint64 = 2054847098,
v2_int32 = {2054847098, 0},
v4_int16 = {31354, 31354, 0, 0},
v8_int8 = "zzzz\000\000\000"
} (raw 0x000000007a7a7a7a)
mm4 {
uint64 = 1407396358717445,
v2_int32 = {327685, 327685},
v4_int16 = {5, 5, 5, 5},
v8_int8 = "\005\000\005\000\005\000\005"
} (raw 0x0005000500050005)
mm5 {
uint64 = 4503668347895824,
v2_int32 = {1048592, 1048592},
v4_int16 = {16, 16, 16, 16},
v8_int8 = "\020\000\020\000\020\000\020"
} (raw 0x0010001000100010)
mm6 {
uint64 = 8825501086245354106,
v2_int32 = {2054847098, 2054847098},
v4_int16 = {31354, 31354, 31354, 31354},
v8_int8 = "zzzzzzzz"
} (raw 0x7a7a7a7a7a7a7a7a)
mm7 {
uint64 = 0,
v2_int32 = {0, 0},
v4_int16 = {0, 0, 0, 0},
v8_int8 = "\000\000\000\000\000\000\000"
} (raw 0x0000000000000000)
I attached 2 files (1>dump.1.log, 2>dump.2.log) with the output of the commandline in gdb when calling mencoder with my options.
gdb exits with:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x00000000
0x0028b3c9 in sad16_sse2 ()
The problem only occurs whith -vf yadif=x,mcdeint=x. -vf pp=md doesn't harm mencoder at all.
Kind regards,
dandjo
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump.1.log
Type: application/octet-stream
Size: 16611 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080301/cbdc73d4/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump.2.log
Type: application/octet-stream
Size: 819 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080301/cbdc73d4/attachment-0001.obj>
More information about the MPlayer-users
mailing list