зеркало из https://github.com/mono/mail-archives.git
105 строки
4.6 KiB
HTML
105 строки
4.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 75377][Min] Changed - Cross-AppDomain delegate
|
|
marshaling bug
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075377%5D%5BMin%5D%20Changed%20-%20Cross-AppDomain%20delegate%0A%09marshaling%20bug&In-Reply-To=bug-75377%40chernobyl.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="030964.html">
|
|
<LINK REL="Next" HREF="030966.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 75377][Min] Changed - Cross-AppDomain delegate
|
|
marshaling bug</H1>
|
|
<B>bugzilla-daemon at bugzilla.ximian.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075377%5D%5BMin%5D%20Changed%20-%20Cross-AppDomain%20delegate%0A%09marshaling%20bug&In-Reply-To=bug-75377%40chernobyl.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 75377][Min] Changed - Cross-AppDomain delegate
|
|
marshaling bug">bugzilla-daemon at bugzilla.ximian.com
|
|
</A><BR>
|
|
<I>Sat Jun 25 19:29:41 EDT 2005</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="030964.html">[Mono-bugs] [Bug 75379][Nor] Changed - DataGrid TemplateColumn
|
|
ItemStyle-HorizontalAlign has become a case sensitive attribute
|
|
</A></li>
|
|
<LI>Next message: <A HREF="030966.html">[Mono-bugs] [Bug 75377][Min] Changed - Cross-AppDomain delegate
|
|
marshaling bug
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#30965">[ date ]</a>
|
|
<a href="thread.html#30965">[ thread ]</a>
|
|
<a href="subject.html#30965">[ subject ]</a>
|
|
<a href="author.html#30965">[ 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">kornelpal at hotmail.com.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75377">http://bugzilla.ximian.com/show_bug.cgi?id=75377</A>
|
|
|
|
--- shadow/75377 2005-06-25 19:09:53.000000000 -0400
|
|
+++ shadow/75377.tmp.19352 2005-06-25 19:29:41.000000000 -0400
|
|
@@ -113,6 +113,31 @@
|
|
|
|
It's not all that unreasonable to say "you must take care in handling
|
|
the intptrs so that you don't call into another AD".
|
|
|
|
Anyways, we should see what msft has to say about this. Can you post
|
|
the bug reference on msdn.
|
|
+
|
|
+------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">kornelpal at hotmail.com</A> 2005-06-25 19:29 -------
|
|
+Reference:
|
|
+<A HREF="http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?">http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?</A>
|
|
+feedbackid=3e46264b-6cb4-431f-9726-c8d3dbd55927
|
|
+
|
|
+It can't be the expected result to execute instance methods in a
|
|
+different AppDomain than they belong to. There are two resonable
|
|
+solutions: disallow cross AppDomain delegate marshaling or execute
|
|
+methods in the right AppDomain. The current behaviour is a nonsense.
|
|
+
|
|
+>"fixing" this bug wouldn't make us run real life programs any
|
|
+>better.
|
|
+
|
|
+I think that delegate marshaling is a real life scenario. Unmanaged
|
|
+code is portable at source code level and there are situations when
|
|
+it is needed. And when you pass marshaled delegates to unmanaged
|
|
+code that code can pass back marshaled delegates to managed code
|
|
+even that are in different AppDomain.
|
|
+
|
|
+>It's not all that unreasonable to say "you must take care in
|
|
+>handling the intptrs so that you don't call into another AD".
|
|
+
|
|
+As you get and IntPtr to an unmanaged funtion it's the runtimes
|
|
+responsibility to take care of AppDomain as you cannot.
|
|
</PRE>
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="030964.html">[Mono-bugs] [Bug 75379][Nor] Changed - DataGrid TemplateColumn
|
|
ItemStyle-HorizontalAlign has become a case sensitive attribute
|
|
</A></li>
|
|
<LI>Next message: <A HREF="030966.html">[Mono-bugs] [Bug 75377][Min] Changed - Cross-AppDomain delegate
|
|
marshaling bug
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#30965">[ date ]</a>
|
|
<a href="thread.html#30965">[ thread ]</a>
|
|
<a href="subject.html#30965">[ subject ]</a>
|
|
<a href="author.html#30965">[ 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>
|