From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20073 invoked by alias); 2 Oct 2016 09:34:12 -0000 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 Received: (qmail 20047 invoked by uid 89); 2 Oct 2016 09:34:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*Ad:U*mark, listings, insider, mismatches X-HELO: m0.truegem.net Received: from m0.truegem.net (HELO m0.truegem.net) (69.55.228.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 02 Oct 2016 09:34:08 +0000 Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id u929Y6LF079533 for ; Sun, 2 Oct 2016 02:34:06 -0700 (PDT) (envelope-from mark@maxrnd.com) Received: from 76-217-5-154.lightspeed.irvnca.sbcglobal.net(76.217.5.154), claiming to be "[192.168.1.100]" via SMTP by m0.truegem.net, id smtpdfFAiNR; Sun Oct 2 02:33:58 2016 Subject: Re: Advice for debugging heap mismatches? (Win10 Insider build 14926) To: cygwin@cygwin.com References: <57E700EA.2040802@maxrnd.com> From: Mark Geisert Message-ID: <57F0D486.1060301@maxrnd.com> Date: Sun, 02 Oct 2016 09:38:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-10/txt/msg00017.txt.bz2 Tony Kelman wrote: >> Could you paste a complete sample of the error message so we can >> determine where in the Cygwin code it's coming from? > > Still a problem in 14936. Folks, this could be very bad. Anyone at all > testing the insider builds, or are we going to be blindsided when an > update goes out to everyone that breaks cygwin? > > Here's one: > > 1 [main] cp (6432) C:\cygwin64\bin\cp.exe: *** fatal error - cygheap base mismatch detected - 0x180302408/0xD92408. > 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. OK, you're seeing two different problems. Solving the one above is critical. It might help solve the other problem shown below; we'll have to see. You've got two different cygwin1.dll somewhere on your PATH. As your builds proceed, they likely start out using the correct cygwin1.dll but sometimes load the wrong cygwin1.dll along the way. The error message tells you how to solve the problem. But I usually use this method: - open a Command Prompt running as Administrator - cd c:\ or wherever the root of your Cygwin installation drive is - dir /S cygwin1.dll You might see multiple listings of the same cygwin1.dll due to the crazy WoW support but these will all have the same date and size. You want to find the cygwin1.dll that has a different date (probably older) and size. That's the problematic one; rename it or delete it. Then try running your build again. > > > And another: > > 0 [main] cmake 10384 child_info_fork::abort: C:\cygwin64\bin\cygintl-8.dll: Loaded to different address: parent(0x3E3680000) != child(0x190000) This is a garden-variety fork() failure due to the child having something in its address space at 0x3E3680000 such that Cygwin can't load cygintl-8.dll at that address where the parent has it. But since you've apparently got two Cygwin installations on your PATH, maybe that's complicating things. See if fixing the first problem above makes this problem go away too. ..mark -- 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