[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: TortoiseSVN 1.7.8 crash (possible regression from 1.7.7)

From: Stefan Hett <stefan_at_egosoft.com>
Date: Fri, 24 Aug 2012 09:29:38 +0200

Hi Stefan,
> you have visual studio: use its debugger, but configure the symbol
> server to use the following url:
> http://www.crash-server.com:8080/public/
> tsvn/71040F62-F78A-4953-B5B3-5C148349FED7/symsrv
> <http://www.crash-server.com:8080/public/tsvn/71040F62-F78A-4953-B5B3-5C148349FED7/symsrv>
>
> At that url are the debug symbols stored for TSVN builds.
> You should get a nice stack trace.
> If you enable source server support (also in the debug options dialog of
> VS), VS will even fetch the TSVN source file for each part of the stack
> trace.
I just tried to reproduce the crash using the debugger and the symbol
server.
Oddly enough I don't see any reference to TortoiseSVN's dll any more in
the callstack. The callstack (stripped down) looks like this here
(occurred on devenv's main thread):

     [ above this it repetitively shows the lines marked between
<<start>> and <<end>> ]
<< end >>
      ntdll.dll!_KiUserExceptionDispatcher_at_8() + 0xf bytes
      ntdll.dll!_RtlCallVectoredExceptionHandlers_at_8() + 0x12 bytes
      ntdll.dll!_RtlDispatchException_at_8() + 0x19 bytes
<< start >>
      ntdll.dll!_KiUserExceptionDispatcher_at_8() + 0xf bytes
      kernel32.dll!_IsBadReadPtr_at_8() + 0x37 bytes
      BuildAddInVC8.dll!1f10eb56()
      [Frames below may be incorrect and/or missing, no symbols loaded
for BuildAddInVC8.dll]
      BuildAddInVC8.dll!1f10eeb3()
      BuildAddInVC8.dll!1f24259d()
      BuildAddInVC8.dll!1f0e2a2e()
      msenv.dll!CVsPackageInfo::InstantiatePackage() + 0x3ac bytes
      msenv.dll!CVsPackageInfo::HrInstantiatePackage() - 0x4494 bytes
      msenv.dll!CVsPackageMgr::HrLoadPackage() + 0x1767 bytes
      msenv.dll!CVsShell::LoadPackage() + 0x1b bytes
      [Managed to Native Transition]
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
+ 0xd1 bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
+ 0xb0 bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.EnsureContentConstructed()
+ 0x61 bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
+ 0x65 bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(object
sender,
Microsoft.VisualStudio.PlatformUI.Shell.ActiveViewChangedEventArgs e =
{Microsoft.VisualStudio.PlatformUI.Shell.ActiveViewChangedEventArgs}) +
0x15a bytes
      [Native to Managed Transition]
      [Managed to Native Transition]
      Microsoft.VisualStudio.Shell.10.0.ni.dll!6b623493()
Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent<System.__Canon>(System.EventHandler<System.__Canon>
eventHandler, object source, System.__Canon args) + 0x13 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(Microsoft.VisualStudio.PlatformUI.Shell.View
view, Microsoft.VisualStudio.PlatformUI.Shell.ActivationType type) +
0x9b bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnTabItemMouseDown(object
sender, System.Windows.Input.MouseButtonEventArgs args) + 0x49 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.ViewManager..cctor.AnonymousMethod__16(object
sender, System.Windows.Input.MouseButtonEventArgs args) + 0x36 bytes
PresentationCore.dll!System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate
genericHandler, object genericTarget) + 0x2c bytes
PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate
handler, object target) + 0x33 bytes
PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object
target, System.Windows.RoutedEventArgs routedEventArgs) + 0x44 bytes
PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object
source = {System.Windows.Controls.Border},
System.Windows.RoutedEventArgs args =
{System.Windows.Input.MouseButtonEventArgs}, bool reRaised) + 0x12f bytes
PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject
sender = {System.Windows.Controls.Border},
System.Windows.RoutedEventArgs args =
{System.Windows.Input.MouseButtonEventArgs}) + 0x73 bytes
PresentationCore.dll!System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs
args = {System.Windows.Input.MouseButtonEventArgs}) + 0x3d bytes
PresentationCore.dll!System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs
args, bool trusted) + 0x40 bytes
PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea()
+ 0x1f8 bytes
PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs
input) + 0x45 bytes
PresentationCore.dll!System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport
inputReport) + 0x62 bytes
PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr
hwnd, System.Windows.Input.InputMode mode, int timestamp,
System.Windows.Input.RawMouseActions actions, int x, int y, int wheel) +
0x258 bytes
PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr
hwnd = 592706, MS.Internal.Interop.WindowMessage msg = WM_LBUTTONDOWN,
System.IntPtr wParam = 1, System.IntPtr lParam = 71434927, ref bool
handled = false) + 0x242 bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.InputFilterMessage(System.IntPtr
hwnd = 592706, int msg = 513, System.IntPtr wParam = 1, System.IntPtr
lParam = 71434927, ref bool handled = false) + 0x6c bytes
      WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd =
592706, int msg = 513, System.IntPtr wParam = 1, System.IntPtr lParam =
71434927, ref bool handled = false) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object
o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate
callback, object args, int numArgs) + 0x56 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object
source = {System.Windows.Threading.Dispatcher}, System.Delegate method,
object args, int numArgs, System.Delegate catchHandler = null) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority
priority, System.TimeSpan timeout, System.Delegate method, object args,
int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd
= 592706, int msg = 513, System.IntPtr wParam = 1, System.IntPtr lParam
= 71434927) + 0xf1 bytes
      [Native to Managed Transition]
      user32.dll!_InternalCallWinProc_at_20() + 0x23 bytes
      user32.dll!_UserCallWinProcCheckWow_at_32() + 0xb7 bytes
      user32.dll!_DispatchMessageWorker_at_8() + 0xed bytes
      user32.dll!_DispatchMessageW_at_4() + 0xf bytes
      msenv.dll!ProcessMessage() + 0x4d bytes
      msenv.dll!CMsoCMHandler::EnvironmentMsgLoop() + 0x87 bytes
      msenv.dll!CMsoCMHandler::FPushMessageLoop() + 0x79 bytes
      msenv.dll!SCM::FPushMessageLoop() + 0x8c bytes
      msenv.dll!SCM_MsoCompMgr::FPushMessageLoop() + 0x2a bytes
      msenv.dll!CMsoComponent::PushMsgLoop() + 0x28 bytes
      msenv.dll!VStudioMainLogged() + 0x22a bytes
      msenv.dll!_VStudioMain() + 0x78 bytes
      devenv.exe!util_CallVsMain() + 0xdb bytes
      devenv.exe!CDevEnvAppId::Run() + 0x693 bytes
      devenv.exe!_WinMain_at_16() + 0x9c bytes
      devenv.exe!operator new[]() + 0xb31c bytes
      kernel32.dll!@BaseThreadInitThunk_at_12() + 0x12 bytes
      ntdll.dll!___RtlUserThreadStart_at_8() + 0x27 bytes
      ntdll.dll!__RtlUserThreadStart_at_8() + 0x1b bytes

Still those crashes completely go away once I downgrade to TortoiseSVN
1.7.7.
So I'm at a loss here. Any suggestions to get closer to what's the
root-cause of the crashes and why it only crashes with 1.7.8 but not
with 1.7.7? Any further debugging I can provide you with?

Note that the same crash also occurs when using VisualSVN 3.0.2
(previously I only tested with VisualSVN 2.5.5).

Regards,
Stefan

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3000651

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-08-24 09:29:50 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.