NSPortCoder timed out, causes crash
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