Welcome to GameHourz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

OS X bug -- bad free. [All variants]

 
   Game Forums (Home) -> Roguelike -> Angband RSS
Next:  [FuryBand] State of the FuryBand [FuryBand]  
Author Message
pete mack

External


Since: Mar 24, 2005
Posts: 411



(Msg. 1) Posted: Sun Jul 02, 2006 5:12 pm
Post subject: OS X bug -- bad free. [All variants]
Archived from groups: rec>games>roguelike>angband (more info?)

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] 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
OS X variants available - list? - Does anyone have to hand a list of which variants have a current OS X build, perchance? :) [Locations of said builds would be useful, of course...] Thanks - Ewan

Compiling Angband variants on Unixes - Hi everybody, I've started packaging a few roguelike games for the Debian Linux distribution. I'd like to package some Angband variants as well, but a lot of them seem to require a lot of Makefile tweaking to compile properly on Unix platforms. So if..

Catching up - the last few years of *band variants... - Evening, all. This is a complete newbie question but I've been out of the loop for a while. Having lost most of the late '90s to Vanilla and Zangband (2.2.4), I've suddenly felt like a new bash. However, I've tried the most recent Vanilla and Z and..

Catching up - the last few years of *band variants... - Evening, all. This is a complete newbie question but I've been out of the loop for a while. Having lost most of the late '90s to Vanilla and Zangband (2.2.4), I've suddenly felt like a new bash. However, I've tried the most recent Vanilla and Z and..

Can someone explain how to properly roll stats in Zangband.. - I've just gotten into Zangband, and I'm confused as to how I'm supposed to set up my stats. I get that your supposed to enter a value of 100 for a state that you'll use most...but I'm sure I'm doing something wrong. Can someone tell me how to proprely se...
   Game Forums (Home) -> Roguelike -> Angband All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]