here is some more info:

$ gdb ./mplayer
This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run ~/mplayer/bench/foobar.mpeg

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47190863550720 (LWP 1368)]
MC_put_o_16_mmxext (dest=0xcb5f00 "", ref=0x0, stride=304, height=16)
    at motion_comp_mmx.c:546
546             movq_m2r (*ref, mm0);
(gdb) li
541
542     static inline void MC_put1_16 (int height, uint8_t * dest, const
uint8_t * ref,
543                                    const int stride)
544     {
545         do {
546             movq_m2r (*ref, mm0);
547             movq_m2r (*(ref+8), mm1);
548             ref += stride;
549             movq_r2m (mm0, *dest);
550             movq_r2m (mm1, *(dest+8));

we should understand why  ref==0

anyway I will add an assert

a.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to