[Mono-list] gmcs crashes on C#3 solution

Felix Natter felix.natter at smail.inf.fh-brs.de
Sat Mar 5 05:16:27 EST 2011


hello,

when trying to compile a CSharp3 solution using monodevelop, gmcs crashes:

/usr/bin/gmcs /noconfig
 "/out:/home/felix/doks/CSMath/ANTLR/antlr-3.3/runtime/CSharp3/Sources/Antlr3.Runtime/bin/Debug/Antlr3.Runtime.dll"
 "/r:System.dll" "/r:System.Core.dll" /nologo /warn:4
 "/keyfile:/home/felix/doks/CSMath/ANTLR/antlr-3.3/runtime/CSharp3/Sources/Antlr3.Runtime/Key.snk"
 /debug:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG;TRACE"  /t:library
 [many .cs files...]

Unhandled Exception: System.ArgumentException: blob is too small.
  at Mono.Security.Cryptography.CryptoConvert.FromCapiPrivateKeyBlob (System.Byte[] blob, Int32 offset) [0x00000] in <filename unknown>:0 
  at Mono.Security.Cryptography.CryptoConvert.FromCapiPrivateKeyBlob (System.Byte[] blob) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.AssemblyClass.GetAssemblyName (System.String name, System.String output) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.CodeGen.Init (System.String name, System.String output, Boolean want_debugging_support, Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Is there another recommended way to build *.sln other than using monodevelop?

I am using Mono 2.6.7. Should I report a bug or is this expected because
Mono does not support CSharp3 ?

Thanks!
-- 
Felix Natter


More information about the Mono-list mailing list