Charlie, Thanks for your response.
>> Is it possible that you are throwing an exception which includes the GC Handle as a property? I don't believe this is the case. I took the lib project, built an exe and that worked fine. Aric -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Charlie Poole Sent: Tuesday, May 31, 2011 9:22 AM To: Aric Rosenbaum Subject: 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 <[email protected]>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 direct subscriber of the bug. 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 To unsubscribe from this bug, go to: https://bugs.launchpad.net/nunitv2/+bug/788715/+subscribe -- 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 _______________________________________________ Mailing list: https://launchpad.net/~nunit-core Post to : [email protected] Unsubscribe : https://launchpad.net/~nunit-core More help : https://help.launchpad.net/ListHelp

