iphone - Strange error using Core Data -
i have problem core data in application. there no situation when app crashes. random. @ time of crash i'm adding , modifying objects , saving nsmanageobjectcontext. know problem?
#0 0x32668ebc in objc_msgsend #1 0x30494300 in -[nsknownkeysdictionary1 dealloc] #2 0x3049429c in -[nsknownkeysdictionary1 release] #3 0x304c76d2 in -[nsmanagedobject(_nsinternalmethods) _niloutreservedcurrenteventsnapshot__] #4 0x3049c31a in -[nsmanagedobjectcontext(_nsinternalchangeprocessing) _processrecentchanges:] #5 0x304d1bec in -[nsmanagedobjectcontext processpendingchanges] #6 0x304c4380 in _performrunloopaction #7 0x32d5c830 in __cfrunloopdoobservers #8 0x32da4346 in cfrunlooprunspecific #9 0x32da3c1e in cfrunloopruninmode #10 0x31bb9374 in gseventrunmodal #11 0x30bf3c30 in -[uiapplication _run] #12 0x30bf2230 in uiapplicationmain #13 0x0000e9a2 in main @ main.m:59
this looks on released object. try setting nszombieenabled
environment variable yes
before running app better pin-pointed crash object on released.
here short , sweet blog-post describing zombies , crashes: http://cocoa-nut.de/?p=16
Comments
Post a Comment