[Mono-bugs] [Bug 77642][Nor] New - Compiler crash (ArgumentNullException)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Feb 25 09:17:51 EST 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 marek.sieradzki at gmail.com.

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

--- shadow/77642	2006-02-25 09:17:51.000000000 -0500
+++ shadow/77642.tmp.31895	2006-02-25 09:17:51.000000000 -0500
@@ -0,0 +1,86 @@
+Bug#: 77642
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: marek.sieradzki at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Compiler crash (ArgumentNullException)
+
+Description of Problem: Compiler crashes instead of reporting an error.
+
+
+Steps to reproduce the problem:
+1. Download Microsoft.Build.diff.gz
+2. Patch the mcs module
+3. Go to mcs/class/Microsoft.Build.Tasks
+4. Run PROFILE=net_2_0 make
+
+Actual Results:
+
+make all-local
+make[1]: Wejście do katalogu
+`/home/marek/pkg/svn/mcs/class/Microsoft.Build.Tasks'
+MONO_PATH="../../class/lib/net_2_0:$MONO_PATH"
+/home/marek/pkg/svn/mono/runtime/mono-wrapper  ../../gmcs/gmcs.exe
+/codepage:28591   -d:NET_1_1 -d:NET_2_0 -debug /noconfig /r:mscorlib.dll
+/r:System.dll /r:System.Windows.Forms.dll /r:Microsoft.Build.Utilities.dll
+/r:Microsoft.Build.Framework.dll -target:library
+-out:../../class/lib/net_2_0/Microsoft.Build.Tasks.dll 
+ at Microsoft.Build.Tasks.dll.sources
+Microsoft.Build.Tasks/Exec.cs(109,14): warning CS0108:
+`Microsoft.Build.Tasks.Exec.ExitCode' hides inherited member
+`Microsoft.Build.Utilities.ToolTask.ExitCode'. Use the new keyword if
+hiding was intended
+/home/marek/pkg/svn/mcs/class/lib/net_2_0/Microsoft.Build.Utilities.dll:
+`Microsoft.Build.Utilities.ToolTask.ExitCode', name of symbol related to
+previous warning
+
+Unhandled Exception: System.ArgumentNullException: null key
+Parameter name: key
+in <0x00182> System.Collections.Hashtable:get_Item (System.Object key)
+in <0x0001b> Mono.CSharp.TypeManager:GetParameterData
+(System.Reflection.MethodBase mb)
+in <0x00052> Mono.CSharp.TypeManager:GetFullNameSignature
+(System.Reflection.MemberInfo mi)
+in <0x0005c> Mono.CSharp.Report:SymbolRelatedToPreviousError
+(System.Reflection.MemberInfo mi)
+in <0x001b6> Mono.CSharp.PropertyBase:FindOutBaseMethod
+(Mono.CSharp.TypeContainer container, System.Type base_ret_type)
+in <0x00147> Mono.CSharp.MethodCore:CheckBase ()
+in <0x00053> Mono.CSharp.Property:Define ()
+in <0x00056>
+Mono.CSharp.TypeContainer+MemberCoreArrayList:DefineContainerMembers ()
+in <0x00014> Mono.CSharp.TypeContainer:DefineContainerMembers
+(Mono.CSharp.MemberCoreArrayList mcal)
+in <0x0056f> Mono.CSharp.TypeContainer:DoDefineMembers ()
+in <0x0004a> Mono.CSharp.TypeContainer:DefineMembers ()
+in <0x00221> Mono.CSharp.RootContext:PopulateTypes ()
+in <0x0099d> Mono.CSharp.Driver:MainDriver (System.String[] args)
+in <0x00051> Mono.CSharp.Driver:Main (System.String[] args)
+make[1]: *** [../../class/lib/net_2_0/Microsoft.Build.Tasks.dll] B&#322;&#261;d 1
+make[1]: Opuszczenie katalogu
+`/home/marek/pkg/svn/mcs/class/Microsoft.Build.Tasks'
+make: *** [do-all] B&#322;&#261;d 2
+
+
+Expected Results:
+
+
+
+How often does this happen? 
+
+Always
+
+Additional Information:
+
+It's probably caused by Microsoft.Build.Tasks/Exec.cs.


More information about the mono-bugs mailing list