delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/05/12:08:29

X-Spam-Check-By: sourceware.org
Date: Fri, 5 Jan 2007 11:07:55 -0600
From: Brian Ford <Brian DOT Ford AT FlightSafety DOT com>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.0 CVS mmap failure
In-Reply-To: <20070105165956.GA30828@trixie.casa.cgf.cx>
Message-ID: <Pine.CYG.4.58.0701051103090.280@PC1163-8460-XP.flightsafety.com>
References: <Pine DOT CYG DOT 4 DOT 58 DOT 0701041715140 DOT 3520 AT PC1163-8460-XP DOT flightsafety DOT com> <20070105095752 DOT GB28768 AT calimero DOT vinschen DOT de> <Pine DOT CYG DOT 4 DOT 58 DOT 0701050959060 DOT 2704 AT PC1163-8460-XP DOT flightsafety DOT com> <Pine DOT CYG DOT 4 DOT 58 DOT 0701051054010 DOT 280 AT PC1163-8460-XP DOT flightsafety DOT com> <20070105165956 DOT GA30828 AT trixie DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, 5 Jan 2007, Christopher Faylor wrote:
> On Fri, Jan 05, 2007 at 10:55:09AM -0600, Brian Ford wrote:
> >One more tidbit before I have time to find the real problem.  Compiling
> >the test case with -Wl,large-address-aware makes the test pass on a
> >/3GB system.
>
> Does that mean that this is a solution for you, Brian?

It's a work around.  I wouldn't exactly call it a solution.

> If the MEM_TOP_DOWN problem is just allocating memory in a place that
> an app isn't prepared to deal with that seems like a lurking problem
> with the app, anyway, since even without MEM_TOP_DOWN there is no
> guarantee that the address from mmap will not show up in a problematic
> range of memory.

On the contrary, I'd say this says something more like Windows is
allocating memory in a place that it knows a non-large address aware
application is not supposed to have access to.  If you look at my test
app, you'll see it doesn't even use the mapped pointer.  The mmap just
fails, so in this case, Cygwin would be the "app" with the lurking
problem ;-).

I'm looking into the issue myself, BTW.

-- 
Brian Ford
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019