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 2560

Summary: Crash on any input
Product: SDL Reporter: Alex Marshall <trap15>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: critical    
Priority: P2 CC: trap15
Version: HG 1.2   
Hardware: x86_64   
OS: Mac OS X (All)   
Attachments: Patch to fix the crashing bug.

Description Alex Marshall 2014-05-24 23:28:02 UTC
Created attachment 1660 [details]
Patch to fix the crashing bug.

On all of my OSX machines running 10.9 (I posted OS as Mac OS X (All) due to there not being a 10.9 selection), I get a crash on any input using SDL 1.2. I've had this issue in both HG 1.2 and final release 1.2 on the website.

Today I got around to trying to fix it; commenting out the two uses of 'field_edit' in src/video/quartz/SQL_QuartzEvents.m fixes the crash and doesn't cause any side effects as far as I can tell.

I've attached the patch, feel free to use it as deemed appropriate.
Comment 1 Sam Lantinga 2014-06-22 18:10:05 UTC
I didn't do any deep investigation of whether this is the right fix, but not crashing is better than always crashing. Thanks! 
https://hg.libsdl.org/SDL/rev/606600f0f6d7