← Back to team overview

nunit-core team mailing list archive

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

 

I also tried the "C:\Program Files (x86)\NUnit 2.5.5\bin\net-2.0\nunit-
console.exe"
C:\Data\Customers\Jenasys\SharedComponents\JDDataDLL\Development\JDData.Nunit\bin\x64\Debug\JDData.Nunit.dll
in the VS2010 Command Prompt on the x64 Windows 2008 R2 Server.

The result was a request to switch on the VS 2010 Fusion log and I got
the following errors. It looks like the x64 assembly resolution for
nunit code is expecting GAC entries rather than references to the
installation directory (C:\Program Files (x86)\NUnit 2.5.5\***)

*** Assembly Binder Log Entry  (29/06/2010 @ 10:56:22 AM) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll
Running under executable  C:\Program Files (x86)\NUnit 2.5.5\bin\net-2.0\nunit-console.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: User = SRV\Administrator
LOG: DisplayName = nunit.core, Version=2.5.5.10112, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77
 (Fully-specified)
LOG: Appbase = file:///C:/Data/Customers/Jenasys/SharedComponents/JDDataDLL/Development/JDData.Nunit/bin/x64/Debug
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = C:\Users\Administrator.000\AppData\Local\Temp\3\nunit20\ShadowCopyCache\7840_634134057817565659
LOG: AppName = Tests_322645823
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Data\Customers\Jenasys\SharedComponents\JDDataDLL\Development\JDData.Nunit\bin\x64\Debug\JDData.Nunit.dll.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
LOG: Post-policy reference: nunit.core, Version=2.5.5.10112, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Data/Customers/Jenasys/SharedComponents/JDDataDLL/Development/JDData.Nunit/bin/x64/Debug/nunit.core.DLL.
LOG: Attempting download of new URL file:///C:/Data/Customers/Jenasys/SharedComponents/JDDataDLL/Development/JDData.Nunit/bin/x64/Debug/nunit.core/nunit.core.DLL.
LOG: Attempting download of new URL file:///C:/Data/Customers/Jenasys/SharedComponents/JDDataDLL/Development/JDData.Nunit/bin/x64/Debug/nunit.core.EXE.
LOG: Attempting download of new URL file:///C:/Data/Customers/Jenasys/SharedComponents/JDDataDLL/Development/JDData.Nunit/bin/x64/Debug/nunit.core/nunit.core.EXE.
LOG: All probing URLs attempted and failed.

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





Follow ups

References