[Mono-bugs] [Bug 346136] Error MSB6006: "Gmcs.exe" exited with code -1073741819.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Dec 10 07:42:28 EST 2007


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

User rolandasr at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=346136#c3


Rolandas Rudomanskis <rolandasr at gmail.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                                        |NEW
      Info Provider|rolandasr at gmail.com                             |




--- Comment #3 from Rolandas Rudomanskis <rolandasr at gmail.com>  2007-12-10 05:42:27 MST ---
The command I have provided before is a standard command used by SharpDevelop
to compile projects (both for .NET and Mono). 

Well, tried to compile a small project using SharpDevelop IDE and there's no
such error, however the error happens with one particular project (actually, my
main project ;))

There's no such error if I compile the project with .NET 2.0 in the project
settings. No error with version 1.2.5 for both .NET and Mono. In short, I can
not use SharpDevelop for developing with 1.2.6. Quite important bug IMO.

I noticed few things: the compiler doesn't crash if there are no warnings to
display in SharpDevelop. Once warnings appear, mono.exe crashes in mono.dll.

Luckily, I succeeded to hang gmcs.exe or mono.exe, thus it allowed to capture
the command line used by SharpDevelop.

cmd /c ""C:\Program Files\Mono-1.2.6\bin\Gmcs.bat" @"c:\tmp11A.tmp""

where tmp11A.tmp contained all switches:

-noconfig -warn:4 -out:obj\Debug\MyApp.exe -target:winexe -debug -checked
-keyfile:MyApp.snk -define:"DEBUG;TRACE;EXPORT_GLADE_MENU"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\atk-sharp\2.10.0.0__35e10195dab3c99f\atk-sharp.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\gconf-sharp\2.8.0.0__35e10195dab3c99f\gconf-sharp.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\gdk-sharp\2.10.0.0__35e10195dab3c99f\gdk-sharp.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\glade-sharp\2.10.0.0__35e10195dab3c99f\glade-sharp.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\glib-sharp\2.10.0.0__35e10195dab3c99f\glib-sharp.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\gtk-sharp\2.10.0.0__35e10195dab3c99f\gtk-sharp.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\Mono.C5\1.0.0.0__ba07f434b1c35cbd\Mono.C5.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\Mono.Posix\2.0.0.0__0738eb9f132ed756\Mono.Posix.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\Mono.Security\2.0.0.0__0738eb9f132ed756\Mono.Security.dll"
-r:"..\..\..\..\..\Mono Npgsql\bin\Npgsql.dll" -r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\pango-sharp\2.10.0.0__35e10195dab3c99f\pango-sharp.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\System\2.0.0.0__b77a5c561934e089\System.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\System.Runtime.Serialization.Formatters.Soap\2.0.0.0__b03f5f7f11d50a3a\System.Runtime.Serialization.Formatters.Soap.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\System.Security\2.0.0.0__b03f5f7f11d50a3a\System.Security.dll"
-r:"..\..\..\..\..\Program
Files\Mono-1.2.6\lib\mono\gac\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll"
-resource:obj\Debug\My.resources -resource:obj\Debug\glade-2.0.dtd
-resource:obj\Debug\My.xml -resource:obj\Debug\Ui.xml
-resource:obj\Debug\My.xsl -win32res:My.resx [all .cs files listed here]

Thus, as you see no .NET assemblies are involved. gmcs.exe hangs when I execute
the same command from the command prompt.


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