[Mono-bugs] [Bug 65416][Maj] New - Segfaults and hangs with new appdomain on SMP box
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 6 Sep 2004 21:53:34 -0400 (EDT)
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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=65416
--- shadow/65416 2004-09-06 21:53:34.000000000 -0400
+++ shadow/65416.tmp.15723 2004-09-06 21:53:34.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 65416
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bmaurer@users.sf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Segfaults and hangs with new appdomain on SMP box
+
+If I run the following piece of code on an SMP box:
+
+using System;
+using System.Threading;
+
+class X : MarshalByRefObject {
+ static void Main () {
+ AppDomain ad = AppDomain.CreateDomain ("MyFriendlyDomain");
+ X x = (X) ad.CreateInstanceFromAndUnwrap ("t.exe", "X");
+ x.Foo (AppDomain.CurrentDomain);
+ }
+
+
+ public void Foo (AppDomain ad)
+ {
+ ad.DoCallBack (new CrossAppDomainDelegate (Bar));
+ }
+
+ public static void Bar ()
+ {
+ }
+}
+
+I get segfaults about 1/4th of the time occasionally, it will hang. I tried
+to reproduce this here on a uni-processor box, but was unable to.