[Mono-bugs] [Bug 76752][Nor] Changed - 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:26:41 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.13876	2005-11-18 12:26:41.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Runtime
 Version: 1.1
 OS: Windows XP
 OS Details: SP2; breaks also on Linux (Fedora Core2)
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: remoting
 AssignedTo: lluis at ximian.com                            
 ReportedBy: christiank at ict.om.org               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -46,6 +46,41 @@
 Hello World!
 
 How often does this happen? 
 
 
 Additional Information:
+
+------- Additional Comments From christiank at ict.om.org  2005-11-18 12:26 -------
+Sorry, submitted the bug before I actually finished the description.
+Here it contiunues:
+
+...(and beeps) from the console. Finally an exception appears:
+Unhandled Exception: System.NullReferenceException: Object reference 
+not set to an instance of an object
+in <0x00090> System.IO.StreamWriter:LowLevelWrite (System.String s)
+in <0x0001d> System.IO.StreamWriter:Write (System.String value)
+in <0x00010> System.IO.UnexceptionalStreamWriter:Write (System.String 
+value)
+in <0x0000e> System.IO.TextWriter:WriteLine (System.String value)
+in <0x0002b> System.IO.SynchronizedWriter:WriteLine (System.String 
+value)
+in <0x0001a> System.Console:WriteLine (System.String value)
+in <0x00037> Helloworld2_loaded.HelloWorld:SayHello ()
+in <0x00193> Helloworld2.Units.Helloworld2:Helloworld2 ()
+
+
+How often does this happen? 
+Everytime I execute the Delphi.NET .exe with mono (on WinXP or Linux). 
+When I execute it instead with MS .NET 1.1 on WinXP, it works 
+perfectly fine.
+
+Additional Information:
+Note that the Delphi.NET exe loads the C# DLL. However, even if I 
+recreate the C# DLL with Delphi.NET and try loading the Delphi.NET dll 
+the same happens. So the problem seems to be the related to the .exe, 
+not the DLL.
+Delphi.NET code: The source code for the .exe is in the file 
+Helloworld2.dpr. The source code in Helloworld2_loaded.pas is the 
+source code for the Delphi.NET version of the DLL. There were no 
+unusual compiler options set (debug code was emitted into the 
+assembly).


More information about the mono-bugs mailing list