← Back to team overview

nunit-core team mailing list archive

[Bug 1083821] Re: NUnit runner crashes when test gives StackOverflowException

 

It's generally not possible to catch this exception in .NET.

See http://stackoverflow.com/questions/1599219/c-sharp-catch-a-stack-
overflow-exception

** Changed in: nunitv2
       Status: New => Invalid

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1083821

Title:
  NUnit runner crashes when test gives StackOverflowException

Status in NUnit V2 Test Framework:
  Invalid

Bug description:
  Made a brand new test project, and in the default TestMethod1 method:

      [Test]
      public void TestMethod1()
      {
        TestMethod1();
      }

  The runner application gives "NUnit-Agent has stopped working", and
  then the main GUI crashes out when anything else is done with it. The
  runner reports 2.6.2.12296 as it's version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/1083821/+subscriptions


References