delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/17/08:16:50

X-Spam-Check-By: sourceware.org
Message-ID: <23d7e1bb0610170516v6609c026x7c819984cc7a433e@mail.gmail.com>
Date: Tue, 17 Oct 2006 13:16:31 +0100
From: "Simon Mullis" <simon AT mullis DOT co DOT uk>
To: cygwin AT cygwin DOT com
Subject: 'fhandler_dev_zero::fixup_mmap_after_fork' problems.
MIME-Version: 1.0
X-Google-Sender-Auth: 380eef85787ae120
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Hello All,

I've been a happy Cygwin user for a years now with no issue.  Recently
(last few months) I've started having many problems with a variety of
apps.  Because of the number of apps with which I have an issue I
suspect it might be an issue with the cygwin DLL and memory allocation
after forking.

cpan> install HTTP::Cache::Transparent
CPAN: Storable loaded ok
Going to read /home/smullis/.cpan/Metadata
  Database was generated on Tue, 25 Jul 2006 14:29:51 GMT
Running install for module HTTP::Cache::Transparent
Running make for M/MA/MATTIASH/HTTP-Cache-Transparent-0.7.tar.gz
CPAN: Digest::SHA loaded ok
CPAN: Module::Signature loaded ok
18357166 [main] perl 5864 fhandler_dev_zero::fixup_mmap_after_fork:
requested 0x4C0000 != 0x0 mem alloc base 0x460000, state 0x2000, size
647168, Win32 error 487
18361412 [main] perl 5864 C:\cygwin\bin\perl.exe: *** fatal error -
C:\cygwin\bin\perl.exe: *** recreate_mmaps_after_fork_failed
318229696 [main] perl 5204 child_info::sync: wait failed, pid 5864,
Win32 error 0
318230034 [main] perl 5204 fork: child -1 - died waiting for longjmp
before initialization, retry 10, exit code 0x1000000, errno 11

Or

(1 13:00:42 506) ->ri 'Array.new'
4470296 [main] ruby 2284 fhandler_dev_zero::fixup_mmap_after_fork:
requested 0x220000 != 0x0 mem alloc base 0x220000, state 0x1000, size
4096, Win32 error 487
4470491 [main] ruby 2284 C:\cygwin\bin\ruby.exe: *** fatal error -
C:\cygwin\bin\ruby.exe: *** recreate_mmaps_after_fork_failed
304453422 [main] ruby 252 child_info::sync: wait failed, pid 2284, Win32 error 0
304453588 [main] ruby 252 fork: child -1 - died waiting for longjmp
before initialization, retry 10, exit code 0x1000000, errno 11
305516424 [main] ruby 2584 fhandler_dev_zero::fixup_mmap_after_fork:
requested 0x220000 != 0x0 mem alloc base 0x220000, state 0x1000, size
4096, Win32 error 487
305516681 [main] ruby 2584 C:\cygwin\bin\ruby.exe: *** fatal error -
C:\cygwin\bin\ruby.exe: *** recreate_mmaps_after_fork_failed

I've spent a fair amount of time Googling for a solution and although
I've found a number of people with a similar issue I've not found
anything yet.

So my questions:

- Is this the right group to ask this in?
- Is this a known issue?
- Is it my environment?  I've tried a complete re-install with no
change.  I've tried recent CVS builds of the cygwin DLL with no luck.
- Is it related to my system? (Thinkpad T43 with 2GB RAM, Windows XP Pro SP2).
- I've also tried adding the reg key heap_chunk_in_mb
(HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin) (as a DWORD).
I've
tried setting this to 256, 512 and 768 MB.  No success here either.
- No amount of 'rebase'-ing seems to have helped either.

Any pointers, comments or suggestion would be really, really appreciated.

I'm really hoping to find a solution to this...

Many thanks in advance

SM

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