• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
showing window causes EXC_BAD_ACCESS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

showing window causes EXC_BAD_ACCESS


  • Subject: showing window causes EXC_BAD_ACCESS
  • From: Daniel Child <email@hidden>
  • Date: Thu, 25 Sep 2008 16:17:10 -0400

Hi,

I'm stumped. I have a button in a master window tied to a method that simply shows another window. The method is as simple as they come.

- (IBAction) showMLTableListings: (id) sender
{
	[mLTableListingsWindow makeKeyAndOrderFront: self];
}

where mLTableListingsWindow is simply the reference to the data listing window cached within the App Controller.

If I press the button in question once, the window dutifully comes up. If I close the window and press the button a second time, I get EXC_BAD_ACCESS. Debugging, I found that both self and mLTableListingsWindow still exist.

Incidentally, the tables and windows were set up automatically using the entity object in IB, as I'm simply testing a CoreData app. I didn't set any of the bindings manually. This seems to happen on a number of my automatically generated CoreData windows?

Why is this happening? How can I track down the problem?

Thanks.

Daniel
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: showing window causes EXC_BAD_ACCESS
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Re: What happens to the user dictionary when coalescing notifications in NSNotificationQueue?
  • Next by Date: Re: showing window causes EXC_BAD_ACCESS
  • Previous by thread: Re: What happens to the user dictionary when coalescing notifications in NSNotificationQueue?
  • Next by thread: Re: showing window causes EXC_BAD_ACCESS
  • Index(es):
    • Date
    • Thread