MASMがInternal errorでクラッシュする - by GreenCat

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


3
0
Sign in
to vote
ID 729606 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 3/7/2012 9:55:36 PM
Access Restriction Public

Description

EXTERNDEFとALIASを使ったソースをアセンブルするとfatal error A1016: Internal errorが起きる
VC++ 2010 SP1付属のMASM 10でも同じエラーが起きる
Sign in to post a comment.
Posted by Bill [MSFT] on 3/23/2012 at 3:38 PM
Thank you for contacting Microsoft and for using the Microsoft Macro Assembler.

And thank you for reporting this issue. This appears to be an issue that has existed for a while as nothing has recently changed in this area.

Also, the internal error is sensitive to the order of statements. For instance, interchanging the two EXTERNDEF statements in your repro avoids the error.

We will pursue fixing this in a future release of MASM. In the mean time, can you look to rearranging statements -- i.e. put the ALIAS immediately after its reference -- to avoid the internal error so you are able to proceed with your work.

Thank you
Visual Studio (and MASM) Product Team
Posted by Microsoft on 3/20/2012 at 9:44 PM
Thanks for your feedback.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 3/20/2012 at 2:24 AM
この度はフィードバックをお送りいただき、誠にありがとうございます。 現在、お送りいただきました報告内容に基づき問題を確認中ですので、しばらくお待ちください。 よろしくお願いいたします。

Problem Description:
When a source using EXTERNDEF and ALIAS is assembled, a fatal error A1016: Internal error occurs. The same error occurs on MASM 10 supplied to VC++ 2010 SP1.

Repro Steps:
Assemble the following .asm file by ml /c.
.model flat
EXTERNDEF data1 :DWORD
EXTERNDEF data2 :DWORD
ALIAS <data3> = <data1>
END

Actual Results:
MASM : Fatal error A1016: An internal error is displayed and an object file of 0 byte is created.

Expected Results:
An assembled object file must be output.
MASM : Fatal error A1016: An internal error is displayed and an object file of 0 byte is created.
An assembled object file must be output.
Posted by MS-Moderator01 on 3/7/2012 at 10:58 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)