nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01748
Re: [Bug 788715] [NEW] NUnit crashes in quickfix project
Hi,
Is it possible that you are throwing an exception which includes the GC
handle
as a property? NUnit would try to pass this back to the console or gui
runner
and fail.
There is a general problem in NUnit when we try to pass custom exceptions
back to the runner. This might be a special case of the same problem.
Charlie
On Thu, May 26, 2011 at 9:32 AM, Aric Rosenbaum
<788715@xxxxxxxxxxxxxxxxxx>wrote:
> Public bug reported:
>
> 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
>
> ** Affects: nunitv2
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are the registrant for
> NUnit V2.
> https://bugs.launchpad.net/bugs/788715
>
> Title:
> NUnit crashes in quickfix project
>
--
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:
New
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
Follow ups
References