Debugging the application is better than finding the crash report anyway.

Now that you know where it's crashing, there is of course nothing at all
wrong with putting an NSDictionary into an NSArray. You have a memory error
elsewhere that is the root cause of the crash. I have 2 suggestions:

- Show more of your code, at least from the allocation of theRecordsArray
and infoDictionary until the crash;

- Review the basic memory management rules to try to figure out where you
didn't follow them:

<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Articl
es/mmPractical.html>

Note that I'm assuming the simple case and most likely cause--if you're
doing anything like using threads then you'll need to say so ;-)

-- 
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to