[Mono-bugs] [Bug 82000][Nor] New - Exception attempting to join IPv6 multicast group

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jul 3 11:21:42 EDT 2007


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 phbaer at npw.net.

http://bugzilla.ximian.com/show_bug.cgi?id=82000

--- shadow/82000	2007-07-03 11:21:42.000000000 -0400
+++ shadow/82000.tmp.15061	2007-07-03 11:21:42.000000000 -0400
@@ -0,0 +1,59 @@
+Bug#: 82000
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: Ubuntu Feisty AMD64
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: phbaer at npw.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Exception attempting to join IPv6 multicast group
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When attempting to join an IPv6 multicast group the following exception is
+thrown:
+
+Unhandled Exception: System.Net.Sockets.SocketException: Invalid arguments
+  at System.Net.Sockets.Socket.SetSocketOption (SocketOptionLevel level,
+SocketOptionName name, System.Object opt_value) [0x00000] 
+  at mcast.Main (System.String[] args) [0x00000] 
+
+The strace output reads as follows:
+
+bind(7, {sa_family=AF_INET6, sin6_port=htons(12345), inet_pton(AF_INET6,
+"::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
+setsockopt(7, SOL_IPV6, IPV6_ADD_MEMBERSHIP,
+"\0\0\0\0\0\0\0\0\30\314\7\0\0\0\0\0", 16) = -1 EINVAL (Invalid argument)
+
+Please find a testcase attached. Similar bugs have been filed earlier
+(#80593 for example), mostly regarding architecture issues. This time it
+works well for IPv4 addresses but fails for IPv6.
+
+The most current Linux Installer for x86 from www.mono-project.org produced
+the same output. Under MS .NET 3.0, however, the testcase executes without
+errors.
+
+Steps to reproduce the problem:
+1. Create a new IPv6 socket
+2. Bind the socket
+3. Subscribe to the IPv6 mcast group
+
+Actual Results:
+Exception
+
+Expected Results:
+Wait until some data are received then exit.
+
+How often does this happen? 
+Always
+
+Additional Information:


More information about the mono-bugs mailing list