[Mono-bugs] [Bug 557610] New: NetworkReachability crashes when disposed

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 22 13:14:56 EST 2009



           Summary: NetworkReachability crashes when disposed
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: mike.bluestein at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us)
AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10

Disposing the NetworkReachability class causes a crash with a message: signal
12: Bad system call.

You can use the code in the reachability sample to demonstrate this. It works
fine on the sim. Fails on the device in both release and debug.

The reachability sample is here:

See the IsHostReachable function in the file reachability.cs for the using
block in question.

Reproducible: Always

Steps to Reproduce:
1.place a using around NetworkReachabilty (see Reachability sample)
2.the code works fine but crashes when you exit the using block
3.removing the using block allows the code to return to the caller, where it
then crashes
Actual Results:  
signal 12: Bad system call

Expected Results:  
continued execution of the application code

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list