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

Re: Visual Studio loader lock errors

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 02 Oct 2008 18:23:26 +0200

cjmarshall77_at_googlemail.com wrote:
> Hi,
> Since upgrading to TortoiseSVN 1.5.3 (from one of the 1.4 series)
> yesterday I've been getting Visual Studio 'Loader Lock' warnings when
> debugging. The full text of the warning is :
>
> Managed Debugging Assistant 'LoaderLock' has detected a problem in
> '<Snipped path to my application>.vshost.exe'.
> Additional Information: Attempting managed execution inside OS Loader
> lock. Do not attempt to run managed code inside a DllMain or image
> initialization function since doing so can cause the application to
> hang.
>
> The application is written in VB.NET and calls into a number of C++
> COM DLLs. The error seems to be occuring at the loading of one of the
> COM dlls. The DLL is however entirely native code.

TSVN also is completely native code.
Do you have any code inside your dllmain?

> With native debugging on I noticed that several TortoiseSVN dlls were
> loaded into the process so one the the things I tried was uninstalling
> TortoiseSVN. After doing this the problem went away. Reinstall and the
> problem is back again.

What other dlls are loaded?

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-10-02 18:23:53 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.