bugGNUstep - Bugs: bug #38981, NSMessagePortNameServer initialize...


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

bug #38981: NSMessagePortNameServer initialize method doesn't remove obsolete name references

Submitted by:  Michael Silva <msilvax28>
Submitted on:  Mon 13 May 2013 09:08:51 PM UTC  
Category: Base/FoundationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: In Test

Fri 24 May 2013 02:34:44 PM UTC, comment #1:

Thanks, this should be fixed in trunk now ... needs some testing though.

Richard Frith-Macdonald <CaS>
Project Member
Mon 13 May 2013 09:08:51 PM UTC, original submission:

The logic in the +initialize method has logic that tries to remove old names. It tries to remove names assigned to the current pid and tries to see if other pids that have names are now dead.

The logic as implemented removes no names, as it assumes the beginning of the first line of the name file is the PID (with a . suffix).

However, the name files have this format:
<path to 'port' in file system>\n
<owner pid>\n

for example:

I have code that I think fixes it, but I don't know enough about GNUstep to be sure.

Michael Silva <msilvax28>


No files currently attached


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 msilvax28 (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 24 May 2013 02:34:44 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>In Test

    Back to the top

    Powered by Savane 3.1-cleanup1