Bugs item #2104047, was opened at 2008-09-10 11:49
Message generated for change (Comment added) made by stefanrusek
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=968354&aid=2104047&group_id=199155

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stefan Rusek (stefanrusek)
Assigned to: Nobody/Anonymous (nobody)
Summary: HGTK crash in libapr

Initial Comment:
I am running Windows Vista x64, but I this probably occurs on other versions

Repro:
   1. Install TortoiseHG and the latest Subversion command line client
   2. open a command line and cd to a hg repo
   3. type hgtk log

Expected:
   a cool hgtk log window

Actual:
   an access violation in libapr.dll :(


After some research, I noticed that in the subversion directory there is a 
libapr.dll and in tortoisehg there is a libapr-1.dll. If I remove the 
subversion dir from the path, then hgtk works fine. It appears that the app is 
trying to load libapr, first it searches the path for libapr.dll, then it 
searches for libapr-1.dll. This means that if subversion is installed on my 
machine it always fails.

----------------------------------------------------------------------

>Comment By: Stefan Rusek (stefanrusek)
Date: 2008-10-20 09:36

Message:
In fact, renaming the file does fix the problem.

----------------------------------------------------------------------

Comment By: Stefan Rusek (stefanrusek)
Date: 2008-10-20 09:34

Message:
This occurs on multiple versions of subversion. This occurred when I had
v1.4 installed and continued with v1.5.

Since the Dll loader in windows searches the directory the exe is located
in before the path. It would seem that this issue could be resolved by
renaming libapr-1.dll -> libapr.dll.

----------------------------------------------------------------------

Comment By: TK Soh (tksoh)
Date: 2008-09-11 09:54

Message:
What version of svn have you installed on your system? The installer for
TortoiseHg 0.4.1 comes with svn binding v1.4.6 (for python 2.5), which
seems to contain the different (newer?) version of libapr.dll.

I am not sure what's the best way to manage such conflict though, other
than installer a version of svn using the same libapr.dll.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=968354&aid=2104047&group_id=199155

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to