Fullscreen crash in SDL w/ffplay

Hi, everybody.
I’m having a problem when I’m trying to resize (or switch to full-screen
mode) ffplay’s window under OS X 10.6.2. I’m receiving the following
segmentation fault:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00000001007d1383 in SDL_SoftStretch (src=0x100965d10,
srcrect=0x7fff5fbfe9d0, dst=0x100965d70, dstrect=0x7fff5fbfe9c0) at
./src/video/SDL_stretch.c:219
219 const int bpp = dst->format->BytesPerPixel;
(gdb) bt
#0 0x00000001007d1383 in SDL_SoftStretch (src=0x100965d10,
srcrect=0x7fff5fbfe9d0, dst=0x100965d70, dstrect=0x7fff5fbfe9c0) at
./src/video/SDL_stretch.c:219
#1 0x00000001007d8147 in SDL_DisplayYUV_SW (_this=, overlay=0x1009521e0,
src=0x7fff5fbfe9d0, dst=0x7fff5fbfe9c0) at ./src/video/SDL_yuv_sw.c:1271
#2 0x00000001007d605a in SDL_DisplayYUVOverlay (overlay=0x1009521e0,
dstrect=) at ./src/video/SDL_yuv.c:138
#3 0x0000000100002679 in start ()

Does anyone know how to solve this problem? Any help will be appreciated.
Thanks

Sheshadri Mantha wrote:> Hi, everybody.

I’m having a problem when I’m trying to resize (or switch to full-screen
mode) ffplay’s window under OS X 10.6.2. I’m receiving the following
segmentation fault:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00000001007d1383 in SDL_SoftStretch (src=0x100965d10,
srcrect=0x7fff5fbfe9d0, dst=0x100965d70, dstrect=0x7fff5fbfe9c0) at
./src/video/SDL_stretch.c:219
219 const int bpp = dst->format->BytesPerPixel;
(gdb) bt
#0 0x00000001007d1383 in SDL_SoftStretch (src=0x100965d10,
srcrect=0x7fff5fbfe9d0, dst=0x100965d70, dstrect=0x7fff5fbfe9c0) at
./src/video/SDL_stretch.c:219
#1 0x00000001007d8147 in SDL_DisplayYUV_SW (_this=, overlay=0x1009521e0,
src=0x7fff5fbfe9d0, dst=0x7fff5fbfe9c0) at ./src/video/SDL_yuv_sw.c:1271
#2 0x00000001007d605a in SDL_DisplayYUVOverlay (overlay=0x1009521e0,
dstrect=) at ./src/video/SDL_yuv.c:138
#3 0x0000000100002679 in start ()

Does anyone know how to solve this problem? Any help will be appreciated.
Thanks

if ffplay for the mac is as screwed up as ffplay for iphone was, good luck, it took me a week to figure out what was causing the bad access exception.
looking at the error it looks like it might be happending in swscaler, does this happen all the time or only with certain videos.

Did you recently upgrade sdl version??


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

michelleC wrote:

Sheshadri Mantha wrote:

Hi, everybody.
I’m having a problem when I’m trying to resize (or switch to full-screen
mode) ffplay’s window under OS X 10.6.2. I’m receiving the following
segmentation fault:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00000001007d1383 in SDL_SoftStretch (src=0x100965d10,
srcrect=0x7fff5fbfe9d0, dst=0x100965d70, dstrect=0x7fff5fbfe9c0) at
./src/video/SDL_stretch.c:219
219 const int bpp = dst->format->BytesPerPixel;
(gdb) bt
#0 0x00000001007d1383 in SDL_SoftStretch (src=0x100965d10,
srcrect=0x7fff5fbfe9d0, dst=0x100965d70, dstrect=0x7fff5fbfe9c0) at
./src/video/SDL_stretch.c:219
#1 0x00000001007d8147 in SDL_DisplayYUV_SW (_this=, overlay=0x1009521e0,
src=0x7fff5fbfe9d0, dst=0x7fff5fbfe9c0) at ./src/video/SDL_yuv_sw.c:1271
#2 0x00000001007d605a in SDL_DisplayYUVOverlay (overlay=0x1009521e0,
dstrect=) at ./src/video/SDL_yuv.c:138
#3 0x0000000100002679 in start ()

Does anyone know how to solve this problem? Any help will be appreciated.
Thanks

if ffplay for the mac is as screwed up as ffplay for iphone was, good
luck, it took me a week to figure out what was causing the bad access
exception.
looking at the error it looks like it might be happending in swscaler,
does this happen all the time or only with certain videos.

Did you recently upgrade sdl version??


SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

hi;
no its not in swscaler as we are not building with swscaler library –
SDL_DisplayYUV_SW is when SDL blits on the screen. tested with MPEG &
QuickTime files…

what was the fix for iphone ?

yes we are using 1.2.14 - and can’t really go to 1.3 yet.

any help appreciated,
kindest regards,