question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Desktop barfs with cygheap base mismatch detected

See original GitHub issue

Description

During clone of a repo desktop barfs, complaining

      1 [main] sh (21312) C:\Users\bdorrans\AppData\Local\GitHubDesktop\app-1.0.4\resources\app\git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x2FA7408/0x2D97408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.

There is no cygwin1.dll anywhere on any disk that I can find.

Git standalone, version 2.14.2.windows.3, 32bit is installed. It is higher in the path, however uninstalling it and rebooting made no difference.

Version

GitHub Desktop version: [1.04]

OS version: Microsoft Windows [Version 10.0.16299.19]

Steps to Reproduce

  1. Start GitHub desktop
  2. Click clone a repository
  3. Choose repository
  4. Click Clone
  5. Watch the spinnies
  6. Get the error screen
  7. Cry

Expected behavior: Clone to work

Actual behavior: Clone barfs

Reproduces how often: Every time

Logs

2017-10-18.desktop.production.log

Additional Information

Running the bundled shell C:\Users\bdorrans\AppData\Local\GitHubDesktop\app-1.0.4\resources\app\git\usr\bin\sh.exe and then trying git gives the same error.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:42 (19 by maintainers)

github_iconTop GitHub Comments

9reactions
blowdartcommented, Oct 25, 2017

Oh god, this will make @shiftkey happy. It was me. Kind of.

So Fall Edition added some protections that came from EMET, and it has one to force ASLR onto binaries that don’t have it. Which is a good idea, because ASLR is a nice exploit protection. So I turn that on. And guess what started working when I turned it off again …

snip_20171025101340

Force randomization is the setting in question.

7reactions
sylveoncommented, Oct 25, 2017

I found a “fix”. Add an exclusion for each program that crashes with that message until it works as desired. Example for git add -p with perl excluded: image with sh and perl excluded: image

Just add more until it works 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Github/Cygwin error: cygheap base mismatch detected
i face the same issue too, but when I accessed Git shell from GitHub desktop. When I open a directory from a standalone...
Read more >
cygheap base mismatch detected" when using git on Windows ...
This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1. dll using the Windows Start->Find/Search ...
Read more >
fatal error - cygheap base mismatch detected - ts0818のブログ
Attached is the XML file I exported from the Windows 10 Exploit Protection setup. Github_exploit_settings.txt. Chris Shaker. Desktop barfs with ...
Read more >
GitHub cloning reports "cygheap base mismatch detected"
This problem is probably due to using incompatible versions of the cygwin DLL. are unable to find another cygwin DLL. We are unable...
Read more >
Untitled
Cygheap base mismatch detected cygwin, Popup stand 3d model, Best girl guitar ... Dwz rechner excel, Oeverseegymnasium maturaball, Canimals games for pc!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found