mail-archives/mono-bugs/2005-June/030709.html

111 строки
4.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 75336][Min] New - Dns.BeginResolve with exception
causes unhandled exception even when 'handled' in callback
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075336%5D%5BMin%5D%20New%20-%20Dns.BeginResolve%20with%20exception%0A%09causes%20unhandled%20exception%20even%20when%20%27handled%27%20in%20callback&In-Reply-To=bug-75336%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="030708.html">
<LINK REL="Next" HREF="030710.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 75336][Min] New - Dns.BeginResolve with exception
causes unhandled exception even when 'handled' in callback</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075336%5D%5BMin%5D%20New%20-%20Dns.BeginResolve%20with%20exception%0A%09causes%20unhandled%20exception%20even%20when%20%27handled%27%20in%20callback&In-Reply-To=bug-75336%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 75336][Min] New - Dns.BeginResolve with exception
causes unhandled exception even when 'handled' in callback">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Mon Jun 20 22:26:14 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="030708.html">[Mono-bugs] [Bug 75335][Wis] Changed - [x86-64] corlib doesn't
compile
</A></li>
<LI>Next message: <A HREF="030710.html">[Mono-bugs] [Bug 75336][Min] Changed - Dns.BeginResolve with
exception causes unhandled exception even when 'handled' in callback
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30709">[ date ]</a>
<a href="thread.html#30709">[ thread ]</a>
<a href="subject.html#30709">[ subject ]</a>
<a href="author.html#30709">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">harningt at gmail.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75336">http://bugzilla.ximian.com/show_bug.cgi?id=75336</A>
--- 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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">harningt at gmail.com</A>
+QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+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]
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="030708.html">[Mono-bugs] [Bug 75335][Wis] Changed - [x86-64] corlib doesn't
compile
</A></li>
<LI>Next message: <A HREF="030710.html">[Mono-bugs] [Bug 75336][Min] Changed - Dns.BeginResolve with
exception causes unhandled exception even when 'handled' in callback
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30709">[ date ]</a>
<a href="thread.html#30709">[ thread ]</a>
<a href="subject.html#30709">[ subject ]</a>
<a href="author.html#30709">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>