I am using Distributed objects for communicating between 2 processes as per what is given. here
Whenever I try to send many messages in a short span of time , I observe the following crash. It happens only on MAC OS 10.5. It seems to be working fine on 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
Can this be caused due to many simultaneous requests to the mDNSresponder . The approach works fine for lesser number of messages. Can anyone please help ???