Exception on dealloc of NSConcreteProtocolChecker
Exception on dealloc of NSConcreteProtocolChecker
- Subject: Exception on dealloc of NSConcreteProtocolChecker
- From: "yoni shalom" <email@hidden>
- Date: Mon, 22 Dec 2008 15:04:12 +0200
I have two applications communicating via NSConnection and a specific
protocol defined between them.
I'm getting the following exception in the server app randomally and I can't
seem to place a finger why, since the only relation from the exception stack
to my code is the RunLoop run message... (seems like this occurs when a the
client-side is shutting down) :
**** NSProtocolChecker: target protocol does not recognize selector:
isKindOfClass: *
**
* __raiseError (in CoreFoundation) + 331*
*objc_exception_throw (in libobjc.A.dylib) + 40*
*+[NSException raise:format:arguments:] (in CoreFoundation) + 155*
*+[NSException raise:format:] (in CoreFoundation) + 58*
*-[NSProtocolChecker doesNotRecognizeSelector:] (in Foundation) + 79*
*___forwarding___ (in CoreFoundation) + 892*
*_CF_forwarding_prep_0 (in CoreFoundation) + 50*
*-[NSProxy isKindOfClass:] (in Foundation) + 160*
*345508823*
*375368454*
*375367910*
*375367836*
*44858610*
*-[NSConcreteProtocolChecker dealloc] (in Foundation) + 75*
*NSPopAutoreleasePool (in Foundation) + 431*
*-[NSConnection handlePortCoder:] (in Foundation) + 1178*
*-[NSConcretePortCoder dispatch] (in Foundation) + 142*
*__NSFireMachPort (in Foundation) + 339*
*__CFMachPortPerform (in CoreFoundation) + 117*
*CFRunLoopRunSpecific (in CoreFoundation) + 3896*
*CFRunLoopRunInMode (in CoreFoundation) + 88*
*-[NSRunLoop(NSRunLoop) runMode:beforeDate:] (in Foundation) + 213*
*-[NSRunLoop(NSRunLoop) run] (in Foundation) + 84*
*-[XXX threadMain:] (in mplayer) (XXX.m:73)*
*-[NSThread main] (in Foundation) + 45*
*__NSThread__main__ (in Foundation) + 308*
*_pthread_start (in libSystem.B.dylib) + 321*
*thread_start (in libSystem.B.dylib) + 34*
_______________________________________________
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