• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSPortCoder timed out, causes crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPortCoder timed out, causes crash


  • Subject: NSPortCoder timed out, causes crash
  • From: Richard Salvatierra <email@hidden>
  • Date: Mon, 10 Sep 2007 09:51:50 -0400

I have a server/client test app using DO that sends the client values over a local network. If the client connection fails (the app quits/ crashes/unplugged, etc.) and the server sends the client another message, the server app logs a [NSPortCoder sendBeforeTime:sendReplyPort:] timed out. Now, while running in xCode, the run log displays the time out message. If running the app outside of xCode, it crashes. The hard part is the crash does not create a crash log. Before I send the message to the DO, I Try/Catch. What causes the crash.

@try {
	[remoteObject sendDictionary: object];
}
@catch (id theException) {
	NSLog(@"%@", theException);
	[remoteObject release];
}
@finally { }

-Rich

_______________________________________________

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


  • Follow-Ups:
    • Re: NSPortCoder timed out, causes crash
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Capturing the Managed Object Context in a non-document application
  • Next by Date: Re: Cocoa with CodeWarrior?
  • Previous by thread: Capturing the Managed Object Context in a non-document application
  • Next by thread: Re: NSPortCoder timed out, causes crash
  • Index(es):
    • Date
    • Thread