Selecting Status Search in Vault Client hangs client

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
CraigNicholson
Posts: 47
Joined: Tue Mar 23, 2004 3:54 pm
Location: South Africa
Contact:

Selecting Status Search in Vault Client hangs client

Post by CraigNicholson » Tue Aug 24, 2004 12:10 pm

Sometimes when I open Vault Client and select the Status Search tab, the client hangs indefinately. When I start the client, I'm always on the Messages tab.

I am running Vault Client 2.0.5 against Vault Server 2.0.5 on Windows XP SP2 with .NET Framework 1.0, 1.1 and 2.0b1 installed.

What other information is needed to debug this?

Updated: After posting this bug here my client wouldn't start at all. I enabled all client logging and this was the result:

Code: Select all

2004/08/24 08:52:18 PM <generic>: [<null>:2384] VaultGUIClient, Version=2.0.5.2210, Culture=neutral, PublicKeyToken=null
	at VaultLib.SimpleLogger.RealWriteLine(String, String)
	at VaultLib.SimpleLogger.WriteLine(String, String)
	at VaultLib.SimpleLogger.ConfigureFromAppSettings(String)
	at VaultGUIClient.VaultGUIClientMain.Main()
2004/08/24 08:52:18 PM <generic>: [<null>:2384] Logging all classes
	at VaultLib.SimpleLogger.ConfigureFromAppSettings(String)
	at VaultGUIClient.VaultGUIClientMain.Main()
Then I started check registry settings. I found that if I changed the FormMain value under HKEY_CURRENT_USER\Software\SourceGear\Vault\Client\Settings by changing the FormMain.SelectedTabIndex from 2 to 0 (e.g. "(FormMain.SelectedTabIndex,0)") then the client would start up successfully and not just sit there idle.

Still I was unable to select the Status Search tab without the client hanging. So I removed the entire registry key HKEY_CURRENT_USER\Software\SourceGear\Vault\Client\Settings and tried again, it still hung. These are the last few entries logged before I terminated it the nasty way:

Code: Select all

2004/08/24 09:08:52 PM <mutex>: [GUIClientWorkerThread:1740] Took mutex 804
	at VaultLib.SystemMutexWin32.Take(UInt32)
	at VaultClientOperationsLib.CacheMember_ChangeSetItems.UpdateFromDisk()
	at VaultClientOperationsLib.ClientInstance.LocalRefresh()
	at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand, GUIClientThreadCommandResult&)
	at VaultClientPresentationLib.GUIClientThread.Start()
2004/08/24 09:08:52 PM <mutex>: [GUIClientWorkerThread:1740] Released mutex 804
	at VaultLib.SystemMutexWin32.Release()
	at VaultClientOperationsLib.CacheMember_ChangeSetItems.UpdateFromDisk()
	at VaultClientOperationsLib.ClientInstance.LocalRefresh()
	at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand, GUIClientThreadCommandResult&)
	at VaultClientPresentationLib.GUIClientThread.Start()
2004/08/24 09:08:52 PM <mutex>: [GUIClientWorkerThread:1740] Took mutex 832
	at VaultLib.SystemMutexWin32.Take(UInt32)
	at VaultClientOperationsLib.CacheMember_ChangeSetComment.UpdateFromDisk()
	at VaultClientOperationsLib.ClientInstance.LocalRefresh()
	at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand, GUIClientThreadCommandResult&)
	at VaultClientPresentationLib.GUIClientThread.Start()
2004/08/24 09:08:52 PM <mutex>: [GUIClientWorkerThread:1740] Released mutex 832
	at VaultLib.SystemMutexWin32.Release()
	at VaultClientOperationsLib.CacheMember_ChangeSetComment.UpdateFromDisk()
	at VaultClientOperationsLib.ClientInstance.LocalRefresh()
	at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand, GUIClientThreadCommandResult&)
	at VaultClientPresentationLib.GUIClientThread.Start()
If you need more log information, I have plenty.

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Wed Aug 25, 2004 7:51 am

Those last few log entries don't tell me much about the hang. They're normal actions (loading the change set from disk) that happen on every startup. You mentioned you removed your registry key (the whole Settings key). When Vault started, how did it hang (right away, or only on clicking status search)?
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

