Bug 6027 - VBNC99999 when compiling within MonoDevelop on OSX Lion (MonoDevelop 3.0.3.2, Mono 2.10.9)
Summary: VBNC99999 when compiling within MonoDevelop on OSX Lion (MonoDevelop 3.0.3.2,...
Status: RESOLVED UPSTREAM
Alias: None
Product: Compilers
Classification: Mono
Component: VisualBasic ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2012-07-07 03:49 UTC by gurusmi
Modified: 2018-05-22 12:13 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Project on which the error occurs (457.48 KB, application/zip)
2012-07-07 03:49 UTC, gurusmi
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED UPSTREAM

Description gurusmi 2012-07-07 03:49:45 UTC
Created attachment 2169 [details]
Project on which the error occurs

1. I load the project (original coded in VS2010 with DotNET 3.5)
2. I say Build All
3. The compiler crashes on all projects.

My Source consists CodeDom components. The source compiles well under VisualStudio.

Version Info
MonoDevelop 3.0.3.2
Installation UUID: 9d4112ce-167c-46f7-aeb7-fb6d06117bd7
Runtime:
	Mono 2.10.9 (tarball)
	GTK 2.24.10
	GTK# (2.12.0.0)
	Package version: 210090011
Mono for Android not installed
Apple Developer Tools:
	 Xcode 4.3.3 (1178)
	 Build 4E3002
Monotouch: 
Build information:
	Release ID: 30003002
	Git revision: 7bf6ac0ca43c1b12703176ad9933c3484c05c84c-dirty
	Build date: 2012-06-16 04:36:10+0000
	Xamarin addins: 62ad7268d38c2ece7e00dc32960bd3bdab8fec38
Operating System:
	Mac OS X 10.7.4
	Darwin mbp0001 11.4.0 Darwin Kernel Version 11.4.0
	    Mon Apr  9 19:32:15 PDT 2012
	    root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
Hardware:
	Modellname:	MacBook Pro (17 Inch, End 2011)
	Modell-Identifizierung:	MacBookPro8,3
	Prozessortyp:	Intel Core i7
	Prozessorgeschwindigkeit:	2.4 GHz
	Anzahl der Prozessoren:	1
	Gesamtanzahl der Kerne:	4
	L2-Cache (pro Kern):	256 KB
	L3-Cache:	6 MB
	Speicher:	8 GB
	Boot-ROM-Version:	MBP81.0047.B27

Errormessage:

cmdGenClasses (Debug|x86) wird erzeugt
Performing main compilation...
vbnc "-out:/Volumes/iTunes/200 Executable/Debug/Entwickler/GenClasses/cmdGenClasses.exe" -nologo -utf8output -quiet -debug:full -optionstrict+ -optionexplicit+ -optioncompare:text -optioninfer+ -define:_MYTYPE=\"WindowsFormsWithCustomSubMain\" "-win32icon:/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/COMPLETE.ICO" -rootnamespace:cmdGenClasses -define:DEBUG=-1 -define:TRACE=-1 -warnaserror+:41998,41999,42004,42016,42017,42018,42019,42020,42021,42022,42024,42026,42029,42030,42031,42032,42036,42099,42104,42105,42106,42107,42108,42109,42353,42354,42355 "-doc:cmdGenClasses.xml" -target:winexe  "-r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/System.dll" "-r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/System.Data.dll" "-r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/System.Drawing.dll" "-r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/System.Runtime.Serialization.Formatters.Soap.dll" "-r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/System.Windows.Forms.dll" "-r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/System.Xml.dll" "-r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/System.Core.dll" "-r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/System.Xml.Linq.dll" "-r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/System.Data.DataSetExtensions.dll" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/CLD Dateien/CLD.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/CodeDOM/CodeGenerator.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/CodeDOM/StandAlone.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/Klassen/db_Datenbank.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/Klassen/db_feld.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/Klassen/db_Tabellen.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/Klassen/ns_Klasse.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/Klassen/ns_NameSpace.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/Klassen/ns_Variable.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/Hauptprogramm.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/My Project/AssemblyInfo.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/My Project/Application.Designer.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/My Project/Resources.Designer.vb" "/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/My Project/Settings.Designer.vb" "-resource:/Volumes/iTunes/100 Sourcen/100 Tools/100 Programmierung/cmdGenClasses/My Project/Resources.resources,cmdGenClasses.My_Project.Resources.resources" -imports:Microsoft.VisualBasic -imports:System -imports:System.Collections -imports:System.Collections.Generic -imports:System.Data -imports:System.Diagnostics -imports:System.Linq -imports:System.Xml.Linq
Warning : VBNC99998: Support for /doc:<file> has not been implemented. No documentation file will be generated.
Error : VBNC99999: Unexpected error: There has been an internal error in the compiler: 
  at vbnc.Helper.Stop (System.String Message) [0x00017] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/General/Helper.vb:2267 
  at vbnc.Parser.ParseIdentifier (vbnc.ExpressionParseInfo Info) [0x00838] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3115 
  at vbnc.Parser.ParseExponent (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3149 
  at vbnc.Parser.ParseUnaryPlusMinus (vbnc.ExpressionParseInfo Info) [0x0005a] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3167 
  at vbnc.Parser.ParseMultDiv (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3176 
  at vbnc.Parser.ParseIntDiv (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3198 
  at vbnc.Parser.ParseMod (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3211 
  at vbnc.Parser.ParsePlusMinus (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3224 
  at vbnc.Parser.ParseConcat (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3247 
  at vbnc.Parser.ParseBitshift (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3260 
  at vbnc.Parser.ParseComparison (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3282 
  at vbnc.Parser.ParseNot (vbnc.ExpressionParseInfo Info) [0x0002b] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3329 
  at vbnc.Parser.ParseAnd_AndAlso (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3338 
  at vbnc.Parser.ParseOr_OrElse_Xor (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3360 
  at vbnc.Parser.ParseExpression (vbnc.ParsedObject Parent) [0x00006] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:2989 
  at vbnc.Parser.ParseParenthesizedExpression (vbnc.ParsedObject Parent) [0x0001d] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:2334 
  at vbnc.Parser.ParseCStrExpression (vbnc.ParsedObject Parent) [0x0001b] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:2172 
  at vbnc.Parser.ParseIdentifier (vbnc.ExpressionParseInfo Info) [0x005f2] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3085 
  at vbnc.Parser.ParseExponent (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3149 
  at vbnc.Parser.ParseUnaryPlusMinus (vbnc.ExpressionParseInfo Info) [0x0005a] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3167 
  at vbnc.Parser.ParseMultDiv (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3176 
  at vbnc.Parser.ParseIntDiv (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3198 
  at vbnc.Parser.ParseMod (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3211 
  at vbnc.Parser.ParsePlusMinus (vbnc.ExpressionParseInfo Info) [0x00061] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3230 
  at vbnc.Parser.ParseConcat (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3247 
  at vbnc.Parser.ParseBitshift (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3260 
  at vbnc.Parser.ParseComparison (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3282 
  at vbnc.Parser.ParseNot (vbnc.ExpressionParseInfo Info) [0x0002b] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3329 
  at vbnc.Parser.ParseAnd_AndAlso (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3338 
  at vbnc.Parser.ParseOr_OrElse_Xor (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3360 
  at vbnc.Parser.ParseExpression (vbnc.ParsedObject Parent) [0x00006] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:2989 
  at vbnc.Parser.ParseArgumentList (vbnc.ParsedObject Parent) [0x00066] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:2573 
  at vbnc.Parser.ParseInvocationOrIndexExpression (vbnc.ParsedObject Parent, vbnc.Expression First) [0x00044] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:2309 
  at vbnc.Parser.ParseIdentifier (vbnc.ExpressionParseInfo Info) [0x009c0] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3135 
  at vbnc.Parser.ParseExponent (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3149 
  at vbnc.Parser.ParseUnaryPlusMinus (vbnc.ExpressionParseInfo Info) [0x0005a] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3167 
  at vbnc.Parser.ParseMultDiv (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3176 
  at vbnc.Parser.ParseIntDiv (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3198 
  at vbnc.Parser.ParseMod (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3211 
  at vbnc.Parser.ParsePlusMinus (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3224 
  at vbnc.Parser.ParseConcat (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3247 
  at vbnc.Parser.ParseBitshift (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3260 
  at vbnc.Parser.ParseComparison (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3282 
  at vbnc.Parser.ParseNot (vbnc.ExpressionParseInfo Info) [0x0002b] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3329 
  at vbnc.Parser.ParseAnd_AndAlso (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3338 
  at vbnc.Parser.ParseOr_OrElse_Xor (vbnc.ExpressionParseInfo Info) [0x00002] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:3360 
  at vbnc.Parser.ParseExpression (vbnc.ExpressionParseInfo Info) [0x00006] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:2981 
  at vbnc.Parser.ParseCodeBlock (vbnc.ParsedObject Parent, Boolean IsOneLiner) [0x001fb] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:2701 
  at vbnc.Parser.ParseIfStatement (vbnc.ParsedObject Parent, Boolean IsOneLiner) [0x000ed] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:5739 
  at vbnc.Parser.ParseCodeBlock (vbnc.ParsedObject Parent, Boolean IsOneLiner) [0x00b27] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:2819 
  at vbnc.Parser.ParseElseIfStatement (vbnc.ParsedObject Parent, Boolean IsOneLiner) [0x000e0] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:5796 
  at vbnc.Parser.ParseIfStatement (vbnc.ParsedObject Parent, Boolean IsOneLiner) [0x001b4] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:5745 
  at vbnc.Parser.ParseCodeBlock (vbnc.ParsedObject Parent, Boolean IsOneLiner) [0x00b27] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:2819 
  at vbnc.Parser.ParseForStatement (vbnc.ParsedObject Parent, Boolean IsOneLiner) [0x001a5] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:5983 
  at vbnc.Parser.ParseCodeBlock (vbnc.ParsedObject Parent, Boolean IsOneLiner) [0x00e4b] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:2864 
  at vbnc.Parser.ParseFunctionDeclaration (vbnc.TypeDeclaration Parent, vbnc.ParseAttributableInfo Info) [0x00109] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:4359 
  at vbnc.Parser.ParseTypeMembers (vbnc.TypeDeclaration Parent) [0x0050a] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:1475 
  at vbnc.Parser.ParseClassDeclaration (vbnc.ParsedObject Parent, vbnc.Attributes Attributes, System.String Namespace) [0x00294] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:6243 
  at vbnc.Parser.ParseTypeDeclaration (vbnc.ParsedObject Parent, vbnc.Attributes Attributes, System.String Namespace) [0x00012] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:1514 
  at vbnc.Parser.ParseAssemblyMembers (vbnc.AssemblyDeclaration Parent, System.String RootNamespace) [0x00218] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:1558 
  at vbnc.Parser.ParseAssemblyDeclaration (System.String RootNamespace, vbnc.AssemblyDeclaration assembly) [0x000af] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:466 
  at vbnc.Parser.Parse (System.String RootNamespace, vbnc.AssemblyDeclaration assembly) [0x00006] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/Parser/Parser.vb:58 
  at vbnc.Compiler.Compile_Parse () [0x00084] in /private/tmp/monobuild/build/BUILD/mono-basic-2.10/vbnc/vbnc/source/General/Compiler.vb:345 
Compilation took 00:00:00.4018180

Erzeugung abgeschlossen -- 1 Fehler, 1 Warnung

Source project will be added.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-07-16 09:20:41 UTC
I can reproduce, but it looks like it's because you're using VB9+ features (currently our vb compiler only supports VB8, aka VS2005).

In particular it's confused when you use "Auto" as an identifier (name of a variable), it treats "Auto" as a keyword.
Comment 2 Rolf Bjarne Kvinge [MSFT] 2018-05-22 12:13:08 UTC
Moved to: https://github.com/mono/mono-basic/issues/31