2.5.5 x64 net-4.0 crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit V2 |
Invalid
|
Undecided
|
Unassigned |
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
objDS = objExcel.
If objDS.Tables.Count = 0 Then
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.
tags: | added: confirm |
I also tried the "C:\Program Files (x86)\NUnit 2.5.5\bin\ net-2.0\ nunit-console. exe" C:\Data\ Customers\ Jenasys\ SharedComponent s\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 net-2.0\ nunit-console. exe
Running under executable C:\Program Files (x86)\NUnit 2.5.5\bin\
--- A detailed error log follows.
=== Pre-bind state information === 2.5.5.10112, Culture=neutral, PublicKeyToken= 96d09a1eb7f44a7 7 /C:/Data/ Customers/ Jenasys/ SharedComponent s/JDDataDLL/ Development/ JDData. Nunit/bin/ x64/Debug Administrator. 000\AppData\ Local\Temp\ 3\nunit20\ ShadowCopyCache \7840_634134057 817565659 Customers\ Jenasys\ SharedComponent s\JDDataDLL\ Development\ JDData. Nunit\bin\ x64\Debug\ JDData. Nunit.dll. config Microsoft. NET\Framework64 \v2.0.50727\ config\ machine. config. 2.5.5.10112, Culture=neutral, PublicKeyToken= 96d09a1eb7f44a7 7 /C:/Data/ Customers/ Jenasys/ SharedComponent s/JDDataDLL/ Development/ JDData. Nunit/bin/ x64/Debug/ nunit.core. DLL. /C:/Data/ Customers/ Jenasys/ SharedComponent s/JDDataDLL/ Development/ JDData. Nunit/bin/ x64/Debug/ nunit.core/ nunit.core. DLL. /C:/Data/ Customers/ Jenasys/ SharedComponent s/JDDataDLL/ Development/ JDData. Nunit/bin/ x64/Debug/ nunit.core. EXE. /C:/Data/ Customers/ Jenasys/ SharedComponent s/JDDataDLL/ Development/ JDData. Nunit/bin/ x64/Debug/ nunit.core/ nunit.core. EXE.
LOG: User = SRV\Administrator
LOG: DisplayName = nunit.core, Version=
(Fully-specified)
LOG: Appbase = file://
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = C:\Users\
LOG: AppName = Tests_322645823
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Data\
LOG: Using machine configuration file from C:\Windows\
LOG: Post-policy reference: nunit.core, Version=
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file://
LOG: Attempting download of new URL file://
LOG: Attempting download of new URL file://
LOG: Attempting download of new URL file://
LOG: All probing URLs attempted and failed.