CraigNicholson
Posts: 47
Joined: Tue Mar 23, 2004 3:54 pm
Location: South Africa
Contact:

Post by CraigNicholson » Wed Aug 25, 2004 7:53 am

sterwill wrote:When Vault started, how did it hang (right away, or only on clicking status search)?
Immediately when I clicked the Status Search tab.

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Wed Aug 25, 2004 11:50 am

I've created a new build of Vault (2.0.6 preview 2214) that may fix your problem. This is not the final 2.0.6 release, just a preview aimed to fix this specific issue. You can download the client installer here.

If this build doesn't fix your problem with the status search, I've also added new logging points in this build that may help us diagnose it. You can enable these by turning on the log class "statussearch" in the VaultGUIClient.exe.config file. Read this KB article for details on enabling client-side logging.
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

CraigNicholson
Posts: 47
Joined: Tue Mar 23, 2004 3:54 pm
Location: South Africa
Contact:

Post by CraigNicholson » Thu Aug 26, 2004 11:36 am

Ok I was very excited to get this new build. I tried it out today and it worked the first time. The tabs at the bottom somehow look slightly different, but I can't figure out why. Anyway I was just about to come and post that here and decided to try it once more. I opened it, it was on the Messages tab, I then selected Status Search and it died. At least this time it sortof showed the tab, just never got to showing me any real controls.

