delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/26/04:08:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Wed, 26 Jun 2002 10:07:48 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 1.3.3 WinNT4.0 munmap invalid argument
Message-ID: <20020626100748.N22705@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <001001c21cc8$239ace20$8e90a8c0 AT citr DOT com DOT au>
Mime-Version: 1.0
In-Reply-To: <001001c21cc8$239ace20$8e90a8c0@citr.com.au>
User-Agent: Mutt/1.3.22.1i

On Wed, Jun 26, 2002 at 02:15:43PM +1000, Shane Mann wrote:
> Hi,
> 
> I am having trouble with a munmap call failing with an invalid argument.
> munmap seems to have 3 error conditions, I can eliminate 2 of those (len
> <=0, and mem block size not divisible by page size), which leave me with
> address + size outside process memory space. Is this a common problem?
> Following is some debug output:
> 
> Just Mmaped 20480 which is now at address 1A440000
> 
> About to UnMapp 20480 at 1A440000
> 
> The code works fine under Linux but falls over with munmap: Invalid Argument
> under cygwin gcc.
> 
> Any help appreciated.

Not enough info.  Please create a *simple* testcase and send it to
this list.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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