[Mono-bugs] [Bug 80618][Maj] New - Segfault calling MethodInfo.Invoke from a second AppDomain.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 25 12:52:19 EST 2007

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


--- shadow/80618	2007-01-25 12:52:19.000000000 -0500
+++ shadow/80618.tmp.27299	2007-01-25 12:52:19.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 80618
+Product: Mono: Runtime
+Version: 1.2
+OS: other
+OS Details: SUSE 10.2 and Windows XP SP2
+Status: NEW   
+Priority: Major
+Component: remoting
+AssignedTo: lluis at ximian.com                            
+ReportedBy: billholmes54 at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Segfault calling MethodInfo.Invoke from a second AppDomain.
+Sample attached and output attached.
+mcs -target:library PreProcess.cs
+mcs RunInOtherDomain.cs
+mono RunInOtherDomain.exe
+This does not always fail.  You may have to run the exe a few times.
+This was found on recent svn built versions of mono on Windows and SUSE
+10.2.  A regression from 1.2.
+Removing or changing the argument type of CreateAdditionalFiles will succeed.
+Changing line 79 in RunInOtherDomain.cs to false causes the Invoke call to
+be run in the current AppDomain and the error does not occur.
+Compiling PreProcessor.CreateAdditionalFiles into the exe works fine. 
+(uncomment ln 52 in RunInOtherDomain.cs  and run mcs RunInOtherDomain.cs

More information about the mono-bugs mailing list