Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What cause EXC_BAD_ACCESS?




On 30 Sep 2007, at 9:26 AM, Norio Ota wrote:
An EXC_BAD_ACCESS error comes only after my app reads my custom format type of data and reads document nib file.

1. When new document is selected, no problem.
2. When open document is selected and the app reads one of three formats which Core Data supports, no problem.
3. Only after reading custom formatted file and after windowControllerDidLoadNib gets called, EXC_BAD_ACCESS comes.
The windowControllerDidLoadNib method calls [super windowControllerDidLoadNib] and detects how each attribute of managedObjects
has been set.


It looks fine that the custom formatted data is read, and the objects created and initialized with the data seem to be fine.
Because the value of each attribute of managedObjects was what I expected.

You don't say what you learned from the debugger. Does any of your code appear in the stack trace?


	— F

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >What cause EXC_BAD_ACCESS? (From: Norio Ota <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.