← Back to team overview

nunit-core team mailing list archive

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

 

Fabian, how would you expect NUnit to provide you with these details if
.NET does not allow* managed code to catch a StackOverflowException?

*Remarks section:
http://msdn.microsoft.com/en-us/library/system.stackoverflowexception(v=vs.110).aspx


On Wed, Apr 24, 2013 at 10:34 AM, Fabian Schmied <1083821@xxxxxxxxxxxxxxxxxx
> wrote:

> I request that this feature is given high priority. When production code
> causes a StackOverflowException, I need to have my test runner show me:
>
> - that a StackOverflowException happened,
> - what test case caused the StackOverflowException, and
> - what's the stack trace up to the recursive cycle.
>
> I.e, roughly the same a s with every ordinary exception.
>
> --
> 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:
>   Triaged
>
> 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~nunit-core
> Post to     : nunit-core@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~nunit-core
> More help   : https://help.launchpad.net/ListHelp
>

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

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