[libav-tools] segfault on windwos

Farkas Levente lfarkas at lfarkas.org
Sun Aug 21 18:32:12 CEST 2011


On 08/20/2011 10:49 PM, Ronald S. Bultje wrote:
> Hi,
> 
> On Sat, Aug 20, 2011 at 1:48 PM, Farkas Levente <lfarkas at lfarkas.org> wrote:
>> hi,
>> when i build gstreamer-ffmpeg (which contains libav) it's always
>> segfault with this bt:
>> any tip or solution?
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 844.0xae8]
>> 0x02912a02 in clear_blocks_sse (blocks=0x23b7858)
>>    at /builddir/build/BUILD/gst-ffmpeg-0.10.12/gst-libs/ext/libav/libavcodec/x8
>> 6/dsputil_mmx.c:539
>> 539     /builddir/build/BUILD/gst-ffmpeg-0.10.12/gst-libs/ext/libav/libavcodec/x
>> 86/dsputil_mmx.c: No such file or directory.
>>        in /builddir/build/BUILD/gst-ffmpeg-0.10.12/gst-libs/ext/libav/libavcode
>> c/x86/dsputil_mmx.c
>> (gdb) bt
>> #0  0x02912a02 in clear_blocks_sse (blocks=0x23b7858)
>>    at /builddir/build/BUILD/gst-ffmpeg-0.10.12/gst-libs/ext/libav/libavcodec/x8
>> 6/dsputil_mmx.c:539
> 
> Can you provide the output of "disass", "info all-registers"?


Dump of assembler code for function clear_blocks_sse:
   0x029229f0 <+0>:     mov    0x4(%esp),%edx
   0x029229f4 <+4>:     add    $0x300,%edx
   0x029229fa <+10>:    xorps  %xmm0,%xmm0
   0x029229fd <+13>:    mov    $0xfffffd00,%eax
=> 0x02922a02 <+18>:    movaps %xmm0,(%edx,%eax,1)
   0x02922a06 <+22>:    movaps %xmm0,0x10(%edx,%eax,1)
   0x02922a0b <+27>:    movaps %xmm0,0x20(%edx,%eax,1)
   0x02922a10 <+32>:    movaps %xmm0,0x30(%edx,%eax,1)
   0x02922a15 <+37>:    movaps %xmm0,0x40(%edx,%eax,1)
   0x02922a1a <+42>:    movaps %xmm0,0x50(%edx,%eax,1)
   0x02922a1f <+47>:    movaps %xmm0,0x60(%edx,%eax,1)
   0x02922a24 <+52>:    movaps %xmm0,0x70(%edx,%eax,1)
   0x02922a29 <+57>:    add    $0x80,%eax
   0x02922a2e <+62>:    js     0x2922a02 <clear_blocks_sse+18>
   0x02922a30 <+64>:    ret
End of assembler dump.
(gdb) info all-registers
eax            0xfffffd00       -768
ecx            0x0      0
edx            0x23c6358        37512024
ebx            0x238ef20        37285664
esp            0x36ef51c        0x36ef51c
ebp            0x2485190        0x2485190
esi            0x27     39
edi            0x1      1
eip            0x2922a02        0x2922a02 <clear_blocks_sse+18>
eflags         0x210202 [ IF RF ID ]
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x53     83
gs             0x2b     43
st0            -nan(0x0ebebebeb)        (raw 0xffff00000000ebebebeb)
st1            -nan(0x5000500050005)    (raw 0xffff0005000500050005)
st2            -nan(0x0f2f2f2f2)        (raw 0xffff00000000f2f2f2f2)
st3            -nan(0x3000300030003)    (raw 0xffff0003000300030003)
st4            -nan(0xffffffffffffffff) (raw 0xffffffffffffffffffff)
st5            -nan(0x4000400040004)    (raw 0xffff0004000400040004)
st6            -nan(0x20002000200020)   (raw 0xffff0020002000200020)
st7            -inf     (raw 0xffff0000000000000000)
fctrl          0x27f    639
fstat          0x20     32
ftag           0xaaaa   43690
fiseg          0x23     35
fioff          0x25e2c48        39726152
foseg          0x2b     43
fooff          0x36ef848        57604168
fop            0x59d    1437
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
mm0            {uint64 = 0xebebebeb, v2_int32 = {0xebebebeb, 0x0},
  v4_int16 = {0xebeb, 0xebeb, 0x0, 0x0}, v8_int8 = {0xeb, 0xeb, 0xeb, 0xeb,
    0x0, 0x0, 0x0, 0x0}}
mm1            {uint64 = 0x5000500050005, v2_int32 = {0x50005, 0x50005},
  v4_int16 = {0x5, 0x5, 0x5, 0x5}, v8_int8 = {0x5, 0x0, 0x5, 0x0, 0x5, 0x0,
    0x5, 0x0}}
mm2            {uint64 = 0xf2f2f2f2, v2_int32 = {0xf2f2f2f2, 0x0},
  v4_int16 = {0xf2f2, 0xf2f2, 0x0, 0x0}, v8_int8 = {0xf2, 0xf2, 0xf2, 0xf2,
    0x0, 0x0, 0x0, 0x0}}
mm3            {uint64 = 0x3000300030003, v2_int32 = {0x30003, 0x30003},
  v4_int16 = {0x3, 0x3, 0x3, 0x3}, v8_int8 = {0x3, 0x0, 0x3, 0x0, 0x3, 0x0,
    0x3, 0x0}}
mm4            {uint64 = 0xffffffffffffffff, v2_int32 = {0xffffffff,
    0xffffffff}, v4_int16 = {0xffff, 0xffff, 0xffff, 0xffff}, v8_int8 = {
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}}
mm5            {uint64 = 0x4000400040004, v2_int32 = {0x40004, 0x40004},
  v4_int16 = {0x4, 0x4, 0x4, 0x4}, v8_int8 = {0x4, 0x0, 0x4, 0x0, 0x4, 0x0,
    0x4, 0x0}}
mm6            {uint64 = 0x20002000200020, v2_int32 = {0x200020, 0x200020},
  v4_int16 = {0x20, 0x20, 0x20, 0x20}, v8_int8 = {0x20, 0x0, 0x20, 0x0,
0x20,
    0x0, 0x20, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}


-- 
  Levente                               "Si vis pacem para bellum!"


More information about the libav-tools mailing list