Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack Overflow crashes Visual Studio #91

Open
tomgilder opened this issue Feb 13, 2016 · 3 comments
Open

Stack Overflow crashes Visual Studio #91

tomgilder opened this issue Feb 13, 2016 · 3 comments
Labels

Comments

@tomgilder
Copy link

Running the the one test method below brings down Visual Studio 2015 every time for me, with Alive 1.3.7.

Example project: https://www.dropbox.com/s/bq668pqhpowv0bl/AliveCrash.zip?dl=0

    public class Tests
    {
        [Fact]
        public void Crash_test()
        {
            StackOverflow.Go();
        }
    }

    public static class StackOverflow
    {
        public static void Go()
        {
            Go();
        }
    }
@AmadeusW
Copy link
Member

Thank you for heads up! We are thinking about the best way to tackle this.

When running Go directly, our stack overflow prevention mechanism works fine. On my machine, Alive stops after around 8000 iterations. When running Crash_test, I also get StackOverflowException. We need to find a feasible way to activate the stack overflow prevention mechanism.

@AmadeusW AmadeusW added the bug label Feb 14, 2016
@JoshVarty
Copy link

We're going to have to run this out-of-process to handle this. Unfortunately this isn't going to be a trivial fix so it's going to take us some time.

@JoshVarty
Copy link

We've started working on moving execution out-of-process to handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants