Re: NSConnection Proxy Crash

2009-07-10 Thread Kevin Brock
Greg Parker wrote: On Jul 10, 2009, at 12:18 PM, Kevin Brock wrote: look suspiciously like a Windows error code, 0xc23, STATUS_BUFFER_TOO_SMALL... Is there anywhere that you're getting back that type of error code on the other end of this? No, it looks like a malloc free list pointer. The

Re: NSConnection Proxy Crash

2009-07-10 Thread Greg Parker
On Jul 10, 2009, at 12:18 PM, Kevin Brock wrote: 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 y

Re: NSConnection Proxy Crash

2009-07-10 Thread Mr. Gecko
I found out it was because I was releasing a NSString which had autorelease on. Thanks anyway, Mr. Gecko On Jul 10, 2009, at 2:21 PM, Kevin Brock wrote: Kevin Brock wrote: The low bytes of this: Exception Codes: KERN_INVALID_ADDRESS at 0xc023 look suspiciously like a Windows

Re: NSConnection Proxy Crash

2009-07-10 Thread Kevin Brock
Kevin Brock wrote: The low bytes of this: Exception Codes: KERN_INVALID_ADDRESS at 0xc023 look suspiciously like a Windows error code, 0xc23, STATUS_BUFFER_TOO_SMALL... I meant 0xc023 of course. Kevin ___ Cocoa-dev mailing l

Re: NSConnection Proxy Crash

2009-07-10 Thread Kevin Brock
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 C

NSConnection Proxy Crash

2009-07-09 Thread Mr. Gecko
Hello, I'm having a problem after I send a message to a proxy application through NSConnection. my code is daemonServer = [[NSConnection connectionWithRegisteredName:@"MGMDaemon" host:nil] retain]; if (daemonServer==nil) { NSLog(@"Couldn't connect to daemon server."); return