You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following snippet:
{code:java}
Pid = spawn(fun() -> {ok, S} = socket:open(inet, dgram, udp), [socket:sendto(S, <<0:8000>>, #{family => inet, port => 12345, addr => {232,0,1,1}}) || _ <- lists:seq(1,10000)] end), timer:sleep(100), exit(Pid, shutdown).
{code}
Produces the following message:
{code:java}
=WARNING MSG==== 04-Aug-2020::13:42:45.551079 ===
esock_stop_handle_current {-1}: Failed sending abort (closed) message to current writer <0.98.0>
{code}
The snippet is sending data over a multicast IP address but this is mostly to make sure it goes through the router as the message is probably related to the sender exiting while waiting for the reply inside socket:sendto.
I suppose this is a debug printout, especially since I can't seem to find it in my Common Test logs, only on the console. But it would be great to not have that printed in this scenario.
The text was updated successfully, but these errors were encountered:
The intricate interactions between different parts of the NIF code have been reworked regarding socket stop, for the master branch. I tried to reproduce this on master, but could not.
Can you reproduce this on master?
Original reporter:
essen
Affected version:
OTP-23.0
Component:
kernel
Migrated from: https://bugs.erlang.org/browse/ERL-1325
The text was updated successfully, but these errors were encountered: