public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Mark Hadfield <m.hadfield@niwa.co.nz>
To: cygwin@cygwin.com
Subject: Re: cygheap base mismatch detected
Date: Fri, 08 Apr 2005 00:10:00 -0000	[thread overview]
Message-ID: <d34dtf$77u$1@sea.gmane.org> (raw)
In-Reply-To: <000d01c53b5a$59cf4b20$75986686@doas.iup.physik.unibremen.de>

Andreas Heckel wrote:
> Hello all,
> 
> I know there were a lot of similar questions to this point in the past, 
> but I didn't find a answer to my problem:
> 
> I get the error message:
> 
> ---
> v:\julian\TRAJ\Traj2.xi686 (2116): *** cygheap base mismatch detected - 
> 0x61800000/0x72140000.
> 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.
> ---
> 
> The program Traj2.i686 is a FORTRAN prog I "ported" from a ALPHA machine 
> where it is running perfectly. Compilation with g77 gave no problems.
> 
> I checked several times but there is really not more than ONE 
> cygwin1.dll in the system.
> I installed a fresh cygwin version right today, rebooted, the error 
> remains.

I got this error for the first time yesterday while running my script to 
test the limits of Fortran array sizes. The reference to "incompatible 
versions of the cygwin DLL" is spurious, I think. By varying my array 
size I can get "*** MapViewOfFileEx(0x224, in_h 0x224) failed, Win32 
error 6" or the program just fails to produce output. The symptoms may 
differ, but the problem is the same.

Cygwin versions of g77 (and gfortran) are broken with regard to handling 
large amounts of memory, where "large" equals 150 MiB or so and is *not* 
all that large for a Fortran program.

The solutions:

   - Try the -mno-cygwin switch (thus creating a non-Cygwin executable).
     Be aware that you may need to recompile any external libraries.

   - Install g95 (http://www.g95.org/)

If the first does not work for you immediately, i suggest going straight 
to the second. G95 is pretty good these days and the Cygwin snapshot 
currently available for downloading has no major bugs, I believe.

-- 
Mark Hadfield            "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  parent reply	other threads:[~2005-04-07 23:01 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-07 10:35 Andreas Heckel
2005-04-07 13:25 ` Dave Korn
2006-02-15 23:49   ` Jens Dill
2006-02-15 23:58     ` Christopher Faylor
2006-02-16 10:42     ` Dave Korn
2005-04-08  0:10 ` Mark Hadfield [this message]
2005-04-08  7:35   ` Andreas Heckel
2006-02-16  8:40 Dill, Jens (END-CHI)
2006-02-16 17:57 ` Christopher Faylor
2006-02-16 18:08 ` Dave Korn
2006-02-16 18:36 Dill, Jens (END-CHI)
2006-02-16 19:50 ` Dave Korn
2006-02-16 19:38 Dill, Jens (END-CHI)
2006-02-16 20:06 ` Chris Taylor
2006-02-16 22:05 Dill, Jens (END-CHI)
2006-02-16 23:45 Dill, Jens (END-CHI)
2006-02-17 10:23 ` Dave Korn
2006-02-17 17:43 Dill, Jens (END-CHI)
2006-02-17 22:33 Dill, Jens (END-CHI)
2006-02-18 14:33 ` Mark Geisert
2006-02-17 22:56 Dill, Jens (END-CHI)
2006-02-19  3:34 Dill, Jens (END-CHI)
2006-02-19 18:41 ` Yitzchak Scott-Thoennes
2006-02-20  5:26 ` Mark Geisert
2006-02-20  5:36   ` Christopher Faylor
2006-02-21 21:56 ` Jason Tishler
2006-02-21 16:10 Dill, Jens (END-CHI)
2006-02-21 16:37 ` Brian Dessent
2006-02-21 19:18 ` Yitzchak Scott-Thoennes
2006-02-21 17:40 Dill, Jens (END-CHI)
2012-02-29 21:19 Charles Wilson
2012-02-29 23:23 ` marco atzeri
2012-03-01  5:56 ` Heiko Elger
2012-03-01  7:03   ` marco atzeri
2012-03-01 10:25   ` Corinna Vinschen
2012-03-01 10:52 ` Corinna Vinschen
2012-03-01 10:59   ` marco atzeri
2012-03-01 12:15     ` Corinna Vinschen
2012-03-01 22:44       ` Charles Wilson
2012-03-02  9:00         ` Corinna Vinschen
2012-03-02 17:11           ` Charles Wilson
2012-07-18  0:03 Andrew DeFaria
2012-07-18  1:56 ` Reini Urban
2012-07-18  2:37   ` Andrew DeFaria
2012-07-18 15:04     ` Reini Urban
2012-07-18 18:16       ` Andrew DeFaria
2012-07-18 18:38         ` Earnie Boyd
2012-07-18 19:03           ` Andrew DeFaria
2018-03-02  8:14 ignace danneels
2018-03-02  9:39 ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='d34dtf$77u$1@sea.gmane.org' \
    --to=m.hadfield@niwa.co.nz \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).