ios - __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 18 23 CoreFoundation crash -


i getting following crash. can tell me reason crash?

__cfrunloop_is_calling_out_to_an_observer_callback_function__ + 18 23  corefoundation  crash 

i`m not using threads. nszombieenabled , instruments did not clarify reason of crash @ all. please, me.

0   libobjc.a.dylib                 0x3b0805be objc_msgsend + 30 1   corefoundation                  0x3332130c cfrelease + 96 2   corefoundation                  0x333fc430 __cfbasichashdrain + 256 3   corefoundation                  0x333213ce cfrelease + 290 4   corefoundation                  0x333fc430 __cfbasichashdrain + 256 5   corefoundation                  0x333213ce cfrelease + 290 6   imageio                         0x34013008 _cgimageplusfinalize + 48 7   corefoundation                  0x333213ce cfrelease + 290 8   corefoundation                  0x333fc430 __cfbasichashdrain + 256 9   corefoundation                  0x333213ce cfrelease + 290 10  imageio                         0x34179bb2 releaseinfopng + 18 11  imageio                         0x34029ae4 imageproviderreleaseinfocallback + 32 12  coregraphics                    0x3346b1c8 image_provider_finalize + 32 13  corefoundation                  0x333213ce cfrelease + 290 14  coregraphics                    0x33464f48 image_finalize + 60 15  corefoundation                  0x333213ce cfrelease + 290 16  quartzcore                      0x34fa44ce ca::layer::state::~state() + 94 17  quartzcore                      0x34fa7a4e ca::layer::~layer() + 290 18  quartzcore                      0x34fa77ae -[calayer dealloc] + 138 19  quartzcore                      0x34f97a70 ca::layer::free_transaction(ca::transaction*) + 68 20  quartzcore                      0x34f960a4 ca::transaction::commit() + 400 21  quartzcore                      0x34f95eac ca::transaction::observer_callback(__cfrunloopobserver*, unsigned long, void*) + 56 22  corefoundation                  0x333b56ca __cfrunloop_is_calling_out_to_an_observer_callback_function__ + 18 23  corefoundation                  0x333b39bc __cfrunloopdoobservers + 272 24  corefoundation                  0x333b3d12 __cfrunlooprun + 738 25  corefoundation                  0x33326eb8 cfrunlooprunspecific + 352 26  corefoundation                  0x33326d44 cfrunloopruninmode + 100 27  graphicsservices                0x36eea2e6 gseventrunmodal + 70 28  uikit                           0x3523c2fc uiapplicationmain + 1116 

this crash occurs when using nsnotificationcenter

you registered notification observer object has been released , didn't removed observer. when tries call selector crashes.

if using viewcontroller of kind, can add

[[nsnotificationcenter defaultcenter] removeobserver:self name:@"notification" object:nil]; 

to viewwilldisappear

if not viewcontroller can use -(void) dealloc unregister observer.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -