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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 21 14:24:53 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 sebastien at ximian.com.

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

--- shadow/79133	2006-08-21 14:24:53.000000000 -0400
+++ shadow/79133.tmp.20632	2006-08-21 14:24:53.000000000 -0400
@@ -0,0 +1,133 @@
+Bug#: 79133
+Product: Mono: Runtime
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: remoting
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: sebastien at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: appdomain changes (r63848) breaks valgrind-ing unit tests
+
+Description of Problem:
+Valgrind'ing the System.Drawing unit tests to check for libgdiplus leaks
+stopped working after patch r63848 was applied to SVN.
+
+Steps to reproduce the problem:
+1. svn up -r 63847
+2. valgrind system.drawing unit tests (works)
+3. svn up -r 63848
+4. valgrind system.drawing unit tests (fails)
+
+Actual Results (step 4):
+valgrind --tool=memcheck -v --leak-check=full --log-file=app
+--smc-check=all --suppressions=/home/poupou/svn/mono/data/mono.supp mono
+../../class/lib/default/nunit-console.exe
+/exclude:NotWorking,ValueAdd,CAS,InetAccess System.Drawing_test_default.dll
+NUnit version 2.2.0
+Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A.
+Vorontsov, Charlie Poole.
+Copyright (C) 2000-2003 Philip Craig.
+All Rights Reserved.
+
+OS Version: Unix 2.6.16.20    Mono Version: 1.1.4322.2032
+
+Excluded categories: NotWorking,ValueAdd,CAS,InetAccess
+Unhandled Exception:
+System.NullReferenceException: Object reference not set to an instance of
+an object
+
+Server stack trace:
+  at System.Runtime.Remoting.TypeInfo..ctor (System.Type type) [0x00000]
+  at System.Runtime.Remoting.ObjRef..ctor (System.String typeName,
+System.String uri, IChannelInfo cinfo) [0x00000]
+  at System.Runtime.Remoting.Messaging.CADMessageBase.UnmarshalArgument
+(System.Object arg, System.Collections.ArrayList args) [0x00000]
+  at System.Runtime.Remoting.Messaging.CADMessageBase.UnmarshalArguments
+(System.Object[] arguments, System.Collections.ArrayList args) [0x00000]
+  at System.Runtime.Remoting.Messaging.CADMethodCallMessage.GetArgs
+(System.Collections.ArrayList args) [0x00000]
+  at System.Runtime.Remoting.Messaging.MethodCall..ctor
+(System.Runtime.Remoting.Messaging.CADMethodCallMessage msg) [0x00000]
+  at System.AppDomain.ProcessMessageInDomain (System.Byte[] arrRequest,
+System.Runtime.Remoting.Messaging.CADMethodCallMessage cadMsg,
+System.Byte[] arrResponse,
+System.Runtime.Remoting.Messaging.CADMethodReturnMessage cadMrm) [0x00000]
+  at (wrapper remoting-invoke-with-check)
+System.AppDomain:ProcessMessageInDomain
+(byte[],System.Runtime.Remoting.Messaging.CADMethodCallMessage,byte[]&,System.Runtime.Remoting.Messaging.CADMethodReturnMessage&)
+  at
+System.Runtime.Remoting.Channels.CrossAppDomainSink.ProcessMessageInDomain
+(System.Byte[] arrRequest,
+System.Runtime.Remoting.Messaging.CADMethodCallMessage cadMsg) [0x00000]
+
+Exception rethrown at [0]:
+
+  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
+(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
+System.Exception exc, System.Object[] out_args) [0x00000]
+
+
+Expected Results (step 3):
+valgrind --tool=memcheck -v --leak-check=full --log-file=app
+--smc-check=all --suppressions=/home/poupou/svn/mono/data/mono.supp mono
+../../class/lib/default/nunit-console.exe
+/exclude:NotWorking,ValueAdd,CAS,InetAccess System.Drawing_test_default.dll
+NUnit version 2.2.0
+Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A.
+Vorontsov, Charlie Poole.
+Copyright (C) 2000-2003 Philip Craig.
+All Rights Reserved.
+
+OS Version: Unix 2.6.16.20    Mono Version: 1.1.4322.2032
+
+Excluded categories: NotWorking,ValueAdd,CAS,InetAccess
+..............................................................
+** (../../class/lib/default/nunit-console.exe:9801): WARNING **: NOT
+IMPLEMENTED: GdipWidenPath
+.......................................................................N...
+** (../../class/lib/default/nunit-console.exe:9801): WARNING **: Path
+conversion requested 0 bytes (8388608 x 8388608). Maximum size is 8388608
+bytes.
+................................................N.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................N.N.N.N..N.N.......................N...................................................................................................................................................................................................................................................................................................
 ......................
+
+Tests run: 1130, Failures: 0, Not run: 9, Time: 3160.290708 seconds
+
+Tests run: 1130, Failures: 0, Not run: 9, Time: 3160.290708 seconds
+
+Tests not run:
+1) MonoTests.System.Drawing.RegionNonRectTest.Region_Ctor_RegionData : this
+fails when using MS GDI+ - with or without Mono
+2) MonoTests.System.Drawing.TestBitmap.Rotate1bit4bit : this fails when
+using MS GDI+ - with or without Mono
+3) MonoTests.System.Drawing.Drawing2D.GraphicsPathTest.Warp_NullMatrix :
+results aren't always constant and differs from 1.x and 2.0
+4) MonoTests.System.Drawing.Drawing2D.GraphicsPathTest.Warp_EmptyMatrix :
+results aren't always constant and differs from 1.x and 2.0
+5)
+MonoTests.System.Drawing.Drawing2D.GraphicsPathTest.Warp_Matrix_NonInvertible
+: results aren't always constant and differs from 1.x and 2.0
+6) MonoTests.System.Drawing.Drawing2D.GraphicsPathTest.Warp_Perspective :
+results aren't always constant and differs from 1.x and 2.0
+7)
+MonoTests.System.Drawing.Drawing2D.GraphicsPathTest.Warp_Flatness_Negative
+: results aren't always constant and differs from 1.x and 2.0
+8)
+MonoTests.System.Drawing.Drawing2D.GraphicsPathTest.Warp_Flatness_OverOne :
+results aren't always constant and differs from 1.x and 2.0
+9)
+MonoTests.System.Drawing.Drawing2D.GraphicsPathTest.Widen_Pen_Matrix_NonInvertible
+: results aren't always constant and differs from 1.x and 2.0
+
+
+How often does this happen? 
+Always since r63848
+
+Additional Information:


More information about the mono-bugs mailing list