[Mono-bugs] [Bug 334453] New: Unexpected pair of ICMP message type and code when pinging local machine

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 17 03:10:23 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=334453#c333723

           Summary: Unexpected pair of ICMP message type and code when
                    pinging local machine
           Product: Mono: Runtime
           Version: 1.2
          Platform: Other
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at ximian.com
          Found By: ---


When using the repro from bug #333723 to perform a ping to either the loopback
address (127.0.0.1 or localhost) or the ip address of the local machine, the
following exception is thrown:

Unhandled Exception: System.NotSupportedException: Unexpected pair of ICMP
message type and code: type is 8 and code is 0
  at System.Net.NetworkInformation.Ping+IcmpMessage.get_IPStatus () [0x00000] 
  at System.Net.NetworkInformation.Ping.Send (System.Net.IPAddress address,
Int32 timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions
options) [0x00000] 
  at System.Net.NetworkInformation.Ping.Send (System.String hostNameOrAddress,
Int32 timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions
options) [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Net.NetworkInformation.Ping:Send
(string,int,byte[],System.Net.NetworkInformation.PingOptions)
  at Program.Main (System.String[] args) [0x00000] 

The same repro works fine when I ping the host name of the local machine, or
the ip address / host name of a remote machine.

This is running Ubuntu. Everything works fine on Windows, which makes me
believe it's a runtime bug (and not a bug in
System.Net.NetworkInformation.Ping).


-- 
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.


More information about the mono-bugs mailing list