[Mono-bugs] [Bug 79282][Nor] New - build with sgen GC fails due to NullReferenceException
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Sep 5 05:27:18 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 max at duempel.org.
http://bugzilla.ximian.com/show_bug.cgi?id=79282
--- shadow/79282 2006-09-05 05:27:18.000000000 -0400
+++ shadow/79282.tmp.6501 2006-09-05 05:27:18.000000000 -0400
@@ -0,0 +1,96 @@
+Bug#: 79282
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details: Debian etch AMD64, gcc 4.1
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: GC
+AssignedTo: lupus at ximian.com
+ReportedBy: max at duempel.org
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: build with sgen GC fails due to NullReferenceException
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+The build process fails with a System.NullReferenceException.
+
+Steps to reproduce the problem:
+1. ./configure --prefix=/usr/local/stow/mono-1.1.17 --with-gc=sgen
+2. make
+
+Actual Results:
+
+make[8]: Entering directory `/usr/src/mono-1.1.17/mcs/class/corlib'
+MONO_PATH="../../class/lib/monolite:$MONO_PATH"
+/usr/src/mono-1.1.17/runtime/mono-wrapper ../../class/lib/monolite/mcs.exe
+/codepage:28591 -nowarn:169,612,618,649 -d:INSIDE_CORLIB -d:NET_1_1
+-d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug /noconfig -unsafe -nostdlib
+-resource:resources/collation.core.bin
+-resource:resources/collation.tailoring.bin
+-resource:resources/collation.cjkCHS.bin
+-resource:resources/collation.cjkCHT.bin
+-resource:resources/collation.cjkJA.bin
+-resource:resources/collation.cjkKO.bin
+-resource:resources/collation.cjkKOlv2.bin -target:library
+-out:mscorlib.dll @corlib.dll.sources
+
+Unhandled Exception: Mono.CSharp.InternalErrorException:
+System.Runtime.Serialization/SerializationException.cs(51,10):
+System.Runtime.Serialization.SerializationException.SerializationException(string,
+Exception) ---> System.NullReferenceException: Object reference not set to
+an instance of an object
+ at Mono.CSharp.TypeManager.LookupTypeContainer (System.Type t) [0x00000]
+ at Mono.CSharp.DeclSpace.LookupNestedTypeInHierarchy (System.String name)
+[0x00000]
+ at Mono.CSharp.DeclSpace.LookupType (System.String name, Location loc,
+Boolean ignore_cs0104) [0x00000]
+ at Mono.CSharp.SimpleName.ResolveAsTypeStep (IResolveContext ec, Boolean
+silent) [0x00000]
+ at Mono.CSharp.Expression.ResolveAsBaseTerminal (IResolveContext ec,
+Boolean silent) [0x00000]
+ at Mono.CSharp.Expression.ResolveAsTypeTerminal (IResolveContext ec,
+Boolean silent) [0x00000]
+ at Mono.CSharp.Parameter.Resolve (IResolveContext ec) [0x00000]
+ at Mono.CSharp.Parameters.Resolve (IResolveContext ec) [0x00000]
+ at Mono.CSharp.MethodCore.DoDefineParameters () [0x00000]
+ at Mono.CSharp.Constructor.CheckBase () [0x00000]
+ at Mono.CSharp.Constructor.Define () [0x00000]
+ at Mono.CSharp.TypeContainer+MemberCoreArrayList.DefineContainerMembers
+() [0x00000] --- End of inner exception stack trace ---
+
+ at Mono.CSharp.TypeContainer+MemberCoreArrayList.DefineContainerMembers
+() [0x00000]
+ at Mono.CSharp.TypeContainer.DefineContainerMembers
+(Mono.CSharp.MemberCoreArrayList mcal) [0x00000]
+ at Mono.CSharp.Class.DefineContainerMembers
+(Mono.CSharp.MemberCoreArrayList list) [0x00000]
+ at Mono.CSharp.TypeContainer.DoDefineMembers () [0x00000]
+ at Mono.CSharp.Class.DoDefineMembers () [0x00000]
+ at Mono.CSharp.TypeContainer.DefineMembers () [0x00000]
+ at Mono.CSharp.RootContext.PopulateTypes () [0x00000]
+ at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000]
+ at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
+make[8]: *** [../../class/lib/basic/mscorlib.dll] Error 1
+make[8]: Leaving directory `/usr/src/mono-1.1.17/mcs/class/corlib'
+make[7]: *** [do-all] Error 2
+
+
+Expected Results:
+
+A complete build without failures.
+
+How often does this happen?
+
+Every time I try to build mono.
+
+Additional Information:
+
+The mono version is 1.1.17; on 1.1.16.1 I experienced the same failure.
More information about the mono-bugs
mailing list