More info on trying to debug Icarus:
The previous attempt was made setting solution configuration to "Any"
Tried "x64" and got "invalid format" exception before the GUI showed
up
Set to "x86", the GUI showed up fine. When trying to load the
Icarus.Tests assembly, got the following exception:

"Gallio.Runtime.RuntimeException: Could not resolve instance of
component 'MbUnit.TestFramework'. --->
Gallio.Runtime.RuntimeException: Could not resolve the component
handler of component 'MbUnit.TestFramework'. --->
Gallio.Runtime.RuntimeException: Could not resolve the component type
of component 'MbUnit.TestFramework'. --->
Gallio.Common.Reflection.ReflectionResolveException: Could not resolve
type 'MbUnit.Core.MbUnitTestFramework, MbUnit'. --->
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.
   at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean
throwOnError, Boolean ignoreCase, Boolean reflectionOnly,
StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean
throwOnError, Boolean ignoreCase, Boolean reflectionOnly,
StackCrawlMark& stackMark)
   at System.RuntimeType.PrivateGetType(String typeName, Boolean
throwOnError, Boolean ignoreCase, Boolean reflectionOnly,
StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName)
   at Gallio.Common.Reflection.TypeName.Resolve() in F:\\Разные штуки\
\Visual Studio 2008\\Projects\\OpenSource\\Gallio\\v3\\src\\Gallio\
\Gallio\\Common\\Reflection\\TypeName.cs:line 171
   --- End of inner exception stack trace ---
   at Gallio.Common.Reflection.TypeName.Resolve() in F:\\Разные штуки\
\Visual Studio 2008\\Projects\\OpenSource\\Gallio\\v3\\src\\Gallio\
\Gallio\\Common\\Reflection\\TypeName.cs:line 181
   at
Gallio.Runtime.Extensibility.ComponentDescriptor.ResolveComponentType
() in F:\\Разные штуки\\Visual Studio 2008\\Projects\\OpenSource\
\Gallio\\v3\\src\\Gallio\\Gallio\\Runtime\\Extensibility\
\ComponentDescriptor.cs:line 111
   --- End of inner exception stack trace ---
   at
Gallio.Runtime.Extensibility.ComponentDescriptor.ResolveComponentType
() in F:\\Разные штуки\\Visual Studio 2008\\Projects\\OpenSource\
\Gallio\\v3\\src\\Gallio\\Gallio\\Runtime\\Extensibility\
\ComponentDescriptor.cs:line 120
   at
Gallio.Runtime.Extensibility.ComponentDescriptor.ResolveComponentHandler
() in F:\\Разные штуки\\Visual Studio 2008\\Projects\\OpenSource\
\Gallio\\v3\\src\\Gallio\\Gallio\\Runtime\\Extensibility\
\ComponentDescriptor.cs:line 129
   --- End of inner exception stack trace ---
   at
Gallio.Runtime.Extensibility.ComponentDescriptor.ResolveComponentHandler
() in F:\\Разные штуки\\Visual Studio 2008\\Projects\\OpenSource\
\Gallio\\v3\\src\\Gallio\\Gallio\\Runtime\\Extensibility\
\ComponentDescriptor.cs:line 145
   at Gallio.Runtime.Extensibility.ComponentDescriptor.ResolveComponent
() in F:\\Разные штуки\\Visual Studio 2008\\Projects\\OpenSource\
\Gallio\\v3\\src\\Gallio\\Gallio\\Runtime\\Extensibility\
\ComponentDescriptor.cs:line 151
   --- End of inner exception stack trace ---\r\n   at
