delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/12/17:41:26

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <BF35D9C143BCCC4EB63181B67C9320C83A9B75@serv-075.icon-germany.local>
From: Heribert Dahms <heribert_dahms AT icon-scm DOT com>
To: "'Stephen Weeks'" <sweeks AT acm DOT org>, cygwin AT cygwin DOT com
Subject: RE: mmap of large amount returns invalid pointer
Date: Tue, 12 Mar 2002 23:44:36 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

Hi Stephen and Corinna,

looks like you have overlooked that mmap doesn't return NULL
despite win32 error in strace (see below):

c:\>net helpmsg 1455

The paging file is too small for this operation to complete.


Second, (may mean nothing) why is h:188 first and h:190 second time?

Bye, Heribert (heribert_dahms AT icon-scm DOT com)

> -----Original Message-----
> From:	Stephen Weeks [SMTP:sweeks AT acm DOT org]
> Sent:	Tuesday, March 12, 2002 19:08
> To:	cygwin AT cygwin DOT com
> Subject:	Re: mmap of large amount returns invalid pointer
> 
	[Heribert]  [snip] 

>  1668  719099 [main] mmap 159 mmap: addr 0, len 100000000, prot 3, flags
> 22, fd -1, off 0
>  5487  724586 [main] mmap 159 fhandler_disk_file::mmap: 2A230000 =
> MapViewOfFileEx (h:188, access:1, 0, off:0, len:100007936, addr:0)
> 26042  750628 [main] mmap 159 mmap: 2A230000 = mmap() succeeded
> 
	[Heribert]  [snip]

>  1302 2076991 [main] mmap 159 mmap: addr 0, len 130000000, prot 3, flags
> 22, fd -1, off 0
>  2949 2079940 [main] mmap 159 fhandler_disk_file::mmap: 2A230000 =
> MapViewOfFileEx (h:190, access:1, 0, off:0, len:130023424, addr:0)
>  7425 2087365 [main] mmap 159 mmap_record::map_map: -1 = map_map (): Win32
> error 1455
>  1830 2089195 [main] mmap 159 mmap: 2A230000 = mmap() succeeded
> 
	[Heribert]  [snip]

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