This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

'fhandler_dev_zero::fixup_mmap_after_fork' problems.


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]