X-Recipient: archive-cygwin AT delorie DOT com 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 To: cygwin AT cygwin DOT com From: Heiko Elger Subject: Re: cygheap base mismatch detected Date: Thu, 1 Mar 2012 05:56:15 +0000 (UTC) Lines: 58 Message-ID: References: <4F4E7CC8 DOT 9090804 AT cwilson DOT fastmail DOT 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 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 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