C/C++ Optimizing Compiler has stopped working - System.Core and String^ related - by Yi Feng Li

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.

Sign in
to vote
ID 629262 Comments
Status Closed Workarounds
Type Bug Repros 2
Opened 12/6/2010 8:45:50 PM
Access Restriction Public


When we add a reference to System.Core, we find an issue which related to managed class String^. If we turn off the Precompiled Headers, any use of String::Format() always causes the crash. Also in another class that did some string marshalling it causes a crash in the msclr\marshal.h file on line 49. 

This problem can be reproduced using VS2008, VS2010 (Toolsets V90) with .Net Framework 3.5.
Sign in to post a comment.
Posted by Ulzii [MSFT] on 1/4/2011 at 3:30 PM
Hello Yi Feng Li,

Thank you for your report. This bug is fixed on the patch KB976656.

Ulzii Luvsanbat
Windows C++ Team
Posted by Helen [MSFT] on 12/7/2010 at 5:37 PM
Thanks for your feedback.

We are rerouting 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 12/7/2010 at 11:21 AM
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)
Posted by Sheng Jiang 蒋晟 on 12/7/2010 at 9:17 AM
duplicate of https://connect.microsoft.com/VisualStudio/feedback/details/629060/compiler-crash-related-to-system-core-and-string