Re: NSConnection Proxy Crash
Re: NSConnection Proxy Crash
- Subject: Re: NSConnection Proxy Crash
- From: Kevin Brock <email@hidden>
- Date: Fri, 10 Jul 2009 12:18:30 -0700
Mr. Gecko wrote:
[MGMDaemon setProtocolForProxy:@protocol(MGMDaemonProtocol)];
[MGMDaemon runTest:@"Test"];
The basic code looks OK. I've got code a lot like that which is working
fine...
What's the declaration of the protocol methods that you're calling?
The low bytes of this:
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c0000023
look suspiciously like a Windows error code, 0xc000023,
STATUS_BUFFER_TOO_SMALL... Is there anywhere that you're getting back
that type of error code on the other end of this?
Kevin
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x94738688 objc_msgSend + 24
1 com.apple.Foundation 0x95b9ac1a -[NSConnection
handlePortCoder:] + 1178
2 com.apple.Foundation 0x95b9a72e -[NSConcretePortCoder
dispatch] + 142
3 com.apple.Foundation 0x95b99e93 __NSFireMachPort + 339
4 com.apple.CoreFoundation 0x94f331c5 __CFMachPortPerform +
117
5 com.apple.CoreFoundation 0x94f57888 CFRunLoopRunSpecific
+ 3896
6 com.apple.CoreFoundation 0x94f57c78 CFRunLoopRunInMode + 88
7 com.apple.Foundation 0x95b943e5
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
8 com.apple.Foundation 0x95ba0504
-[NSRunLoop(NSRunLoop) run] + 84
9 itunesmenudaemon 0x000022e7 main + 320 (daemon.m:61)
10 itunesmenudaemon 0x00002056 start + 54
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00104370 ebx: 0x95b5b2bb ecx: 0x947d4334 edx: 0xc0000003
edi: 0x00000004 esi: 0x95d46874 ebp: 0xbffff508 esp: 0xbffff398
ss: 0x0000001f efl: 0x00010202 eip: 0x94738688 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0xc0000023
I can't seem to find the problem, the command gets executed and then
it crashes.
Help please?
Mr. Gecko
_______________________________________________
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
_______________________________________________
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