[ubuntu-mono] [Bug 153303] Unhandled exception in gmcs

Test-tools roland at verifysoft.de
Tue Oct 16 14:53:09 BST 2007


Public bug reported:

gmcs crashes with attached test-case, Microsoft compiler compiles it,
the symptom:

roland at Vista:~/svn/mcs/tests$ /usr/bin/gmcs null-ref.cs
null-ref.cs(17,17): warning CS0219: The variable `foo' is assigned but its value is never used

Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required.
  at Mono.CSharp.ConstructedType..ctor (System.Type t, Mono.CSharp.TypeParameter[] type_params, Location l) [0x00000]
  at Mono.CSharp.TypeContainer.DoResolveType () [0x00000]
  at Mono.CSharp.TypeContainer.ResolveType () [0x00000]
  at Mono.CSharp.TypeContainer.ResolveType () [0x00000]
  at Mono.CSharp.RootScopeInfo.LinkScopes () [0x00000]
  at Mono.CSharp.ToplevelBlock.CompleteContexts (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters ip, IMethodData md, System.Boolean& unreachable) [0x00000]
  at Mono.CSharp.EmitContext.EmitTopBlock (IMethodData md, Mono.CSharp.ToplevelBlock block) [0x00000]
  at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace parent) [0x00000]
  at Mono.CSharp.Method.Emit () [0x00000]
  at Mono.CSharp.TypeContainer.EmitType () [0x00000]
  at Mono.CSharp.RootContext.EmitCode () [0x00000]
  at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000]
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
roland at Vista:~/svn/mcs/tests$

** Affects: mono (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Unhandled exception in gmcs
https://bugs.launchpad.net/bugs/153303
You received this bug notification because you are a member of MOTU Mono
Team, which is a bug contact for mono in ubuntu.



More information about the Ubuntu-mono mailing list