Compiler / Framework bug?

G

Guest

How to reproduce:

Create a new Visual C++ CLR Empty Project
Add a new C++ with the following:

int main (array<System::String^> ^args)
{
//bool workaround = true;
while (true)
{
try { }
catch(...) { }
}
}

Expected result: program runs forever without doing anything
Actual result: program gets a stack overflow exception in 1-2 seconds
Workaround: uncomment the workaround line
 
G

Gary Chang[MSFT]

Hi Thomee,

Thank you posting!

This is a quick note to let you know that I am performing research on this
issue and will get back to you as soon as possible. I appreciate your
patience.

Thanks for your understanding.

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

Carl Daniel [VC++ MVP]

Thomee said:
How to reproduce:

Create a new Visual C++ CLR Empty Project
Add a new C++ with the following:

int main (array<System::String^> ^args)
{
//bool workaround = true;
while (true)
{
try { }
catch(...) { }
}
}

Expected result: program runs forever without doing anything
Actual result: program gets a stack overflow exception in 1-2 seconds
Workaround: uncomment the workaround line

Definitely a bug. Please open a bug report at

http://lab.msdn.microsoft.com/productfeedback

Once you've done that, please post the URL to your bug report here so that
others can validate and vote on it.

-cd
 
G

Gary Chang[MSFT]

Hi Thomee,

It appears to be product issue, I have already this problem to our product
team.

Meantime, I highly suggest you can submit this feedback to our product
feedback center, our development team may communicate with you directly on
the issue there:

http://lab.msdn.microsoft.com/productfeedback/default.aspx

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top