[Mono-bugs] [Bug 644606] New: System.ExecutionEngineException when creating System.Reflection.Emit.ModuleBuilder instance

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 7 11:12:19 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=644606

https://bugzilla.novell.com/show_bug.cgi?id=644606#c0


           Summary: System.ExecutionEngineException when creating
                    System.Reflection.Emit.ModuleBuilder instance
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: x86-64
        OS/Version: Windows Server 2008
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: hardcaseminator at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


I've tried to build Nemerle compiler trunk sources on Mono 2.8.

System.ExecutionEngineException exception is thrown when
System.Reflection.Emit.AssemblyBuilder.DefineDynamicModule method is invoked
with parameter emitSymbolInfo set to true.


Steps to reproduce the problem:
1. Get latest Nemerle compiler binaries from here:

http://code.google.com/p/nemerle/downloads/detail?name=NemerleBinaries-.NET-1.0.0.9212.zip

2. Compile following simple program with debug info (/debug+ switch)

module Program { Main() : void {} }


Expected Results:
Normal instantiation of ModuleBuilder class with ability of debug info
emitting.


How often does this happen? 
Always


Stack trace:

internal compiler error: got some unknown exception of type
System.ExecutionEngineException: The assembly for default symbol writer cannot
be loaded
  at System.Reflection.Emit.ModuleBuilder..ctor
(System.Reflection.Emit.AssemblyBuilder assb, System.String name, System.String
fullyqname, Boolean emitSymbolInfo, Boolean transient) [0x00000] in <filename
unknown>:0 
  at System.Reflection.Emit.AssemblyBuilder.DefineDynamicModule (System.String
name, System.String fileName, Boolean emitSymbolInfo, Boolean transient)
[0x00000] in <filename unknown>:0 
  at System.Reflection.Emit.AssemblyBuilder.DefineDynamicModule (System.String
name, System.String fileName, Boolean emitSymbolInfo) [0x00000] in <filename
unknown>:0 
  at Nemerle.Compiler.TypesManager.CreateAssembly () [0x00000] in <filename
unknown>:0 
  at Nemerle.Compiler.ManagerClass.Run () [0x00000] in <filename unknown>:0 
  at Nemerle.CommandlineCompiler.MainClass.main_with_catching () [0x00000] in
<filename unknown>:0

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list