We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 528

Summary: SDL_SoftStretch() crashes on OpenBSD
Product: SDL Reporter: Sam Lantinga <slouken>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: critical    
Priority: P2    
Version: 1.2.12   
Hardware: x86   
OS: OpenBSD   

Description Sam Lantinga 2007-12-28 08:59:40 UTC
Date: Mon, 10 Dec 2007 13:50:37 -0500
From: Deanna Phillips
Subject: SDL_stretch crash on OpenBSD

Hello,

I noticed that on OpenBSD, SDL programs crash on some asm in
SDL_stretch.c. The workaround is to #undef USE_ASM_STRETCH.  The
OpenBSD SDL port maintainer suggested that I let you know about
it.

This is reproduced by hitting the 'f' key for fullscreen mode in
ffplay, the ffmpeg media player.

Thanks,
Deanna
Comment 1 Sam Lantinga 2007-12-28 09:01:05 UTC
I think we can use mprotect() to make the stack executable.
Comment 2 Sam Lantinga 2007-12-28 20:45:37 UTC
This is fixed with revision 3474