https://bugzilla.novell.com/show_bug.cgi?id=455894


           Summary: UdpClient.Close triggers an NRE from a blocked
                    UdpClient.Receive call
           Product: Mono: Class Libraries
           Version: 2.0.x
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


If UdpClient.Close() is called from one thread while UdpClient.Receive() is
blocking from another, the latter call will throw a NullReferenceException. 
MS.NET throws a SocketException, and MSDN seems to indicate that this should be
the case.

I have attached a sample that may be used to test this problem.  If required I
can write a proper NUnit test around it.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to