← Back to team overview

nunit-core team mailing list archive

[Bug 788715] Re: NUnit crashes in quickfix project

 

This does not appear to be a problem with NUnit, even though the
situation arises under NUnit.

Stepping through your code, everything works fine until I reach the
Thread.Sleep() call in the test. At that point, the exception is thrown
with the lowest stack entry indicating a call is being made to
Log.onEvent(...). I'm not familiar with QuickFix, but could this be
something you should be handling?

Charlie

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

Title:
  NUnit crashes in quickfix project

Status in NUnit V2 Test Framework:
  Invalid

Bug description:
  A VS C# (2008) project compiled with the QuickFix library
  (www.quickfixengine.org) generates a runtime error in nunit-x86.exe
  and nunit-console-x86.exe.  Problem Signature 09 in the problem
  details says "System.ArgumentException".  The console app will then
  report an "Unhandled Exception: System.ArgumentException: Cannot pass
  a GCHandle across AppDomains.  Parameter name: handle" (see attached).

  I have tried various default process models in the GUI with the same
  results.

  Please note that quickfix appears to be a 32-bit dll and you need to
  specify x86 as the platform target.  When trying to run under the
  64-bit generates a BadImageFormatException error.

  Another report on this issue:
  http://osdir.com/ml/finance.quickfix.user/2007-05/msg00013.html

  Attached, please find a sample project.

  Thanks

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


References