Stash Missing From SourceTree

I am running SourceTree 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

0 votes
Accepted answer

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

655 views 5 9
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