From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles S. Wilson" To: "Schray, Joerg" Cc: cygwin@sourceware.cygnus.com Subject: Re: B20.1: Fork bug (Win95) Date: Thu, 24 Jun 1999 08:59:00 -0000 Message-id: <37725610.5CA1060A@ece.gatech.edu> References: <59357A260E15D311B5A60008C75D353021295C@dbwdfx13.wdf.sap-ag.de> X-SW-Source: 1999-06/msg00572.html Jörg - > > I searched the mailing list for similar bug reports and found the thread > "dll + fork", where a bug with dynamic loading was reported. I suspect > that the way cygwin1.dll implements gethostbyname is via delegation to a > windows DLL, so that this bug isn't anything new. However, it shows that > even calls to the published Cygwin API can fail in connection with fork > under Win95. > > I found the bug running the perl regression tests tracking down a failure > of lib/io_sock.t (perl5.005_03 compiled statically). Out of curiosity, were you using the "my" patchkit from ftp://belgarion.resnet.gatech.edu (old location) or http://cygutils.netpedia.net (new location) to build perl? If not, you might want to try it. There are two versions - one for static builds and one for dynamic builds. The dynamic build patchkit is more recent, and contains a dirty little hack to io_sock.t that works around the problem, but doesn't actually fix it. You might try incorporating the changes to io_sock.t from the dynamic build patchkit into your build tree. You are correct, thought, that the error seems to be due to the dll forking problem. It would be better, of course, to fix cygwin. I believe (without any supporting evidence) that the dll+fork problem will be fixed in B21. Is this correct, cygwin-list-people? --Chuck -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles S. Wilson" To: "Schray, Joerg" Cc: cygwin@sourceware.cygnus.com Subject: Re: B20.1: Fork bug (Win95) Date: Wed, 30 Jun 1999 22:10:00 -0000 Message-ID: <37725610.5CA1060A@ece.gatech.edu> References: <59357A260E15D311B5A60008C75D353021295C@dbwdfx13.wdf.sap-ag.de> X-SW-Source: 1999-06n/msg00572.html Message-ID: <19990630221000.pdaiGLfvXyQ8w_syBfZBlUr9k6tiin0GCDI-ADXt4k0@z> Jörg - > > I searched the mailing list for similar bug reports and found the thread > "dll + fork", where a bug with dynamic loading was reported. I suspect > that the way cygwin1.dll implements gethostbyname is via delegation to a > windows DLL, so that this bug isn't anything new. However, it shows that > even calls to the published Cygwin API can fail in connection with fork > under Win95. > > I found the bug running the perl regression tests tracking down a failure > of lib/io_sock.t (perl5.005_03 compiled statically). Out of curiosity, were you using the "my" patchkit from ftp://belgarion.resnet.gatech.edu (old location) or http://cygutils.netpedia.net (new location) to build perl? If not, you might want to try it. There are two versions - one for static builds and one for dynamic builds. The dynamic build patchkit is more recent, and contains a dirty little hack to io_sock.t that works around the problem, but doesn't actually fix it. You might try incorporating the changes to io_sock.t from the dynamic build patchkit into your build tree. You are correct, thought, that the error seems to be due to the dll forking problem. It would be better, of course, to fix cygwin. I believe (without any supporting evidence) that the dll+fork problem will be fixed in B21. Is this correct, cygwin-list-people? --Chuck -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com