Problem starting terminal in SourceTree 2.0.20.1

I recently upgraded SourceTree from 1.9 to 2.0.20.1 and now when I click on the 'Terminal' button to start a bash shell I get:

The procedure entry point __locale_ctype_ptr could not be located in the dynamic link library msys-2.0.dll

I get this regardless if I use the system or embedded Git (which are both 2.11).

2 answers

0 vote

Hi

It is very likely this is due to a different version of msys-2.0.dll being found on your PATH before the one shipped with git 2.11.

This gives the function mismatch. It is worth searching for other instances of msys-2.0.dll on your maching to determine where it is and what may have installed it.

Only found two instances - looks like the system and embedded Git:

 

C:\>dir /s msys-2.0.dll
Volume in drive C has no label.
Volume Serial Number is 7E9A-70C3

Directory of C:\Program Files\Git\usr\bin

04/02/2017 01:43 PM 3,301,247 msys-2.0.dll
1 File(s) 3,301,247 bytes

Directory of C:\Users\jonathan.champlin\AppData\Local\Atlassian\SourceTree\git_local\usr\bin

03/31/2016 12:36 PM 3,595,888 msys-2.0.dll
1 File(s) 3,595,888 bytes

Total Files Listed:
2 File(s) 6,897,135 bytes
0 Dir(s) 42,754,981,888 bytes free

I solved this problem by updating GIT installation on my computer.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

561 views 1 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you