[PD-dev] [ pure-data-Bugs-2966186 ] tcpserver: crashes when disconnecting several clients

SourceForge.net noreply at sourceforge.net
Tue Mar 9 18:37:04 CET 2010


Bugs item #2966186, was opened at 2010-03-09 05:19
Message generated for change (Comment added) made by mrpeach
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2966186&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: None
Status: Pending
Resolution: Fixed
Priority: 8
Private: No
Submitted By: IOhannes m zmlnig (zmoelnig)
Assigned to: Martin Peach (mrpeach)
Summary: tcpserver: crashes when disconnecting several clients

Initial Comment:
when connecting to clients to a single tcpserver, and then disconnecting (via the "disconnectclient 1" message to tcpserver) both of them, Pd crashes



----------------------------------------------------------------------

>Comment By: Martin Peach (mrpeach)
Date: 2010-03-09 12:37

Message:
OK, and I have also moved the client-related info into the same struct.

----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2010-03-09 05:29

Message:
for what it is worth: i have submitted the fix as rev13197 to trunk

i hope this is ok for martin

----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2010-03-09 05:27

Message:
attached patch fixes the problem (one of the connection-specific elements
was not copied when a client was removed from the beginning of the list)

i really think that all connection-info should live in a single array of a
client-specific structure, rather than 5 different arrays...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2966186&group_id=55736




More information about the Pd-dev mailing list