Stash Missing From SourceTree

I am running SourceTree 1.9.10.0 and this past weekend we had the SSL certificate expire for our Stash server. Ever since then I no longer see my saved Stashes in SourceTree and when I try to add something new to Stash I get an error about cygheap base mismatch deleted and an incompatible version of the cygwin DLL.

The error also says to search for cygwin1.dll and to delete all but the most recent version, which should reside is x:\cygwin\bin, where 'x' is the drive I installed on. I searched my entire computer and don't see this DLL, or at least Windows couldn't find it, which is weird because I've not made any changes to SourceTree in over a year, so if it was using that DLL and it's now gone, what would have removed it?

Is there any way to get my Stashes I have saved back without uninstalling/reinstalling SourceTree?

I installed SourceTree on another computer and Stash seems to be working, though I don't see my prior Stashes. How can I get my previous Stashes back?

1 answer

1 accepted

After much Googling, I ended up uninstalling Git, then installing the latest version.

Originally I tried the 64 bit version of Git, but that didn't seem to fix it, so I tried the 32 bit version based on another suggestion. I don't know if it was the 32 bit version that fixed the issue or the fact that I performed a reboot after the 32 bit version and not the 64 bit version.

This also fixed my issue with Terminal in SourceTree throwing an error about needing to rebase a DLL, whatever that means.

Any in case, hopefully this helps someone else.

I have the same error while making a stash or deleting an existing one. I tried various things, but installing 32bit GIT (did not try 64) was the only thing that solved it.

Tip: I had to delete the C:\Users\xxxxx\AppData\Local\Atlassian\SourceTree\git_local for SourceTree to detect the correct one.

Thx Chris for your solution.

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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

28,607 views 26 12
Join discussion

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