[squeak-dev] NetNameResolver gives spurious answers for images running 5.2 on x86 mac & 86 linux

Chris Cunnington brasspen at gmail.com
Thu Nov 28 02:24:27 UTC 2019


Perhaps you would like to read this thread. I think the upshot is that you are expecting consistency where none is possible. 

http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-May/159797.html <http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-May/159797.html>

Chris 

Nina Hagen - New York, New York
https://www.youtube.com/watch?v=4Cj7mxxEv3Q



> On Nov 27, 2019, at 8:48 PM, tim Rowledge <tim at rowledge.org> wrote:
> 
> If I run
> NetNameResolver localHostAddress
> in a 5.2 image on my iMac it returns  #[0 0 0 0]. On a Pi it returns the more appropriate #[192 168 1 42] sort of answer.
> On an 86 linux it also gives the wrong answer; so it doesn't seem like a purely Mac vm bug. The image says useOldNetwork is true (which seems like something we've been fudging for a long while now) in all cases. If I set the preference to use the ipv6/new network stuff I get a less bad answer on the Mac of  192.168.1.65(192.168.1.65),0(0) - but I don't think it is quite what the rest of the system wants since trying (from PersonalSqueakSource)
> (NetNameResolver nameForAddress: (NetNameResolver localHostAddress) timeout: 5)
> 		ifNil: [NetNameResolver localAddressString]
> results in a prim failure in NetNameResolver class>>#nameForAddress:timeout:
> Sigh.
> 
> Anybody got any brilliant ideas on what is going wrong here?
> 
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> A sad tale that brings a lump to the eye and a tear to the throat.
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191127/fa71a204/attachment.html>


More information about the Squeak-dev mailing list