[SDL] EXC_BAD_ACCESS errors in OSX / related to SDL??

Peter Mulholland darkmatter at freeuk.com
Sun Dec 17 01:04:19 PST 2006


Hello Stephen,

Sunday, December 17, 2006, 1:12:19 AM, you wrote:

> Can someone describe some common circumstances under which this error 
> occurs for SDL apps in Mac OSX?  I'm working on Stella (multi-platform
> Atari 2600 emulator), and except for some minor system-specific 
> classes, the codebase is 99% across all platforms.  Google seems to 
> suggest that it's thread related, but since I don't explicitly use 
> threads, it sort of falls to SDL.  Here's the exact error:

> Exception:  EXC_BAD_ACCESS (0x0001)
> Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x060b1f8e

That just means that your app crashed due to accessing memory it
hasn't allocated. It's too vague to tell whether that's your apps
fault or SDL's fault.

Look at the crashlog and see which thread crashed and where it
crashed. Make sure you have debug symbols attached.

-- 
Best regards,
 Peter                            mailto:darkmatter at freeuk.com





More information about the SDL mailing list