Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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?

2 answers

1 accepted

1 vote
Answer 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.

On my machine this was Source Tree problem for Mac

1. Add new changes 

2 Make new Stash

3. All stashes will appear immediately

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,086 views 2 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you