[PD-dev] mrpeach/tcpserver two more bugs

Ivica Ico Bukvic ico at vt.edu
Wed May 5 23:55:01 CEST 2010


OK, two more bugs, first one being show-stopper at times totally
freezing Pd.

When a tcpclient is connected and then tcpserver mysteriously disappears
(e.g. it is cut from the patch or remote machine crashes) tcpclient
properly reports disconnect. However, if one connects tcpclient and then
presses redundantly connect one more time (and gets "error: already
connected" message), if at this point tcpserver disappears, tcpclient
does not properly report disconnection and continues to believe it is
still connected. Consequent connects at random times may freeze Pd.

When running in -rt mode with jack clicking on connect twice in a row
sometimes freezes Pd as well.

Seems to me whatever it is has to do with connect/disconnect aspect of
tcpclient.

=======================================================================

the second (minor?) bug is the fact when tcpserver mysteriously
disappears (e.g. a remote machine crashes or whatever) tcpclient that
was connected to it does not properly reports that it has lost
connection but if one clicks on disconnect, it still reports as if one
has managed to disconnect rather than saying "not connected."

Both of these issues happen on Ubuntu/Linux.

Best wishes,

Ico 





More information about the Pd-dev mailing list