[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-dotnet-language-devs
Subject:    Re: Ngen error
From:       Robert Sales <Robert.Sales () MICROFOCUS ! COM>
Date:       2005-02-19 10:53:16
Message-ID: 5DC9DA3ED5A9B64086C7612AAEE3487C0EC9041C () nwb-corpmail ! microfocus ! com
[Download RAW message or body]

Many thanks for pointing me at this error code.  Obviously I need to do some
more investigation to try to figure out how this error could arise.  Our
compiler generates ilasm source and so this exe was actually produced by
ilasm (and passes peverify).  Sounds to me like either the verifier is wrong
or ngen has a bug.  By the way I forgot to say in the original post that I'm
using Whidbey.

 

 

Robert Sales

Micro Focus

Tel. +44(0)1635 565265

 

-----Original Message-----
From: Jonathan Keljo [mailto:jkeljo@MICROSOFT.COM] 
Sent: 18 February 2005 21:31
To: DOTNET-LANGUAGE-DEVS@DISCUSS.MICROSOFT.COM
Subject: Re: Ngen error

 

80131b11 is (from corerror.h)

 

#define VLDTR_E_FRVA_DUPRVA             EMAKEHR(0x1B11) // Duplicate RVA in
FieldRVA record

 

Does that help?

 

Jonathan

 

  _____  

From: Compiler Developers for .NET
[mailto:DOTNET-LANGUAGE-DEVS@DISCUSS.MICROSOFT.COM] On Behalf Of Robert
Sales
Sent: Friday, February 18, 2005 6:35 AM
To: DOTNET-LANGUAGE-DEVS@DISCUSS.MICROSOFT.COM
Subject: Ngen error

 

I'm trying to ngen an exe of about 1 Mb containing verifiable code, and get
back the following error:

 

Error compiling D:\temp\x.exe: Unknown error - HRESULT 0x80131B11

Unknown error - HRESULT 0x80131B11

 

Anyone know what might be the cause?

 

Robert Sales

Micro Focus

Tel. +44(0)1635 565265

 

 

 

Click here to report this email as spam.

This message has been scanned for viruses by MailController
<http://www.MailController.altohiway.com/> .


[Attachment #3 (text/html)]

<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p
	{margin-right:0cm;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.emailstyle17
	{font-family:Arial;
	color:windowtext;}
span.emailstyle18
	{font-family:Arial;
	color:navy;}
span.EmailStyle20
	{font-family:Arial;
	color:navy;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoPlainText><font size=2 face="Courier New"><defanghtml_span \
style='font-size: 10.0pt;font-family:Arial;color:navy'><span
style='font-size:10.0pt'>Many thanks for pointing me at this error code.&nbsp;
Obviously I need to do some more investigation to try to figure out how this
error could arise.&nbsp; Our compiler generates ilasm source and so this exe was
actually produced by ilasm (and passes peverify).&nbsp; Sounds to me like either the
verifier is wrong or ngen has a bug.&nbsp; By the way I forgot to say in the
original post that I'm using Whidbey.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
 10.0pt;font-family:Arial;color:navy'>Robert Sales</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Micro Focus</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Tel. +44(0)1635 565265</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Jonathan Keljo
[mailto:jkeljo@MICROSOFT.COM] <br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>18 February  \
2005</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt; \
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span  \
style='font-size:10.0pt;font-family:Tahoma'>21:31</span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br> <b><span \
style='font-weight:bold'>To:</span></b> \
DOTNET-LANGUAGE-DEVS@DISCUSS.MICROSOFT.COM<br> <b><span \
style='font-weight:bold'>Subject:</span></b> Re: Ngen error</span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>80131b11
is (from corerror.h)</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><defanghtml_span style='font-size:
10.0pt;font-family:Arial;color:navy'><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></defanghtml_span></font></p>


<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><defanghtml_span style='font-size:
10.0pt;font-family:Arial;color:navy'><span
style='font-size:10.0pt;font-family:Arial;color:navy'>#define
VLDTR_E_FRVA_DUPRVA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 EMAKEHR(0x1B11) // Duplicate RVA in FieldRVA \
record</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><defanghtml_span style='font-size:
10.0pt;font-family:Arial;color:navy'><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></defanghtml_span></font></p>


<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><defanghtml_span style='font-size:
10.0pt;font-family:Arial;color:navy'><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Does that \
help?</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><defanghtml_span style='font-size:
10.0pt;font-family:Arial;color:navy'><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></defanghtml_span></font></p>


<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><defanghtml_span style='font-size:
10.0pt;font-family:Arial;color:navy'><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Jonathan</span></defanghtml_span></font></p>


<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><defanghtml_span style='font-size:
10.0pt;font-family:Arial;color:navy'><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></defanghtml_span></font></p>


<font size=3 face="Times New Roman"><defanghtml_span style='font-size:12.0pt'></font>

<div>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><b><font size=2 \
face=Tahoma></defanghtml_span><span \
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'><defanghtml_span \
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></defanghtml_span></font></b><font
 size=2 face=Tahoma><defanghtml_span \
style='font-size:10.0pt;font-family:Tahoma'><span \
style='font-size:10.0pt;font-family:Tahoma'> Compiler Developers for .NET \
[mailto:DOTNET-LANGUAGE-DEVS@DISCUSS.MICROSOFT.COM] <b><defanghtml_span \
style='font-weight:bold'><span style='font-weight:bold'>On Behalf Of \
</span></defanghtml_span></b>Robert Sales<br> <b><defanghtml_span \
style='font-weight:bold'><span \
style='font-weight:bold'>Sent:</span></defanghtml_span></b> </span></font><font \
size=2 face=Tahoma><span style='font-size:10.0pt;  font-family:Tahoma'>Friday, \
February 18, 2005</span></font><font size=2 face=Tahoma><span \
style='font-size:10.0pt;font-family:Tahoma'> </span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>6:35 \
AM</span></font><font size=2 face=Tahoma><span \
style='font-size:10.0pt;font-family:Tahoma'><br> <b><defanghtml_span \
style='font-weight:bold'><span \
style='font-weight:bold'>To:</span></defanghtml_span></b> \
DOTNET-LANGUAGE-DEVS@DISCUSS.MICROSOFT.COM<br> <b><defanghtml_span \
style='font-weight:bold'><span \
style='font-weight:bold'>Subject:</span></defanghtml_span></b> Ngen \
error</span></defanghtml_span></font></p>

</div>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=3 face="Times New \
Roman"><defanghtml_span style='font-size:12.0pt'><span \
style='font-size:12.0pt'>&nbsp;</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=2 face=Arial><defanghtml_span \
style='font-size:10.0pt;font-family:Arial'><span \
style='font-size:10.0pt;font-family:Arial'>I'm trying to ngen an exe of about 1 Mb \
containing verifiable code, and get back the following \
error:</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=2 face=Arial><defanghtml_span \
style='font-size:10.0pt;font-family:Arial'><span \
style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=2 face=Arial><defanghtml_span \
style='font-size:10.0pt;font-family:Arial'><span \
style='font-size:10.0pt;font-family:Arial'>Error compiling D:\temp\x.exe: Unknown \
error - HRESULT 0x80131B11</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=2 face=Arial><defanghtml_span \
style='font-size:10.0pt;font-family:Arial'><span \
style='font-size:10.0pt;font-family:Arial'>Unknown error - HRESULT \
0x80131B11</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=2 face=Arial><defanghtml_span \
style='font-size:10.0pt;font-family:Arial'><span \
style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=2 face=Arial><defanghtml_span \
style='font-size:10.0pt;font-family:Arial'><span \
style='font-size:10.0pt;font-family:Arial'>Anyone know what might be the \
cause?</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=2 face=Arial><defanghtml_span \
style='font-size:10.0pt;font-family:Arial'><span \
style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=2 face=Arial><defanghtml_span \
style='font-size:10.0pt;font-family:Arial'><span \
style='font-size:10.0pt;font-family:Arial'>Robert \
Sales</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=2 face=Arial><defanghtml_span \
style='font-size:10.0pt;font-family:Arial'><span \
style='font-size:10.0pt;font-family:Arial'>Micro \
Focus</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=2 face=Arial><defanghtml_span \
style='font-size:10.0pt;font-family:Arial'><span \
style='font-size:10.0pt;font-family:Arial'>Tel. +44(0)1635 \
565265</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=3 face="Times New \
Roman"><defanghtml_span style='font-size:12.0pt'><span \
style='font-size:12.0pt'>&nbsp;</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'
defanghtml_style="margin-left:.5in"><font size=3 face="Times New \
Roman"><defanghtml_span style='font-size:12.0pt'><span \
style='font-size:12.0pt'>&nbsp;</span></defanghtml_span></font></p>

<p class=MsoNormal style='margin-right:0cm;margin-bottom:12.0pt;margin-left:
36.0pt'><font size=3 face="Times New Roman"><span \
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p align=center style='margin-left:36.0pt;text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Click <a
href="https://www.mailcontroller.altohiway.com/sr/P4d5px7nlemRVY2bnVGuLN9Fu4ZxAJoqdxVV \
6TtVtXEyy+T7WYorLnXusFNSbVZWkuKLxYP2jpQ7g+Lp0Zujq29A5W0HiHukv12vi5M!6XkcGuKSlgkZEvbU96 \
oQ6H0IGTl95B2AD1NNEqVpDI+2+s093Sjpn4f+PCi38jBvrw7+nZ6iMqH5db8Ukl2t59K4wSpzd2R8d7qdZn+DPAT!CmFRgKP94rKf">here</a>
 to report this email as spam.</span></font></p>

<p align=center style='margin-left:36.0pt;text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>This message has been
scanned for viruses by <a \
href="http://www.MailController.altohiway.com/">MailController</a>.</span></font></p>

</div>

</body>

</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic