Hi,

It seems that the following consistently crashes a recent/latest Pharo 9 
image/vm on macOS:

  (ZdcSocketStream openConnectionToHostNamed: 'localhost' port: 12335) nextPut: 
0; close.

Command line, you can try it as follows:

 $ ./pharo Pharo.image eval "(ZdcSocketStream openConnectionToHostNamed: 
'localhost' port: 12335) nextPut: 0; close. #foo"

You can replace ZdcSocketStream by SocketStream, same result.

Before, trying to connect to a non-existing host:port resulted in a 
ConnectionTimedOut: Cannot connect to 127.0.0.1:12335.

Now, the code just returns and the bad stream is then used as if it is OK, 
which results in a hard crash.

Furthermore, there is no backtrace nor log.

Sven

Reply via email to