[Mono-bugs] [Bug 483708] New: VBNC99999 error when compiling code with dangling goto

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 9 19:48:10 EDT 2009


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


           Summary: VBNC99999 error when compiling code with dangling goto
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.4.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: directhex at apebox.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.7)
Gecko/2009030423 Ubuntu/8.10 (intrepid) Firefox/3.0.7

The following code causes VBNC to crash:

  Public Class Application
    Public Shared Sub Main()
      Goto Foo
    End Sub
  End Class


Reproducible: Always

Steps to Reproduce:
Compile above trivial example
Actual Results:  
No errors, but compilation failed? FinishedResolve
/tmp/mono-basic-2.4/class/lib/bootstrap/<MyGenerator> (1,1) : Error VBNC99999:
Unexpected error: There has been an internal error in the compiler: Consistency
check failed
  at vbnc.Compiler.VerifyConsistency (Boolean result, System.String Location)
[0x00000] 
  at vbnc.Compiler.Compile_Resolve () [0x00000] 
  at vbnc.Compiler.Compile () [0x00000] 


Expected Results:  
Some error code relating to dangling goto target

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


More information about the mono-bugs mailing list