Mail Archives: cygwin/2002/03/12/17:41:26
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 -