delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/06/22:25:00

From: drow AT DarkElf DOT net (A Dark Elf)
Subject: fork()
6 Mar 1998 22:25:00 -0800 :
Message-ID: <Pine.LNX.3.95.980303181633.29412A-100000.cygnus.gnu-win32@ashi.FootPrints.net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

When I start my app I get the following error right after a fork():

fork_helper: child died before initialization with win32 error 128

Anyone knows what this could mean? Here is the part of the source that
makes it crash like that:

for(;;)
{
 if(sockfd!=(int)NULL) close(sockfd);
 sockfd=accept(sockfd2, (struct sockaddr *)&address, &len);
 if(pid=fork()) break;
}






Drow AT DarkElf DOT net
----------------------------------------------------------------------
DarkElf Network SysAdmin                        http://www.darkelf.net
OKC.OK.US.UnderNet.Org Operator                http://www.undernet.org
    Check the main resource for developers at www.fastethernet.net
----------------------------------------------------------------------

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019