Trying to solve my cygheap base mismatch issue

Larry Hall (Cygwin)
Wed Aug 28 14:00:00 GMT 2013

On 8/28/2013 9:29 AM, Tony Whyte wrote:
> Hi All
> I have resorted to attempting a fresh install of a base Cygwin because
> I suddenly started getting cygheap errors (after year of use) when I
> launched the cygwin terminal window.
> Im pretty sure it was related to a non-Cygwin dll, PGHook.dll, that
> had grabbed a slot at  0x61100000 thus crowding out cygwin1.dll from
> its preferred base address of 0x61000000.
> This displacement however undermines a successful install also , as
> post install scripts try to execute. (See error snippet below).
> Visited: 49 nodes out of 49 while creating dependency order.
> Dependency order of packages: libgcc1 libiconv2 libintl8 alternatives
> base-cygwin libstdc++6 libattr1 cygwin libgmp3 libgmp10 libmpfr4
> libreadline7 gawk tzcode coreutils terminfo libncursesw10 bash
> findutils sed base-files libbz2_1 bzip2 libpopt0 cygutils dash
> diffutils dos2unix editrights zlib0 file gettext libpcre0 grep groff
> gzip ipc-utils libncurses10 less liblzma5 login xz man mintty rebase
> run tar vim-minimal which
> 2013/08/27 08:37:31 running: C:\cygwin\bin\bash.exe --norc --noprofile
> "/etc/postinstall/"
>        6 [main] mkdir (2500) C:\cygwin\bin\mkdir.exe: *** fatal error -
> cygheap base mismatch detected - 0x7A0970/0x720970.
> To add some context I show listdlls.exe output for a dash.exe process below.
> dash.exe pid: 1768
> Command line: "C:\cygwin\bin\dash.exe"
> Base        Size      Path
> 0x00400000  0x1a000   dash.exe
> 0x7c900000  0xb2000   ntdll.dll
> 0x7c800000  0xf6000   kernel32.dll
> 0x61100000  0x3f000   PGHook.dll
> 0x7e410000  0x91000   USER32.dll
> 0x77f10000  0x49000   GDI32.dll
> 0x00490000  0x4b0000  cygwin1.dll
> 0x77dd0000  0x9b000   ADVAPI32.dll
> 0x77e70000  0x93000   RPCRT4.dll
> 0x77fe0000  0x11000   Secur32.dll
> 0x68000000  0x36000   rsaenh.dll
> 0x77c10000  0x58000   msvcrt.dll
> 0x76bf0000  0xb000    PSAPI.DLL
> Its a bit of a catch-22 situation and Im looking for suggestions how
> to get a completely successful Install done.

Things to try, in order of preference:

1. Uninstall Avecto Privilege Guard.
2. Disable the Windows service that loads PGHook.dll.
3. Rebase PGHook.dll to a new location.



A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list