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

Bug Watch Updater 153303 at bugs.launchpad.net
Mon Oct 8 09:50:54 UTC 2012


** Changed in: mono
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to mono in Ubuntu.
https://bugs.launchpad.net/bugs/153303

Title:
  Unhandled exception in gmcs

Status in The Mono .NET development environment:
  Fix Released
Status in “mono” package in Ubuntu:
  Fix Released

Bug description:
  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$

To manage notifications about this bug go to:
https://bugs.launchpad.net/mono/+bug/153303/+subscriptions




More information about the Ubuntu-mono mailing list