Thread: Cygwin: postgres.exe exits with "*** recreate_mmaps_after_fork_failed" message

Cygwin: postgres.exe exits with "*** recreate_mmaps_after_fork_failed" message

From
David Polberger
Date:
(Note that this bug might be considered a duplicate of #188).

I have installed PostgreSQL v7.1 on a system running Windows 2000
Service Pack 1 with a recent Cygwin installation. I have followed the
installation instructions to the letter, both in INSTALL and
doc/FAQ_MSWIN. ./configure, make, make install and initdb work fine.
Then I try to execute the following command:

/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &

Per the instructions in INSTALL. postmaster.exe is loaded in the
background, as expected. Approximately one second later, I get the
following error message:

$ C:UtilityCygWinusrlocalpgsqlbinpostgres.exe: ***
recreate_mmaps_after_fork_failed

Note that I haven't done anything unusual; I have followed the
installation instructions to the letter, as mentioned.

For your reference, this bug has been filed as bug #305.

Best regards,
--
David Polberger
dpol@swipnet.se

MM Player information:
http://home.swipnet.se/mmplayer/


David Polberger wrote:
[...]
> $ C:UtilityCygWinusrlocalpgsqlbinpostgres.exe: ***
> recreate_mmaps_after_fork_failed

I forgot to attach the logfile generated, which contains some
information which you may find useful:

      0 [main] postmaster 1208 fixup_mmaps_after_fork: base address
fails to match requested address 0x7090000
C:\Utility\CygWin\usr\local\pgsql\bin\postgres.exe: ***
recreate_mmaps_after_fork_failed
/usr/local/pgsql/bin/postmaster: Startup proc 1208 exited with status
256 - abort
      0 [main] postmaster 1304 fixup_mmaps_after_fork: base address
fails to match requested address 0x7080000
C:\Utility\CygWin\usr\local\pgsql\bin\postgres.exe: ***
recreate_mmaps_after_fork_failed
/usr/local/pgsql/bin/postmaster: Startup proc 1304 exited with status
256 - abort

Best regards,
--
David Polberger
dpol@swipnet.se

MM Player information:
http://home.swipnet.se/mmplayer/


David,

On Mon, Apr 30, 2001 at 07:02:30PM +0200, David Polberger wrote:
> David Polberger wrote:
> [...]
> > $ C:UtilityCygWinusrlocalpgsqlbinpostgres.exe: ***
> > recreate_mmaps_after_fork_failed
>
> I forgot to attach the logfile generated, which contains some
> information which you may find useful:
>
>       0 [main] postmaster 1208 fixup_mmaps_after_fork: base address
> fails to match requested address 0x7090000
> C:\Utility\CygWin\usr\local\pgsql\bin\postgres.exe: ***
> recreate_mmaps_after_fork_failed
> /usr/local/pgsql/bin/postmaster: Startup proc 1208 exited with status
> 256 - abort
>       0 [main] postmaster 1304 fixup_mmaps_after_fork: base address
> fails to match requested address 0x7080000
> C:\Utility\CygWin\usr\local\pgsql\bin\postgres.exe: ***
> recreate_mmaps_after_fork_failed
> /usr/local/pgsql/bin/postmaster: Startup proc 1304 exited with status
> 256 - abort

The above is a known problem with Cygwin 1.1.8, please upgrade to Cygwin
1.3.1.

Also in the future, please use the pgsql-cygwin@postgresql.org list
instead.

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.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

Jason Tishler wrote:
> The above is a known problem with Cygwin 1.1.8, please upgrade to Cygwin
> 1.3.1.

Thank you, that worked nicely.

> Also in the future, please use the pgsql-cygwin@postgresql.org list
> instead.

I apologize for posting to the wrong list. I should, however, point out
that the last line of doc/FAQ_MSWIN contains this line:

Problem reports can be sent to <pgsql-ports@postgresql.org>

It would be helpful if this would be corrected in an upcoming release,
as to avoid users sending inappropriate messages to pgsql-ports.

Thanks,
--
David Polberger
dpol@swipnet.se

MM Player information:
http://home.swipnet.se/mmplayer/


MS_FAQ updated for new cygwin mailing list.  Thanks.


> Jason Tishler wrote:
> > The above is a known problem with Cygwin 1.1.8, please upgrade to Cygwin
> > 1.3.1.
>
> Thank you, that worked nicely.
>
> > Also in the future, please use the pgsql-cygwin@postgresql.org list
> > instead.
>
> I apologize for posting to the wrong list. I should, however, point out
> that the last line of doc/FAQ_MSWIN contains this line:
>
> Problem reports can be sent to <pgsql-ports@postgresql.org>
>
> It would be helpful if this would be corrected in an upcoming release,
> as to avoid users sending inappropriate messages to pgsql-ports.
>
> Thanks,
> --
> David Polberger
> dpol@swipnet.se
>
> MM Player information:
> http://home.swipnet.se/mmplayer/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026