[Mono-bugs] [Bug 76752][Nor] New - Loading DLL into AppDomain from a Delphi.NET assembly crashes

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Nov 18 12:05:54 EST 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 christiank at ict.om.org.

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

--- shadow/76752	2005-11-18 12:05:54.000000000 -0500
+++ shadow/76752.tmp.13687	2005-11-18 12:05:54.000000000 -0500
@@ -0,0 +1,51 @@
+Bug#: 76752
+Product: Mono: Runtime
+Version: 1.1
+OS: Windows XP
+OS Details: SP2; breaks also on Linux (Fedora Core2)
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: remoting
+AssignedTo: lluis at ximian.com                            
+ReportedBy: christiank at ict.om.org               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Loading DLL into AppDomain from a Delphi.NET assembly crashes
+
+Description of Problem:
+A MS C# Sample Code from http://www.gotdotnet.com/team/clr/AppdomainFAQ.
+aspx#_Toc514058497 runs fine and as expected with mono (Creates a remote 
+application domain and invokes a method within an assembly in that 
+application domain). When I translate the C# sample code into Delphi.NET, 
+compile it with Delphi.NET and execute the .exe assembly, the mono runtime 
+crashes (on WinXP and Linux).
+
+Steps to reproduce the problem:
+1. See attached ZIP file, containing
+     a) C# code (as on the above mentioned web page),
+     b) Delphi.NET code (exact translation of the c# code), 
+     c) Resulting Delphi.NET Helloworld2.exe (linked to the C# DLL 
+Helloworld2_loaded.dll)
+
+
+2. Execute Helloworld2.exe in the delphidotnet\bin\Debug folder.
+
+3. 
+
+Actual Results:
+In the application domain: Helloworld2.exe  (NOTE: Wrong AppDomain!)
+[accessing the parameter '_greeting' in Console.WriteLine gives 
+untelligible characters (and beeps) from the console
+
+Expected Results:
+In the application domain: RemoteDomain
+Hello World!
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list