#168 Signal 11 in flip_page crash with vo sdl

sdl (1)

I appears that SDL isn't stable with MinGW-w64 I get an immediate crash "Signal 11 in module: flip_page", I have the same problem in my personal build of mplayer (also using mingw-w64) as well but when I built a debug build of mplayer in mingw-w64 the debug build didn't crash at all when using sdl vo. However, a debug build of ffplay did crash and pointed to the MMX optimizations in SDL (./src/video/SDL_yuv_mmx.c:94). http://ffmpeg.org/trac/ffmpeg/ticket/939

Any way with this patch fixed it, not originally mine but borrowed from https://github.com/fantix/ArchLinux-x32/blob/master/libx32-sdl/sdl-1.2.14-disable-mmx.patch and should fix the sig 11 flip_page crash w/ sdl vo present in your build as well.

1 Attachments


  • Gianluigi Tiesi

    Gianluigi Tiesi - 2013-03-01

    thanks for spotting, mingw32 worked because it never enabled mmx code (at least my old lib) while w64 build enables somehow mmx code, if you look at symbols
    i686-w64-mingw32-objdump -t SDL_yuv_sw.o|grep -i mmx
    55(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 _Color565DitherYV12MMX1X
    56(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 _ColorRGBDitherYV12MMX1X
    58(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 _SDL_HasMMX

    I've tried to play with asm without success, the code makes some hacks to use ebx register while gcc asm is able to handle clobbered registers

  • Gianluigi Tiesi

    Gianluigi Tiesi - 2013-03-01
    • status: open --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks