[Mono-bugs] [Bug 75336][Min] New - Dns.BeginResolve with exception causes unhandled exception even when 'handled' in callback

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 20 22:26:14 EDT 2005


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 harningt at gmail.com.

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

--- shadow/75336	2005-06-20 22:26:14.000000000 -0400
+++ shadow/75336.tmp.24374	2005-06-20 22:26:14.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 75336
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: harningt at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Dns.BeginResolve with exception causes unhandled exception even when 'handled' in callback
+
+Description of Problem:
+ Exception thrown twice for Dns.BeginResolve [likely to be the same for any
+BeginInvoke method since that's where it originated].
+ Once inside the callback code at EndResolve (where it should be).
+ Once at the end of the invocation (it seems) outside the callback code.
+
+Steps to reproduce the problem:
+1. Cause an exception somehow within BeginResolve (ex: invalid hostname)
+2. Catch the exception inside the callback (else the callback aborts right
+there)
+
+Actual Results:
+ 2 Exceptions thrown in callback thread
+
+Expected Results:
+ 1 Exception thrown, only inside callback code
+
+How often does this happen? 
+ Every time [so far]


More information about the mono-bugs mailing list