delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/19/01:07:56

Message-ID: <437EC12A.3050608@cygwin.com>
Date: Sat, 19 Nov 2005 01:07:38 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0
MIME-Version: 1.0
To: David Svoboda <svoboda AT cs DOT cmu DOT edu>
CC: cygwin AT cygwin DOT com
Subject: Re: Cygwin fork failure
References: <437E014F DOT 6010201 AT cs DOT cmu DOT edu>
In-Reply-To: <437E014F.6010201@cs.cmu.edu>
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

David Svoboda wrote:
> I have built a C++ server program called 'analyzer'. But when I try to
> run it, it fails upon trying to execute a 'fork' command. Why?
> 
> 
>    $ analyzer --KANTOO_LANGUAGE=toy -server-multiple -fork
>    Analyzer 2.0
> ***      5 [main] analyzer 1712 
> fhandler_disk_file::fixup_mmap_after_fork: requested 0x18730000 != 0x0 
> mem alloc base 0x18730000, state 0x1000, size 4096, Win32 error 487
> ***     d:\svoboda\kantoo\bin\analyzer (1712): *** 
> recreate_mmaps_after_fork_failed
> ***     9 [main] analyzer 2200 fork_parent: child 1712 died waiting for 
> dll loading
> ***     Failed to fork properly!
>     ]0;~
>     svoboda AT quebec ~
>     $
> 
> The *** lines indicate the errors.
> 
> Version info: The analyzer was built with G++ 3.3.3, on WinXPSP2. Here
> is the output of cygcheck. So why does the fork call fail?

If running 'rebaseall' doesn't help (see the README) and 'analyzer' doesn't
use any DLLs that were built as part of that package (in which case you need
to tell 'rebaseall' about them), then try:

<http://sources.redhat.com/ml/cygwin/2005-09/msg00945.html>

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

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