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
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