Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sun, 4 Feb 2001 05:29:43 -0500 From: Jason Tishler To: cygwin AT sources DOT redhat DOT com Cc: Yutaka tanida , Hork Daniel Subject: Re: PostgreSQL 7.1 Beta 3 does not run under Cygwin 1.1.8 Message-ID: <20010204052943.A1772@dothill.com> Mail-Followup-To: cygwin AT sources DOT redhat DOT com, Yutaka tanida , Hork Daniel References: <200102010245 DOT f112jHt05966 AT rtl DOT cygnus DOT com> <20010201112937 DOT A1368 AT dothill DOT com> <20010201174647 DOT D19867 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Cf+dyK2YX9Wpo4GW" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010201174647.D19867@cygbert.vinschen.de>; from cygwin@cygwin.com on Thu, Feb 01, 2001 at 05:46:47PM +0100 Organization: Dot Hill Systems Corp. --Cf+dyK2YX9Wpo4GW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Corinna, On Thu, Feb 01, 2001 at 05:46:47PM +0100, Corinna Vinschen wrote: > On Thu, Feb 01, 2001 at 11:29:37AM -0500, Jason Tishler wrote: > > On Wed, Jan 31, 2001 at 09:45:17PM -0500, Christopher Faylor wrote: > > > - Improve anonymous mmap. > > > > Unfortunately, I think that the above change is preventing PostgreSQL > > from running under Cygwin 1.1.8. When I start postmaster, I get the > > following error: > > > > 0 [main] postmaster 1580 fixup_mmaps_after_fork: base address fails to match requested address 0x7030000 > > C:\cygwin\usr\local\pgsql\bin\postgres.exe: *** recreate_mmaps_after_fork_failed > > Startup failed - abort > > > > Any ideas? > > Could you send me a simple test case? Please see attached for two test cases, courtesy of Yutaka tanida, that reproduce this problem without PostgreSQL involved. Actually, mmaptest2.c further isolates the problem down to mmap()/fork() by removing cygipc from the equation. Thanks, Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corp. Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com --Cf+dyK2YX9Wpo4GW Content-Type: message/rfc822 Content-Disposition: inline Received: from dothill.com (artecon [206.6.181.5]) by ny.dothill.com (8.9.3/8.9.3) with ESMTP id VAA04962 for ; Sat, 3 Feb 2001 21:16:02 -0500 Received: from nsvm09.zaq.ne.jp (nsvm09.zaq.ne.jp [211.124.0.170]) by dothill.com (8.9.1b+Sun/8.9.1) with SMTP id RAA27077 for ; Sat, 3 Feb 2001 17:48:18 -0800 (PST) Received: (qmail 24128 invoked from network); 4 Feb 2001 11:03:47 +0900 Received: from zaqd3875806.zaq.ne.jp (HELO media2k) (211.135.88.6) by nsvm09.zaq.ne.jp with SMTP; 4 Feb 2001 11:03:47 +0900 Date: Sun, 04 Feb 2001 11:03:47 +0900 From: Yutaka tanida To: Jason Tishler Subject: Re: PostgreSQL 7.1 Beta 3 does not run under Cygwin 1.1.8 Cc: Hork Daniel In-Reply-To: <20010203112341 DOT P1800 AT dothill DOT com> References: <20010203112341 DOT P1800 AT dothill DOT com> Message-Id: <20010204110001 DOT 343B DOT YUTAKA AT hi-net DOT zaq DOT ne DOT jp> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------_3A7CB7A0343703BB45E8_MULTIPART_MIXED_" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.01 --------_3A7CB7A0343703BB45E8_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Jason, On Sat, 3 Feb 2001 11:23:41 -0500 Jason Tishler wrote: > Please excuse the direct mail but I am having problems posting to > pgsql-ports. Marc Fournier is working with me to try to fix the posting > problem. When it rains it pours... > > Please see the attached. PostgreSQL 7.1 Beta 3 does not run under Cygwin > 1.1.8. I believe that it has to due with a cygipc/fork() problem under > Cygwin 1.1.8. Please see the following for more details: > > http://cygwin.com/ml/cygwin/2001-02/msg00098.html Hmm ... it seems to be terrible. I create a program to re-produce this probrem . I think it's a bug of fork(). --- Yutaka tanida --------_3A7CB7A0343703BB45E8_MULTIPART_MIXED_ Content-Type: application/octet-stream; name="mmaptest2.c" Content-Disposition: attachment; filename="mmaptest2.c" Content-Transfer-Encoding: base64 I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZTx1bmlzdGQuaD4NCiNpbmNsdWRlPHN0ZGxpYi5o Pg0KI2luY2x1ZGUgPGZjbnRsLmg+DQojaW5jbHVkZSA8c3lzL21tYW4uaD4NCg0KI2RlZmluZSBG SUxFTkFNRSAiL3RtcC9fX18xX19fIg0KI2RlZmluZSBNTUFQU0laRSAxMDI0DQoNCmludCBtYWlu KGludCBhcmdjLGNoYXIgKiphcmd2KSB7DQogIGNoYXIgKnB0cjsNCiAgaW50IGZkOw0KDQogIGZk ID0gb3BlbihGSUxFTkFNRSwgT19DUkVBVHxPX1JEV1IsIDAwNjY2ICkgOyAgLyogT19UUlVOQyA/ ICovDQogIHB0ciA9IChjaGFyICopIG1hbGxvYyAoTU1BUFNJWkUpIDsNCiAgbWVtc2V0IChwdHIs IDB4MDAsIE1NQVBTSVpFKSA7DQogIHdyaXRlKGZkLCBwdHIsIE1NQVBTSVpFKSA7DQogIGZyZWUo cHRyKSA7DQogIGNsb3NlKGZkKSA7DQoNCiAgZmQ9b3BlbihGSUxFTkFNRSwgT19SRFdSLCAwMDY2 NiApIDsNCiAgcHRyID0gKGNoYXIgKikNCiAgIAkJbW1hcCgwLCBNTUFQU0laRSwgUFJPVF9SRUFE fFBST1RfV1JJVEUsDQoJCU1BUF9TSEFSRUQsZmQsIDApIDsNCiAgZm9yaygpOw0KfQ0K --------_3A7CB7A0343703BB45E8_MULTIPART_MIXED_ Content-Type: application/octet-stream; name="mmaptest.c" Content-Disposition: attachment; filename="mmaptest.c" Content-Transfer-Encoding: base64 I2luY2x1ZGU8c3lzL2lwYy5oPg0KI2luY2x1ZGU8c3RkaW8uaD4NCg0KaW50IG1haW4oaW50IGFy Z2MsY2hhciAqKmFyZ3YpIHsNCiAgY2hhciogcHRyOw0KDQogIHB0cj1zaG1hdCgwLHB0cixJUENf Q1JFQVQpOw0KICBmb3JrKCk7DQoNCg0KfQ0K --------_3A7CB7A0343703BB45E8_MULTIPART_MIXED_-- --Cf+dyK2YX9Wpo4GW Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple --Cf+dyK2YX9Wpo4GW--