RE: [Disarmed] Re: NSNotificationQueue EXC_BAD_ACCESS problems

2008-10-07 Thread Karan, Cem (Civ, ARL/CISD)
ect: [Disarmed] Re: NSNotificationQueue EXC_BAD_ACCESS problems > > Try your code by enabling NSZombies (Add NSZombieEnabled=YES > to the environment before launching your tool/app). > > This should show you what object is supposed to get messaged. > I suspect some object observes

Re: NSNotificationQueue EXC_BAD_ACCESS problems

2008-10-07 Thread Julien Jalon
Try your code by enabling NSZombies (Add NSZombieEnabled=YES to the environment before launching your tool/app). This should show you what object is supposed to get messaged. I suspect some object observes your notification but is deallocated. -- Julien On Tue, Oct 7, 2008 at 4:28 PM, Karan, Cem

NSNotificationQueue EXC_BAD_ACCESS problems

2008-10-07 Thread Karan, Cem (Civ, ARL/CISD)
I'm having a great deal of trouble getting my notification queue to work correctly. It always causes a EXC_BAD_ACCESS whenever I post using NSPostASAP or NSPostWhenIdle, but it works when I post using NSPostNow. Here are the relevant lines of code: -(void) testMethod { NSNotification *tem