[Mono-bugs] [Bug 656187] New: Default symbol writer cannot be	loaded on Windows
    bugzilla_noreply at novell.com 
    bugzilla_noreply at novell.com
       
    Sun Nov 28 07:29:55 EST 2010
    
    
  
https://bugzilla.novell.com/show_bug.cgi?id=656187
https://bugzilla.novell.com/show_bug.cgi?id=656187#c0
           Summary: Default symbol writer cannot be loaded on Windows
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: i386
        OS/Version: Windows 7
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: xacc.ide at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User
           Blocker: ---
Description of Problem:
When running the code below on Windows:
static void Main(string[] args)
{
  var ad = AppDomain.CurrentDomain;
  var da = ad.DefineDynamicAssembly(new AssemblyName("foo.dll"),
System.Reflection.Emit.AssemblyBuilderAccess.Run);
  var dm = da.DefineDynamicModule("foo", true);
}
It fails with:
Unhandled Exception: 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, Boolean emitSymbolInfo) [0x00000] in <filename unknown>:0
  at SymbolWriterBug.Program.Main (System.String[] args) [0x00000] in <filename
unknown>:0
How often does this happen? 
On Windows, all the time.
Additional Information:
Works correctly on Linux.
-- 
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