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 - SDL_SoftStretch() crashes on OpenBSD
Summary: SDL_SoftStretch() crashes on OpenBSD
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 1.2.12
Hardware: x86 OpenBSD
: P2 critical
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-28 08:59 UTC by Sam Lantinga
Modified: 2007-12-28 20:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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