monkinetic weblog

Steve Ivy's Weblog - Since 1999 - XII Ed.

Autorelease Hell

I'm working on a new app in my limited spare time. It's an OS X app, and this post is geeky, so you can move along is that's not your bag.

Ok, so I've got things working pretty smoothly, but after all my app launch code is done executing, and the app is loading it's NIBs, I get a "EXC_BAD_ACCESS" during objc_msgSend right after the function NSPopAutoreleasePool gets called.

I know this is something I'm releasing too many times, but for the life of me I can't figure out how to find out what it is that is being autoreleased here.

I'd appreciate any help from any seasoned Cocoa developers! smile

My name is Steve Ivy and I write about technology, the open web, social software, and general nerdity on monkinetic.com. You should follow me on Twitter or subscribe to this blog if you like what you're reading. I spend my days hacking Movable Type, python, Django, and various other efforts at Wallrazer. This is my personal site.