Re: Distributed Objects "connection went invalid while waiting for a reply"
Re: Distributed Objects "connection went invalid while waiting for a reply"
- Subject: Re: Distributed Objects "connection went invalid while waiting for a reply"
- From: "Hamish Allan" <email@hidden>
- Date: Wed, 9 Jul 2008 17:32:52 +0100
Hi Ken,
Thanks for your reply. I already had NSZombieEnabled, so no help
there, but the Object Allocations Instrument highlighted that
-[NSConnection invalidate] was being called; a breakpoint on that
revealed the following trace for thread 2:
#0 0x91b1f916 in -[NSConnection invalidate]
#1 0x91b18598 in +[NSConnection _portInvalidated:]
#2 0x91aa154a in _nsnote_callback
#3 0x9463baba in __CFXNotificationPost
#4 0x9463bd93 in _CFXNotificationPostNotification
#5 0x91a9e7b0 in -[NSNotificationCenter postNotificationName:object:userInfo:]
#6 0x91ae9fea in _NSPortDeathNotify
#7 0x946363eb in CFMachPortInvalidate
#8 0x94636de6 in __CFNotifyDeadMachPort
#9 0x94636635 in __CFMachPortPerform
#10 0x9465a908 in CFRunLoopRunSpecific
#11 0x9465acf8 in CFRunLoopRunInMode
#12 0x91b05460 in +[NSURLConnection(NSURLConnectionReallyInternal)
_resourceLoadLoop:]
#13 0x91aa1f1d in -[NSThread main]
#14 0x91aa1ac4 in __NSThread__main__
#15 0x9062f6f5 in _pthread_start
#16 0x9062f5b2 in thread_start
So it looks like a mach port has died under me. I'm going to try to
create a small test project to investigate why.
Cheers,
Hamish
_______________________________________________
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