根据给定的内容,我正在使用分布式对象在 2 个进程之间进行通信。 这里
每当我尝试在短时间内发送许多消息时,我都会观察到以下崩溃。它只发生在 MAC OS 10.5 上。它似乎在 10.6/10.7 上运行良好
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000001
Crashed Thread: 26
Thread 26 Crashed:
0 libSystem.B.dylib 0x9453d2ee ConnectionResponse + 100
1 libSystem.B.dylib 0x9453d114 DNSServiceProcessResult + 754
2 com.apple.CFNetwork 0x929566b1 _SocketCallBack_NetService(__CFSocket*, unsigned long, __CFData const*, void const*, void*) + 43
3 com.apple.CoreFoundation 0x92a5a6f0 __CFSocketDoCallback + 640
4 com.apple.CoreFoundation 0x92a5bd35 __CFSocketPerformV0 + 133
5 com.apple.CoreFoundation 0x92a513c5 CFRunLoopRunSpecific + 3141
6 com.apple.CoreFoundation 0x92a51aa8 CFRunLoopRunInMode + 88
7 com.apple.Foundation 0x9156c869 -[NSSocketPortNameServer portForName:host:nameServerPortNumber:] + 457
8 com.apple.Foundation 0x9156c4c8 -[NSSocketPortNameServer portForName:host:] + 56
9 com.apple.Foundation 0x91446a68 +[NSConnection connectionWithRegisteredName:host:usingNameServer:] + 56
10 ...yyyyyyyyyy.xxxxxxxx 0x00110bbe -[MessageSendingModule sendMessageInternal:] + 617
这可能是由于对 mDNSresponder 的许多同时请求引起的吗?该方法适用于较少数量的消息。有人可以帮忙吗???