[Mono-bugs] [Bug 421064] New: Missing method exception for verifiable assembly.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 28 08:22:40 EDT 2008


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


           Summary: Missing method exception for verifiable assembly.
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=236006)
 --> (https://bugzilla.novell.com/attachment.cgi?id=236006)
zipped file with repro assemblies

Repro:
Checkout mono-basic r109621.
Download the attached zip file, unzip contents into
mono-basic/vbnc/vbnc/tests/SelfTest
execute rerun.sh.

Note these assemblies were compiled by MS vbc compiler (and of course do pass
peverify).

I also find it interesting that 'mono --compile-all vbnc.exe' does not cause
any errors.

Result:
rolf at linux:/mono/main/src/mono-basic/vbnc/vbnc/tests/SelfTest> rerun.sh

                                                  DEBUG RUN

Visual Basic.Net Compiler version 0.0.0.6181 Last Write: 28/08/2008 14:16:54
Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.


Compiled with Cecil support.
Starting Parse

** (vbnc.exe:9231): WARNING **: Missing method vbnc.INameable.get_Name in
assembly /mono/main/src/mono-basic/vbnc/vbnc/tests/SelfTest/vbnc.exe token
60008a6
/mono/main/src/mono-basic/vbnc/vbnc/source/Code/CodeBlock.vb (629,1) : Error
VBNC99999: vbnc crashed nearby this location in the source code.
-------------------------------------------------------------------------------------------------------------------------
Unhandled exception(System.TypeLoadException): A type load exception has
occurred.
  at vbnc.MemberDeclarations.Add (IMember Value) [0x00000] 
  at vbnc.Parser.ParseAssemblyMembers (vbnc.AssemblyDeclaration Parent,
System.String RootNamespace) [0x00000] 
  at vbnc.Parser.ParseAssemblyDeclaration (System.String RootNamespace,
vbnc.AssemblyDeclaration assembly) [0x00000] 
  at vbnc.Parser.Parse (System.String RootNamespace, vbnc.AssemblyDeclaration
assembly) [0x00000] 
  at vbnc.Compiler.Compile_Parse () [0x00000]


-- 
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