• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Distributed Objects - setting protocol crashing GCC 4.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed Objects - setting protocol crashing GCC 4.0


  • Subject: Re: Distributed Objects - setting protocol crashing GCC 4.0
  • From: Jeremy Dronfield <email@hidden>
  • Date: Tue, 11 Apr 2006 10:20:26 +0100

On 11 Apr 2006, at 4:51 am, email@hidden wrote:

I'm only replying to Cocoa Dev, since this seems off-topic for XCode Users.

Apologies for cross-post, but I'm not sure if this is a Cocoa or Xcode issue.

Almost 3 years ago, Wade Tregaskis posted Cocoa-Dev that - setProtocolForProxy: caused GCC 3.0 to crash with an internal bus error. John C Randolph asked him to submit a bug report, and it sounded as if the issue had been recognised within Apple.

Does anyone know what happened with this, because I'm seeing it now, nearly 3 years later - the same "internal bus error" crash, with Xcode 2.2.1 and GCC 4.0, when calling -setProtocolForProxy:.

Apparently I never filed a bug report for this... at least, I can't find it, if I did. I can't remember the details now, so you'd best file one yourself. Send me the radar # when you do.


What's curious is that while I vaguely remember this problem, it apparently didn't become a showstopper for what I was working on at the time. So there may be some satisfactory workaround. If that's not covered in the archives, remind me now what the details of the problem are and it might jog my memory.

Here's the link to your post: <http://www.cocoabuilder.com/archive/ message/cocoa/2003/10/22/74396>.


The workaround I've tried (but not been very satisfied by) is to declare my proxy object as conforming to my protocol:

id <MyProtocol> myProxy;

and then

myProxy = (id < MyProtocol >)[NSConnection rootProxyForConnectionWithRegisteredName: @"servername" host:nil];

Maybe you did something like this? Before filing a bug, I'll try using a test project, in case there's some issue in my application project which is causing -setProtocolForProxy: to choke the compiler.

Regards,
Jeremy

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Distributed Objects - setting protocol crashing GCC 4.0 - CAUSE DISCOVERED
      • From: Jeremy Dronfield <email@hidden>
References: 
 >Distributed Objects - setting protocol crashing GCC 4.0 (From: Jeremy Dronfield <email@hidden>)
 >Re: Distributed Objects - setting protocol crashing GCC 4.0 (From: email@hidden)

  • Prev by Date: Re: SLOW -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:]
  • Next by Date: Is it possible to add datarows from cocoa to an Applescript DataSource?
  • Previous by thread: Re: Distributed Objects - setting protocol crashing GCC 4.0
  • Next by thread: Re: Distributed Objects - setting protocol crashing GCC 4.0 - CAUSE DISCOVERED
  • Index(es):
    • Date
    • Thread