There's a bad free in main-crb.c.
(It took me a long time to track down because I'm unfamiliar with
programming Macs.)
In function locate_lib, there should be no free of variable
'main_bundle'. It is a reference to an application-level static
variable; it is not owned by the caller. I am astonished that this
doesn't crash a lot more OSX games.
Delete these lines:
/* Free the bundle */
CFRelease(main_bundle);
I got burned by this, big-time.
>> Stay informed about: OS X bug -- bad free. [All variants]