X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=xbnFb794cwOv6Ijr ZTE3DU/sy0t0OG2PNiuS0Lsy/WHyjG0WUaA+9SrBWSEWVZQ4SRc8fpzgF0QvMorX Pr1aZZjqmhc4x1epPw9mtfa3T4OzCmCqFHBlLGnzfaEtUNa1O3GkaSG/197klAtq vSchXNYFqFFX76Vq6j1pHbiaffY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=hTpfax1UFE1QhNDcbzF7My Yz39c=; b=B6iIXa1F3eg+Dk4icPAisUneCTxGHo4H2Y9BxL+mN/RiANOpqwP5pp CYY++1KYSEbNh1yizpvAYgMQKDxF5QVtNnQwqaoPOvT5OaBGa7dSGnQwYUpyaQ8G /8M1EmegNwTe61UPLsfTGWtuhlycLho7OT/YXN8qglquuX9syf1T4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_99,KHOP_THREADED autolearn=no version=3.3.2 X-HELO: vms173011pub.verizon.net Message-id: <521E0257.6000704@cygwin.com> Date: Wed, 28 Aug 2013 09:59:51 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Trying to solve my cygheap base mismatch issue References: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit 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/000-cygwin-post-install.sh" > 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. -- Larry _____________________________________________________________________ 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: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple