[Mono-bugs] [Bug 79133][Nor] Changed - appdomain changes (r63848) breaks valgrind-ing unit tests

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 23 19:02:22 EDT 2006


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 lluis at ximian.com.

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

--- shadow/79133	2006-08-21 14:42:15.000000000 -0400
+++ shadow/79133.tmp.23139	2006-08-23 19:02:22.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 79133
 Product: Mono: Runtime
 Version: 1.0
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: Unknown
 Priority: Normal
 Component: remoting
 AssignedTo: lluis at ximian.com                            
 ReportedBy: sebastien at ximian.com               
 QAContact: mono-bugs at ximian.com
@@ -132,6 +132,28 @@
 
 Additional Information:
 
 ------- Additional Comments From gonzalo at ximian.com  2006-08-21 14:42 -------
 I commited that patch per Miguel request, but Lluis is the one who
 wrote it.
+
+------- Additional Comments From lluis at ximian.com  2006-08-23 19:02 -------
+The reason why the tests run when using "make run-tests" and does not
+when using the valgrind command, is that the makefile adds the
+following to the command:
+MONO_PATH="../../class/lib/default::$MONO_PATH. This is needed because
+now appdomains don't inherit assemblies from the main domain, so the
+test domain has to load nunit-console.exe again, which is located at
+that directory.
+
+so, the following command works:
+
+MONO_PATH="../../class/lib/default::$MONO_PATH" valgrind
+--tool=memcheck -v --leak-check=full --log-file=app --smc-check=all
+--suppressions=/home/lluis/work/mono/data/mono.supp mono
+../../class/lib/default/nunit-console.exe
+/exclude:NotWorking,ValueAdd,CAS,InetAccess
+System.Drawing_test_default.dll
+
+In any case I did a small change in ObjRef, so it will now a
+TypeLoadException if the type can't be found, instead of a nullref.
+


More information about the mono-bugs mailing list