From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9409 invoked by alias); 1 Mar 2012 05:56:46 -0000 Received: (qmail 9398 invoked by uid 22791); 1 Mar 2012 05:56:45 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_MK,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Mar 2012 05:56:31 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S2z07-0005PG-Gp for cygwin@cygwin.com; Thu, 01 Mar 2012 06:56:27 +0100 Received: from 80.149.157.94 ([80.149.157.94]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Mar 2012 06:56:27 +0100 Received: from heiko_elger by 80.149.157.94 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Mar 2012 06:56:27 +0100 To: cygwin@cygwin.com From: Heiko Elger Subject: Re: cygheap base mismatch detected Date: Thu, 01 Mar 2012 05:56:00 -0000 Message-ID: References: <4F4E7CC8.9090804@cwilson.fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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/msg00005.txt.bz2 I can agree having some times same error on multiple machines (win7/64) - but always when running perl. 1 [main] perl (7796) c:\programme\cygwin\bin\perl.exe: *** fatal error - cygheap base mismatch detected - 0xE158D0 /0xEF58D0. 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. I see this error using 1.7.9 (nearly all baselines till 1.7.10) and 1.7.10 1.7.11 not yet tested). I the error occured once - I can reproduce is running simple perl script in bash like the following: perl -e 'print "hello\n";' I checked our installation: There is really only one cygwin installation on it. This is the last issue after all for issues we've had. I've hoped this will be solved in 1.7.11 - I read something about increasing heap space (in a 1.7.11 snapshot I think). What we really have is the following - so perhaps cygwin thinks he will file multiple cygwin1.dll files. We are using German Win7/64. Cygwin is installed into c:\Programme\cygwin. In German Win7 c:\Programme is a system link to "c:\Program Files" - this is by Win7 automatically. Our IT departement create a junction c:\Programme to "c:\Program Files" using mklink /J c:\Programme "c:\Program Files" - cause of other older incompatabilities to our old WinXp environment having a real c:\Programme directory. I'm not sure - but perhaps cause of this - cygwin will came into trouble. @Charles: where is your main installation directory of cygwin. I suppose you've not running a German Win7 installation! Is there a way of instrumentation for this error to get even more information? Can anyone give me a hint - what the real problem for this is! Heap corruption? Too small heap? Wrong DLL loaded at wrong base address? best regards. Heiko -- 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