bugGNUstep - Bugs: bug #27446, ...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #27446: +serviceConnectionWithName:rootObject:usingNameServer: not working

Submitted by:  Niels Grewe <thebeing>
Submitted on:  Mon 14 Sep 2009 06:06:58 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 14 Sep 2009 08:40:36 PM UTC, comment #1:

Thanks for the report.
I think this is just a line of code missing from the the new OSX leopard convenience method for setting up a server connection. Fixed in svn.
The workaround is simply to call setRootObject:

Richard Frith-Macdonald <CaS>
Project Member
Mon 14 Sep 2009 06:06:58 PM UTC, original submission:

Hello,

I've encountered some problems with the DO mechanism: Vending objects for local DO seems to be just fine (the corresponding sockets and name-service files are being created in $TMPDIR/NSMessagePort/(names|ports), but -rootProxyForConnectionWithRegisteredName:host: returns nil no matter what. As far as I can tell from stepping through the code, the client obtains the port just well so it does not seem to be a name service problem. The problem does not only occur on 64bit Linux but also on other platforms I could test on (32bit Linux, 64bit FreeBSD) with svn r28670.

I have attached a test case (which works on Mac OS X) that demonstrates the problem. Any help is greatly appreciated.

kind regards,

Niels

Niels Grewe <thebeing>
Project Member

 

Attached Files
file #18715:  do-problem.m added by thebeing (1KiB - text/x-objcsrc - Test case)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by thebeing (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 14 Sep 2009 08:40:36 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      SummaryFailure to obtain a rootProxy for NSMessagePort=>+serviceConnectionWithName:rootObject:usingNameServer: not working
    Mon 14 Sep 2009 06:06:58 PM UTCthebeingAttached File-=>Added do-problem.m, #18715

    Back to the top


    Powered by Savane 3.1-cleanup1