← Back to team overview

nunit-core team mailing list archive

Re: [Bug 597265] [NEW] 2.5.5 x64 net-4.0 crash

 

Could you clarify just what you mean by "VS2010 automating Nunit..exe"?

On Tue, Jun 22, 2010 at 6:34 AM, Jamie Clayton
<jamie.clayton@xxxxxxxxxxxxxxxxxxxx> wrote:
> Public bug reported:
>
> Running x64 based unit tests on x64 Windows Server 2008 R2. Get the following crash from VS2010 automating Nunit.exe.
> Testing Office 2010 Excel reading with x64 drivers. Running a single test works ok. Running a set of Excel tests causes the application crash. I suspect MS bug in the x64 data drivers, but this is the offending nunit test.
>
>
> '   Sheet Name and Row/Column Reference
>        Console.WriteLine(String.Format(cNunitMessage, "Sheet Name and Row/Column Reference"))
>        objDS = objExcel.GetDataSet(System.IO.Path.Combine(GetCurrentPath, "TestData\WithDataInSheet1.xlsx"), "Sheet1$B2:D10")
>        If objDS.Tables.Count = 0 Then
>            Assert.Fail("No data returned")
>        End If
>
> If I run the nunit test by itself it works as expected. If I run all the
> tests in the nunit class it fails and crashes Nunit. The crash sends a
> lot of information to Microsoft.
>
> ** Affects: nunitv2
>     Importance: Undecided
>         Status: New
>
> --
> 2.5.5 x64 net-4.0 crash
> https://bugs.launchpad.net/bugs/597265
> You received this bug notification because you are a member of NUnit
> Developers, which is subscribed to NUnit V2.
>

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

Status in NUnit V2 Test Framework: New

Bug description:
Running x64 based unit tests on x64 Windows Server 2008 R2. Get the following crash from VS2010 automating Nunit.exe.
Testing Office 2010 Excel reading with x64 drivers. Running a single test works ok. Running a set of Excel tests causes the application crash. I suspect MS bug in the x64 data drivers, but this is the offending nunit test.


'   Sheet Name and Row/Column Reference
        Console.WriteLine(String.Format(cNunitMessage, "Sheet Name and Row/Column Reference"))
        objDS = objExcel.GetDataSet(System.IO.Path.Combine(GetCurrentPath, "TestData\WithDataInSheet1.xlsx"), "Sheet1$B2:D10")
        If objDS.Tables.Count = 0 Then
            Assert.Fail("No data returned")
        End If

If I run the nunit test by itself it works as expected. If I run all the tests in the nunit class it fails and crashes Nunit. The crash sends a lot of information to Microsoft.





References