http://bugzilla.novell.com/show_bug.cgi?id=557610
http://bugzilla.novell.com/show_bug.cgi?id=557610#c0 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: [email protected] ReportedBy: [email protected] QAContact: [email protected] 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: http://github.com/migueldeicaza/monotouch-samples/tree/master/reachability/ 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
