Mail Archives: cygwin/2001/02/04/05:25:54
--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 <jt AT ny DOT dothill DOT com>; 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 <Jason DOT Tishler AT dothill DOT com>; 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 <yutaka AT hi-net DOT zaq DOT ne DOT jp>
To: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
Subject: Re: PostgreSQL 7.1 Beta 3 does not run under Cygwin 1.1.8
Cc: Hork Daniel <horak AT sit DOT plzen-city DOT cz>
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 <Jason DOT Tishler AT dothill DOT com> 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<yutaka AT hi-net DOT zaq DOT ne DOT jp>
--------_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--
- Raw text -