From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27902 invoked by alias); 1 Mar 2012 10:59:57 -0000 Received: (qmail 27894 invoked by uid 22791); 1 Mar 2012 10:59:56 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG X-Spam-Check-By: sourceware.org Received: from mail-gy0-f171.google.com (HELO mail-gy0-f171.google.com) (209.85.160.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Mar 2012 10:59:43 +0000 Received: by ghbz17 with SMTP id z17so122943ghb.2 for ; Thu, 01 Mar 2012 02:59:43 -0800 (PST) Received-SPF: pass (google.com: domain of marco.atzeri@gmail.com designates 10.236.72.170 as permitted sender) client-ip=10.236.72.170; Authentication-Results: mr.google.com; spf=pass (google.com: domain of marco.atzeri@gmail.com designates 10.236.72.170 as permitted sender) smtp.mail=marco.atzeri@gmail.com; dkim=pass header.i=marco.atzeri@gmail.com Received: from mr.google.com ([10.236.72.170]) by 10.236.72.170 with SMTP id t30mr6026124yhd.101.1330599583140 (num_hops = 1); Thu, 01 Mar 2012 02:59:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.72.170 with SMTP id t30mr4671200yhd.101.1330599583090; Thu, 01 Mar 2012 02:59:43 -0800 (PST) Received: by 10.146.136.1 with HTTP; Thu, 1 Mar 2012 02:59:42 -0800 (PST) In-Reply-To: <20120301105139.GF2257@calimero.vinschen.de> References: <4F4E7CC8.9090804@cwilson.fastmail.fm> <20120301105139.GF2257@calimero.vinschen.de> Date: Thu, 01 Mar 2012 10:59:00 -0000 Message-ID: Subject: Re: cygheap base mismatch detected From: marco atzeri To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-03/txt/msg00024.txt.bz2 On Thu, Mar 1, 2012 at 11:51 AM, Corinna Vinschen wrote: > On Feb 29 14:30, Charles Wilson wrote: >> I've been running into a strange "error" lately (that is, I first >> noticed it for sure on 1.7.10, but it MIGHT have occurred also on 1.7.9. >> It persists on 1.7.11). cygcheck -- and *only* cygcheck -- is reporting >> a cygheap base mismatch but only on an XP64 machine: >> >> $ cygcheck -cd cygwin >> =A0 =A0 =A0 1 [main] cygcheck (3756) C:\cygwin\bin\cygcheck.exe: *** fat= al >> error - cygheap base mismatch detected - 0x61270870/0x2170870. >> 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. =A0The most recent version >> *should* >> reside in x:\cygwin\bin, where 'x' is the drive on which you have >> installed the cygwin distribution. =A0Rebooting is also suggested if you >> are unable to find another cygwin DLL. >> Cygwin Package Information >> Package =A0 =A0 =A0 =A0 =A0 =A0 =A0Version >> cygwin =A0 =A0 =A0 =A0 =A0 =A0 =A0 1.7.11-1 >> >> (Note that cygcheck actually *does* complete the requested command, >> after the error message from (cygwin1.dll/dcrt0.cc?) is printed. > > Very strange. =A0For two reasons. =A0First of all, why is the mismatch > message printed at all? =A0The code in question is basically: > > =A0if (res->cygheap !=3D (void *) &_cygheap_start) > =A0 =A0multiple_cygwin_problem (...); 0x61270870 !=3D 0x2170870 > > But res->cygheap and &_cygheap_start are apparently identical, so why > is multiple_cygwin_problem called? > > And then multiple_cygwin_problem calls api_fatal to print the message > which means that ultimately TerminateProcess() is called. > > I tried that on my XP64 test machine and cygcheck worked fine. > > Could you do a parallel installation on the same machine and see how it > behaves there? > > > Corinna > -- 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