This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygheap base mismatch detected


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]