[Mono-bugs] [Bug 45959][Cri] Changed - UDP Sockets: Multicast and Broadcast Datagrams are not received

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 10 Jul 2003 08:55:09 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dick@ximian.com.


--- shadow/45959	Tue Jul  8 02:52:14 2003
+++ shadow/45959.tmp.13989	Thu Jul 10 08:55:09 2003
@@ -1,13 +1,13 @@
 Bug#: 45959
 Product: Mono/Class Libraries
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: 
-Status: NEW   
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: Unknown
 Priority: Critical
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: giuseppe.greco@agamura.com               
 QAContact: mono-bugs@ximian.com
@@ -187,6 +187,21 @@
 Created an attachment (id=4801)
 Source code to reproduce the problem
 ------- Additional Comments From giuseppe.greco@agamura.com  2003-07-08 02:52 -------
 The attachment 4801 is a tar.gz file.
+------- Additional Comments From dick@ximian.com  2003-07-10 08:55 -------
+In fact, the datagrams are received.  The problem in this test case is
+the race condition between the async delegate performing the
+ReceiveFrom(), and the loop polling and creating a new buffer:
+Poll() says that data is there to be read
+A new buffer is created
+A new async thread is launched to read data into this buffer
+Poll() says that data is still there
+A new buffer is created
+The async thread reads the data into the old buffer
+The async thread calls the callback, which looks in the new buffer and
+doesn't find anything.