Here is a log of it, it happens all the time now.
2004/08/26 07:29:03 PM <generic>: [<null>:1352] VaultGUIClient, Version=2.0.6.2214, Culture=neutral, PublicKeyToken=null
at VaultLib.SimpleLogger.RealWriteLine(String, String)
at VaultLib.SimpleLogger.WriteLine(String, String)
at VaultLib.SimpleLogger.ConfigureFromAppSettings(String)
at VaultGUIClient.VaultGUIClientMain.Main()
2004/08/26 07:29:03 PM <generic>: [<null>:1352] Enabled logging class <statussearch>
at VaultLib.SimpleLogger.ConfigureFromAppSettings(String)
at VaultGUIClient.VaultGUIClientMain.Main()
2004/08/26 07:29:05 PM <statussearch>: [GUIClientWorkerThread:3456] Refresh called
at VaultClientPresentationLib.StatusSearchView.Refresh_Real()
at VaultClientPresentationLib.StatusSearchView.Refresh()
at VaultClientPresentationLib.StatusSearchView..ctor(GUIClientInstance)
at VaultClientPresentationLib.GUIClientInstance.CreateManagedViewControl(ViewControlType)
at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand, GUIClientThreadCommandResult&)
at VaultClientPresentationLib.GUIClientThread.Start()
2004/08/26 07:29:05 PM <statussearch>: [GUIClientWorkerThread:3456] Returning from refresh early (no GCI, CI, or TC)
at VaultClientPresentationLib.StatusSearchView.Refresh_Real()
at VaultClientPresentationLib.StatusSearchView.Refresh()
at VaultClientPresentationLib.StatusSearchView..ctor(GUIClientInstance)
at VaultClientPresentationLib.GUIClientInstance.CreateManagedViewControl(ViewControlType)
at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand, GUIClientThreadCommandResult&)
at VaultClientPresentationLib.GUIClientThread.Start()
2004/08/26 07:29:05 PM <statussearch>: [GUIClientWorkerThread:3456] Refresh finished
at VaultClientPresentationLib.StatusSearchView.Refresh_Real()
at VaultClientPresentationLib.StatusSearchView.Refresh()
at VaultClientPresentationLib.StatusSearchView..ctor(GUIClientInstance)
at VaultClientPresentationLib.GUIClientInstance.CreateManagedViewControl(ViewControlType)
at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand, GUIClientThreadCommandResult&)
at VaultClientPresentationLib.GUIClientThread.Start()
2004/08/26 07:29:08 PM <statussearch>: [Main:1352] Connection state changed from Unconnected to Connecting
at VaultClientPresentationLib.StatusSearchView.ConnectionStateChangedEventHandler_Real(ConnectionStateType, ConnectionStateType)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean, Assembly, Boolean)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean)
at System.Delegate.DynamicInvokeImpl(Object[])
at System.MulticastDelegate.DynamicInvokeImpl(Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at VaultGUIClient.VaultGUIClientMain.Main()
2004/08/26 07:29:09 PM <statussearch>: [Main:1352] Connection state changed from Connecting to Connected
at VaultClientPresentationLib.StatusSearchView.ConnectionStateChangedEventHandler_Real(ConnectionStateType, ConnectionStateType)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean, Assembly, Boolean)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean)
at System.Delegate.DynamicInvokeImpl(Object[])
at System.MulticastDelegate.DynamicInvokeImpl(Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at VaultGUIClient.VaultGUIClientMain.Main()
2004/08/26 07:29:09 PM <statussearch>: [Main:1352] Building developers list
at VaultClientPresentationLib.StatusSearchView.GetDeveloperList()
at VaultClientPresentationLib.StatusSearchView.ConnectionStateChangedEventHandler_Real(ConnectionStateType, ConnectionStateType)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean, Assembly, Boolean)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean)
at System.Delegate.DynamicInvokeImpl(Object[])
at System.MulticastDelegate.DynamicInvokeImpl(Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at VaultGUIClient.VaultGUIClientMain.Main()
2004/08/26 07:29:09 PM <statussearch>: [Main:1352] Developers list built
at VaultClientPresentationLib.StatusSearchView.GetDeveloperList()
at VaultClientPresentationLib.StatusSearchView.ConnectionStateChangedEventHandler_Real(ConnectionStateType, ConnectionStateType)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean, Assembly, Boolean)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean)
at System.Delegate.DynamicInvokeImpl(Object[])
at System.MulticastDelegate.DynamicInvokeImpl(Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at VaultGUIClient.VaultGUIClientMain.Main()
2004/08/26 07:29:10 PM <statussearch>: [Main:1352] Active repository changed to Source
at VaultClientPresentationLib.StatusSearchView.ActiveRepositoryChangedEventHandler_Real(String)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean, Assembly, Boolean)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean)
at System.Delegate.DynamicInvokeImpl(Object[])
at System.MulticastDelegate.DynamicInvokeImpl(Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at VaultGUIClient.VaultGUIClientMain.Main()
2004/08/26 07:29:10 PM <statussearch>: [Main:1352] SetSettingTable started
at VaultClientPresentationLib.StatusSearchView.SetSettingTable(SettingTable)
at VaultClientPresentationLib.StatusSearchView.SetSettingString(String)
at VaultClientPresentationLib.StatusSearchView.ActiveRepositoryChangedEventHandler_Real(String)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean, Assembly, Boolean)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean)
at System.Delegate.DynamicInvokeImpl(Object[])
at System.MulticastDelegate.DynamicInvokeImpl(Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at VaultGUIClient.VaultGUIClientMain.Main()
2004/08/26 07:29:10 PM <statussearch>: [Main:1352] SetSettingTable finished
at VaultClientPresentationLib.StatusSearchView.SetSettingTable(SettingTable)
at VaultClientPresentationLib.StatusSearchView.SetSettingString(String)
at VaultClientPresentationLib.StatusSearchView.ActiveRepositoryChangedEventHandler_Real(String)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean, Assembly, Boolean)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean)
at System.Delegate.DynamicInvokeImpl(Object[])
at System.MulticastDelegate.DynamicInvokeImpl(Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at VaultGUIClient.VaultGUIClientMain.Main()
I hope we can get this fixed as I love using Vault. :)
Attachments
Vault_2.0.6_Crash_20040826_Small.JPG
Here is a screenshot with certain sensitive data coloured over.
Vault_2.0.6_Crash_20040826_Small.JPG (30.47 KiB) Viewed 7835 times

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Mon Aug 30, 2004 8:48 am

My log file of a successful startup with status search looks the same as yours, with the addition of a "Refresh called" and "Refresh finished" pair of messages added after I click on the panel.

I created another test build (2.0.6 preview 2216) with more logging in the function that performs the actual search. You can e-mail me the new log file or post it here.

[edited by sterwill: fixed broken URL]
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

Post Reply