[Vm-dev] squeak on opensolaris 2009.06

Bert Freudenberg bert at freudenbergs.de
Mon Nov 9 11:38:01 UTC 2009


On 08.11.2009, at 22:06, John M McIntosh wrote:

> That's because in
> void sqSocketConnectToPort(SocketPtr s, sqInt addr, sqInt port)
>
>      result= connect(SOCKET(s), (struct sockaddr *)&saddr, sizeof 
> (saddr));
>
> does not check for
>
> [EINTR]            Its execution was interrupted by a signal.
>
> which should cause a retry condition.
>
> The  sqUnixSocket.c  is extremely poor in it's ability to handle  
> EINTR return code.
> You could check with whoever support that code and see if it can be  
> fixed.
>
> Also I recall something about you being able to turn timer  
> interrupts off via a unix squeak cmd line option which might help a  
> bit?
>
>
> On 2009-11-08, at 12:17 PM, Randal L. Schwartz wrote:
>
>> However, every time it tries to open a socket, I get:
>>
>> sqConnectToPort: Interrupted system call.

This very much sounds like it could be the issue. A couple years back  
I was called in to make the Browser plugin work on Solaris. The main  
issue turned out to be unhandled return codes. The dominance of Linux  
makes us sloppy I guess ...

- Bert -



More information about the Vm-dev mailing list