[Mono-list] Mono 0.91 MCS compiled app error

Jacques Du Preez jacques@entegral.co.za
Thu, 13 May 2004 11:16:16 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C438DB.C5C48340
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,
 
I'm running Mono 0.91 on Windows XP with SP1 installed. Used the
mono-Beta1-win32-2 package to install Mono.
 
When I run an exe created by Mono C# compiler I get the following error
message:
"helloworld.exe - Application Error
 
The application failed to initialize properly (0xc0000135). Click on OK
to terminate the application."
 
The gc.log file contains the following text:
"Needed to allocate blacklisted block at 0x224b000"
 
The application code is as follows:
"using System;
 
class helloworld {
 
 static void Main ()
 {
  Console.WriteLine ("Hello World!");
 }
}"
 
Used the following command to compile the app:
"mcs helloworld.cs"
 
Does anyone have similar problems, or maybe know how to fix them? Must I
file the error on Ximian Bugzilla for C# compiler?
 
Regards,
 

Jacques du Preez

Software Developer

Entegral Technologies Pty (Ltd)

 

web:  <http://www.entegral.co.za/> www.entegral.co.za

 

------=_NextPart_000_000C_01C438DB.C5C48340
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D263140109-13052004>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D263140109-13052004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D263140109-13052004>I'm =
running Mono=20
0.91 on Windows XP with SP1 installed. Used the mono-Beta1-win32-2 =
package to=20
install Mono.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D263140109-13052004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D263140109-13052004>When I =
run an exe=20
created by Mono C# compiler I get the following error=20
message:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D263140109-13052004>"helloworld.exe -=20
Application Error</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D263140109-13052004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D263140109-13052004>The =
application=20
failed to initialize properly (0xc0000135). Click on OK to terminate the =

application."</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D263140109-13052004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D263140109-13052004>The =
gc.log file=20
contains the following text:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D263140109-13052004>"Needed to allocate=20
blacklisted block at 0x224b000"</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D263140109-13052004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D263140109-13052004>The =
application code=20
is as follows:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D263140109-13052004>"using =

System;</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D263140109-13052004>class =
helloworld=20
{</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D263140109-13052004>&nbsp;static void=20
Main ()<BR>&nbsp;{<BR>&nbsp;&nbsp;Console.WriteLine ("Hello=20
World!");<BR>&nbsp;}<BR>}"</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D263140109-13052004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D263140109-13052004>Used =
the following=20
command to compile the app:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D263140109-13052004>"mcs=20
helloworld.<SPAN =
class=3D422081509-13052004>cs</SPAN>"</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D263140109-13052004><FONT face=3DArial size=3D2>Does =
anyone have=20
similar problems, or maybe know how to fix them? Must I file the error =
on Ximian=20
Bugzilla for C# compiler?</FONT></SPAN></DIV>
<DIV><SPAN class=3D263140109-13052004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D263140109-13052004><FONT face=3DArial=20
size=3D2>Regards,</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV align=3Dleft>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt" align=3Dleft><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Jacques du =
Preez</SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt" align=3Dleft><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Software =
Developer</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt"><?xml:namespace prefix =3D o ns =3D=20
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Entegral Technologies =
Pty=20
(Ltd)</SPAN><SPAN style=3D"FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt"></SPAN>&nbsp;</P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN=20
style=3D"FONT-SIZE: 10pt"></SPAN><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">web: =
</SPAN><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: #0080ff"><A=20
href=3D"http://www.entegral.co.za/"><SPAN=20
style=3D"COLOR: black; FONT-FAMILY: =
Verdana">www.entegral.co.za</SPAN></A><o:p></o:p></SPAN></P></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000C_01C438DB.C5C48340--