Gallio.Runtime.Extensibility.ComponentDescriptor.ResolveComponent() in
F:\\Разные штуки\\Visual Studio 2008\\Projects\\OpenSource\\Gallio\\v3\
\src\\Gallio\\Gallio\\Runtime\\Extensibility\
\ComponentDescriptor.cs:line 157
   at Gallio.Runtime.Extensibility.ComponentHandle`2.<GetComponent>b__0
() in F:\\Разные штуки\\Visual Studio 2008\\Projects\\OpenSource\
\Gallio\\v3\\src\\Gallio\\Gallio\\Runtime\\Extensibility\
\ComponentHandle.cs:line 310
   at Gallio.Common.Memoizer`1.Memoize(Func`1 populator) in F:\\Разные
штуки\\Visual Studio 2008\\Projects\\OpenSource\\Gallio\\v3\\src\
\Gallio\\Gallio\\Common\\Memoizer.cs:line 67
   at Gallio.Runtime.Extensibility.ComponentHandle`2.GetComponent() in
F:\\Разные штуки\\Visual Studio 2008\\Projects\\OpenSource\\Gallio\\v3\
\src\\Gallio\\Gallio\\Runtime\\Extensibility\\ComponentHandle.cs:line
310
   at
Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.ForEachDriver
[T](MultiMap`2 testFrameworkPartitions, Func`4 func) in F:\\Разные
штуки\\Visual Studio 2008\\Projects\\OpenSource\\Gallio\\v3\\src\
\Gallio\\Gallio\\Model\\DefaultTestFrameworkManager.cs:line 469
   at
Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.ExploreImpl
(ITestIsolationContext testIsolationContext, TestPackage testPackage,
TestExplorationOptions testExplorationOptions, IMessageSink
messageSink, IProgressMonitor progressMonitor) in F:\\Разные штуки\
\Visual Studio 2008\\Projects\\OpenSource\\Gallio\\v3\\src\\Gallio\
\Gallio\\Model\\DefaultTestFrameworkManager.cs:line 422
   at Gallio.Model.BaseTestDriver.Explore(ITestIsolationContext
testIsolationContext, TestPackage testPackage, TestExplorationOptions
testExplorationOptions, IMessageSink messageSink, IProgressMonitor
progressMonitor) in F:\\Разные штуки\\Visual Studio 2008\\Projects\
\OpenSource\\Gallio\\v3\\src\\Gallio\\Gallio\\Model\
\BaseTestDriver.cs:line 84
   at Gallio.Runner.DefaultTestRunner.Explore(TestPackage testPackage,
TestExplorationOptions testExplorationOptions, IProgressMonitor
progressMonitor) in F:\\Разные штуки\\Visual Studio 2008\\Projects\
\OpenSource\\Gallio\\v3\\src\\Gallio\\Gallio\\Runner\
\DefaultTestRunner.cs:line 241"

The weird thing is, I can't reproduce it! Now the program crashes
again without launching the GUI:
A first chance exception of type
'System.Runtime.InteropServices.COMException' occurred in
System.Windows.Forms.dll

A first chance exception of type 'System.AccessViolationException'
occurred in Gallio.dll
Error: A fatal exception occurred.
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.
   at System.Reflection.AssemblyName.nToString()
   at Gallio.Common.Reflection.TypeName.GetHashCode() in F:\Разные
штуки\Visual Studio 2008\Projects\OpenSource\Gallio\v3\src\Gallio
\Gallio\Common\Reflection\TypeName.cs:line 152
   at System.Collections.Generic.GenericEqualityComparer`1.GetHashCode
(T obj)
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key,
TValue& value)
   at
Gallio.Runtime.Extensibility.RegistryData.GetServiceByServiceTypeName
(TypeName serviceTypeName) in F:\Разные штуки\Visual Studio
2008\Projects\OpenSource\Gallio\v3\src\Gallio\Gallio\Runtime
\Extensibility\RegistryData.cs:line 97
   at
Gallio.Runtime.Extensibility.RegistryData.FindComponentsByServiceTypeName
(TypeName serviceTypeName) in F:\Разные штуки\Visual Studio
2008\Projects\OpenSource\Gallio\v3\src\Gallio\Gallio\Runtime
\Extensibility\RegistryData.cs:line 121
   at
Gallio.Runtime.Extensibility.Components.<>c__DisplayClass7.<FindByServiceTypeNameImpl>b__6
(RegistryData data) in F:\Разные штуки\Visual Studio 2008\Projects
\OpenSource\Gallio\v3\src\Gallio\Gallio\Runtime\Extensibility
\Components.cs:line 71
   at Gallio.Common.Concurrency.LockBox`1.Read[TResult](ReadFunc`2
func) in F:\Разные штуки\Visual Studio 2008\Projects\OpenSource\Gallio
\v3\src\Gallio\Gallio\Common\Concurrency\LockBox.cs:line 105
   at Gallio.Runtime.Extensibility.Components.FindByServiceTypeNameImpl
(TypeName serviceTypeName) in F:\Разные штуки\Visual Studio
2008\Projects\OpenSource\Gallio\v3\src\Gallio\Gallio\Runtime
\Extensibility\Components.cs:line 71
   at Gallio.Runtime.Extensibility.Components.FindByServiceType(Type
serviceType) in F:\Разные штуки\Visual Studio 2008\Projects\OpenSource
\Gallio\v3\src\Gallio\Gallio\Runtime\Extensibility\Components.cs:line
58
   at
Gallio.Runtime.Extensibility.RegistryServiceLocator.<ResolveAllNonDisabledDescriptors>d__0.MoveNext
() in F:\Разные штуки\Visual Studio 2008\Projects\OpenSource\Gallio
\v3\src\Gallio\Gallio\Runtime\Extensibility
\RegistryServiceLocator.cs:line 186
   at
Gallio.Runtime.Extensibility.RegistryServiceLocator.ResolveNonDisabledDescriptor
(Type serviceType) in F:\Разные штуки\Visual Studio 2008\Projects
\OpenSource\Gallio\v3\src\Gallio\Gallio\Runtime\Extensibility
\RegistryServiceLocator.cs:line 196
   at Gallio.Runtime.Extensibility.RegistryServiceLocator.ResolveImpl
(Type serviceType) in F:\Разные штуки\Visual Studio 2008\Projects
\OpenSource\Gallio\v3\src\Gallio\Gallio\Runtime\Extensibility
\RegistryServiceLocator.cs:line 161
   at Gallio.Runtime.Extensibility.RegistryServiceLocator.Resolve
[TService]() in F:\Разные штуки\Visual Studio 2008\Projects\OpenSource
\Gallio\v3\src\Gallio\Gallio\Runtime\Extensibility
\RegistryServiceLocator.cs:line 52
   at Gallio.Icarus.Main..ctor(IApplicationController
applicationController) in F:\Разные штуки\Visual Studio 2008\PrThe
thread 0x758 has exited with code 0 (0x0).
ojects\OpenSource\Gallio\v3\src\Extensions\Icarus\Gallio.Icarus
\Main.cs:line 141
   at Gallio.Icarus.IcarusProgram.RunImpl(String[] args) in F:\Разные
штуки\Visual Studio 2008\Projects\OpenSource\Gallio\v3\src\Extensions
\Icarus\Gallio.Icarus\IcarusProgram.cs:line 98
   at Gallio.Runtime.ConsoleSupport.ConsoleProgram`1.Run(IRichConsole
console, String[] args) in F:\Разные штуки\Visual Studio 2008\Projects
\OpenSource\Gallio\v3\src\Gallio\Gallio\Runtime\ConsoleSupport
\ConsoleProgram.cs:line 198

Could it be a problem with WeifenLuo.WinFormsUI.Docking.dll being not
64bit?

Thanks

ulu

On Sep 9, 2:17 pm, ulu <[email protected]> wrote:
> I downloaded the source from the trunk, and I can't launch Icarus. The
> problem is that I've saved Typemock runner from my previous version,
> and now it can't find the corresponding factory and thrown a
> NullreferenceException.
>
> When I try to launch Icarus directry from the bin folder, it just
> doesn't show up..
>
> I ran my existing (release) version of Icarus, changed Typemock to
> Local, but the tests still don't show up. So, the problem is not
> there. However, now when I try to debug the trunk version, it says
> there's a COM exception, and before I can open a stack trace or
> something, the error popup disappears.
>
> Here's the event log record:
>
> Faulting application name: Gallio.Icarus.exe, version: 0.0.0.0, time
> stamp: 0x4aa77e1f
> Faulting module name: mscorwks.dll, version: 2.0.50727.4927, time
> stamp: 0x4a27466f
> Exception code: 0xc0000005
> Fault offset: 0x0000000000191f87
> Faulting process id: 0x%9
> Faulting application start time: 0x%10
> Faulting application path: %11
> Faulting module path: %12
> Report Id: %13
>
> Here's the exception message
>
> System.Runtime.InteropServices.COMException was unhandled
> Message: Error HRESULT E_FAIL has been returned from a call to a COM
> component.
>
> ulu
>
> P.S. this is Windows 7 RTM 64bit
>
> On Sep 7, 10:26 pm, "Jeff Brown" <[email protected]> wrote:
>
> > "remote host has disconnected" sounds like it might relate to the .Net
> > runtime performing a fail-fast termination due to a stack overflow or out of
> > memory error.
>
> > It's not clear to me why the list of tests in the Test Explorer pane might
> > be empty though.  It sounds like a possible version conflict.
>
> > Jeff.
>
> > -----Original Message-----
> > From: [email protected] [mailto:[email protected]] On
>
> > Behalf Of [email protected]
> > Sent: Sunday, September 06, 2009 7:10 AM
> > To: MbUnit.User
> > Subject: MbUnit Icarus not showing any tests
>
> > Hi,
>
> > I'm using Icarus 3.0.6 build 787 (the latest release), 64bit. When I'm
> > opening a test assembly, there are no tests in the left pane. Even with the
> > sample assembly.
>
> > When run through TD.Net everything's fine.
>
> > I'd be happy to provide any help for fixing this.
>
> > BTW I'd be happy to use TD.Net, but this paricular test has a lot of output
> > to the console, and TD.Net refuses to show it (it runs the test, then makes
> > a pause, and then "remote host has disconnected")
>
> > ulu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mbunituser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to