[MPlayer-cvslog] r35203 - in trunk/libmpcodecs: vf_delogo.c vf_unsharp.c
Ingo Brückl
ib at wupperonline.de
Fri Sep 21 11:33:34 CEST 2012
Reimar Döffinger wrote on Thu, 20 Sep 2012 19:40:07 +0200:
> Also the documentation describes how to get some disassembly etc.
For some reason dmpi is NULL:
(gdb) print dmpi
$1 = (mp_image_t *) 0x0
Hope it helps.
Ingo
-------------- next part --------------
Program received signal SIGSEGV, Segmentation fault.
0x081a2736 in put_image (vf=0x91656e8, mpi=0x921fbd0, pts=8.8087997436523438)
at libmpcodecs/vf_unsharp.c:190
190 unsharp( dmpi->planes[0], mpi->planes[0], dmpi->stride[0], mpi->stride[0], mpi->w, mpi->h, &vf->priv->lumaParam );
(gdb) bt
#0 0x081a2736 in put_image (vf=0x91656e8, mpi=0x921fbd0,
pts=8.8087997436523438) at libmpcodecs/vf_unsharp.c:190
#1 0x0824b648 in put_image (vf=0x9165a38, mpi=0x915f6d8,
pts=8.8087997436523438) at libmpcodecs/vf_screenshot.c:221
#2 0x08172279 in filter_video (sh_video=0x9159eb8, frame=0x915f6d8,
pts=8.8087997436523438) at libmpcodecs/dec_video.c:479
#3 0x080e060b in update_video (blit_frame=0xbffff584) at mplayer.c:2484
#4 0x080e4cea in main (argc=8, argv=0xbffff644) at mplayer.c:3760
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0x81a2716 to 0x81a2756:
0x081a2716 <put_image+22>: inc %ebp
0x081a2717 <put_image+23>: call 0x5fa52ea7
0x081a271c <put_image+28>: js 0x81a26e5 <unsharp+1077>
0x081a271e <put_image+30>: inc %edi
0x081a271f <put_image+31>: js 0x81a2721 <put_image+33>
0x081a2721 <put_image+33>: add %al,(%eax)
0x081a2723 <put_image+35>: add %dh,%dh
0x081a2725 <put_image+37>: les (%eax),%esp
0x081a2727 <put_image+39>: mov %edx,-0x14(%ebp)
0x081a272a <put_image+42>: je 0x81a2840 <put_image+320>
0x081a2730 <put_image+48>: mov -0x14(%ebp),%esi
0x081a2733 <put_image+51>: mov 0x2c(%edi),%edx
=> 0x081a2736 <put_image+54>: mov 0x3c(%esi),%ecx
0x081a2739 <put_image+57>: mov 0x2c(%esi),%eax
0x081a273c <put_image+60>: mov -0x18(%ebp),%esi
0x081a273f <put_image+63>: mov 0x12c(%esi),%ebx
0x081a2745 <put_image+69>: mov %ebx,0xc(%esp)
0x081a2749 <put_image+73>: mov 0x28(%edi),%ebx
0x081a274c <put_image+76>: mov %ebx,0x8(%esp)
0x081a2750 <put_image+80>: mov 0x24(%edi),%ebx
0x081a2753 <put_image+83>: mov %ebx,0x4(%esp)
End of assembler dump.
(gdb) info all-registers
eax 0xa30c 41740
ecx 0x81a2700 135931648
edx 0xb6414020 -1237237728
ebx 0x9165128 152457512
esp 0xbfffcfe0 0xbfffcfe0
ebp 0xbfffd018 0xbfffd018
esi 0x0 0
edi 0x921fbd0 153222096
eip 0x81a2736 0x81a2736 <put_image+54>
eflags 0x210202 [ IF RF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 -nan(0x7e7e7e7f7f808080) (raw 0xffff7e7e7e7f7f808080)
st1 -nan(0x7f7f7e7f7e7e7e7d) (raw 0xffff7f7f7e7f7e7e7e7d)
st2 -0.0033366666175425052642822265625 (raw 0xbff6daabfa0000000000)
st3 -1 (raw 0xbfff8000000000000000)
st4 48.029446101133501146468463005589911 (raw 0x4004c01e271e6573cf6d)
st5 70.229199822688315180130302906036377 (raw 0x40058c7559addd640000)
st6 0.70229199822688315180130302906036377 (raw 0x3ffeb3c9688ca0800000)
st7 8.80879974365234375 (raw 0x40028cf0d80000000000)
fctrl 0x37f 895
fstat 0x120 288
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x1d, 0x23, 0x23, 0x23, 0x23, 0x22, 0x21, 0x1f, 0x1d, 0x21,
0x20, 0x20, 0x1f, 0x1e, 0x1d, 0x1d}, v8_int16 = {0x231d, 0x2323, 0x2223,
0x1f21, 0x211d, 0x2020, 0x1e1f, 0x1d1d}, v4_int32 = {0x2323231d,
0x1f212223, 0x2020211d, 0x1d1d1e1f}, v2_int64 = {0x1f2122232323231d,
0x1d1d1e1f2020211d}, uint128 = 0x1d1d1e1f2020211d1f2122232323231d}
xmm1 {v4_float = {0xf57, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x16, 0x73, 0x75, 0x45, 0x0 <repeats 12 times>}, v8_int16 = {
0x7316, 0x4575, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x45757316,
0x0, 0x0, 0x0}, v2_int64 = {0x45757316, 0x0},
uint128 = 0x00000000000000000000000045757316}
xmm2 {v4_float = {0x868, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0xca, 0x8b, 0x6, 0x45, 0x0 <repeats 12 times>}, v8_int16 = {
0x8bca, 0x4506, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x45068bca,
0x0, 0x0, 0x0}, v2_int64 = {0x45068bca, 0x0},
uint128 = 0x00000000000000000000000045068bca}
xmm3 {v4_float = {0xc3d, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x73, 0xdf, 0x43, 0x45, 0x0 <repeats 12 times>}, v8_int16 = {
0xdf73, 0x4543, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x4543df73,
0x0, 0x0, 0x0}, v2_int64 = {0x4543df73, 0x0},
uint128 = 0x0000000000000000000000004543df73}
xmm4 {v4_float = {0xd4e, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x14, 0xe9, 0x54, 0x45, 0x0 <repeats 12 times>}, v8_int16 = {
0xe914, 0x4554, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x4554e914,
0x0, 0x0, 0x0}, v2_int64 = {0x4554e914, 0x0},
uint128 = 0x0000000000000000000000004554e914}
xmm5 {v4_float = {0x99a, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x86, 0xa4, 0x19, 0x45, 0x0 <repeats 12 times>}, v8_int16 = {
0xa486, 0x4519, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x4519a486,
0x0, 0x0, 0x0}, v2_int64 = {0x4519a486, 0x0},
uint128 = 0x0000000000000000000000004519a486}
xmm6 {v4_float = {0xfffffdf4, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x2e, 0x3e, 0x3, 0xc4, 0x0 <repeats 12 times>},
v8_int16 = {0x3e2e, 0xc403, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {
0xc4033e2e, 0x0, 0x0, 0x0}, v2_int64 = {0xc4033e2e, 0x0},
uint128 = 0x000000000000000000000000c4033e2e}
xmm7 {v4_float = {0xbc3, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x6e, 0x39, 0x3c, 0x45, 0x0 <repeats 12 times>}, v8_int16 = {
0x396e, 0x453c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x453c396e,
0x0, 0x0, 0x0}, v2_int64 = {0x453c396e, 0x0},
uint128 = 0x000000000000000000000000453c396e}
mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]
mm0 {uint64 = 0x7e7e7e7f7f808080, v2_int32 = {0x7f808080,
0x7e7e7e7f}, v4_int16 = {0x8080, 0x7f80, 0x7e7f, 0x7e7e}, v8_int8 = {0x80,
0x80, 0x80, 0x7f, 0x7f, 0x7e, 0x7e, 0x7e}}
mm1 {uint64 = 0x7f7f7e7f7e7e7e7d, v2_int32 = {0x7e7e7e7d,
0x7f7f7e7f}, v4_int16 = {0x7e7d, 0x7e7e, 0x7e7f, 0x7f7f}, v8_int8 = {0x7d,
0x7e, 0x7e, 0x7e, 0x7f, 0x7e, 0x7f, 0x7f}}
mm2 {uint64 = 0xdaabfa0000000000, v2_int32 = {0x0, 0xdaabfa00},
v4_int16 = {0x0, 0x0, 0xfa00, 0xdaab}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
0xfa, 0xab, 0xda}}
mm3 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000},
v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x80}}
mm4 {uint64 = 0xc01e271e6573cf6d, v2_int32 = {0x6573cf6d,
0xc01e271e}, v4_int16 = {0xcf6d, 0x6573, 0x271e, 0xc01e}, v8_int8 = {0x6d,
0xcf, 0x73, 0x65, 0x1e, 0x27, 0x1e, 0xc0}}
mm5 {uint64 = 0x8c7559addd640000, v2_int32 = {0xdd640000,
0x8c7559ad}, v4_int16 = {0x0, 0xdd64, 0x59ad, 0x8c75}, v8_int8 = {0x0,
0x0, 0x64, 0xdd, 0xad, 0x59, 0x75, 0x8c}}
mm6 {uint64 = 0xb3c9688ca0800000, v2_int32 = {0xa0800000,
0xb3c9688c}, v4_int16 = {0x0, 0xa080, 0x688c, 0xb3c9}, v8_int8 = {0x0,
0x0, 0x80, 0xa0, 0x8c, 0x68, 0xc9, 0xb3}}
mm7 {uint64 = 0x8cf0d80000000000, v2_int32 = {0x0, 0x8cf0d800},
v4_int16 = {0x0, 0x0, 0xd800, 0x8cf0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
0xd8, 0xf0, 0x8c}}
More information about the MPlayer-cvslog
mailing list