Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Postgres 7.4.5 fails with Cygwin 1.5.18-1 (core dump)


  • From: Roland Walter <rwa(at)mosaic-ag(dot)com>
  • To: Antony <adb(at)teamware(dot)com>
  • Cc: pgsql-cygwin(at)postgresql(dot)org
  • Subject: Re: Postgres 7.4.5 fails with Cygwin 1.5.18-1 (core dump)
  • Date: Thu, 01 Sep 2005 13:46:44 +0200
  • Message-id: <4316EA24.6000001@mosaic-ag.com> <text/plain>

Antony schrieb:

An old W2K installation now fails with core dump after postmaster.
A new WXP installation fails in the same way.

Cygserver is running as a service and is started

Postmaster core dumps when run.

Running postmaster with debug gives:

bash-3.00$ postmaster -d 5
DEBUG:  postmaster: PostmasterMain: initial environ dump:
DEBUG:  -----------------------------------------
DEBUG:          HOMEPATH=\Documents and Settings\adb
DEBUG:          TERM=cygwin
DEBUG:          PROCESSOR_IDENTIFIER=x86 Family 15 Model 47 Stepping 2,
AuthenticAMD
DEBUG:          WINDIR=C:\WINDOWS
DEBUG:          USERDOMAIN=ACONCAGUA
DEBUG:          OS=Windows_NT
DEBUG:          !::=::\
DEBUG:          COMMONPROGRAMFILES=C:\Program Files\Common Files
DEBUG:          PROCESSOR_LEVEL=15
DEBUG: PATH=/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:
/cygdrive/c/WINDOWS/System32/Wbem:
/cygdrive/c/Program Files/ATI Technologies/ATI Control Panel
DEBUG:          FP_NO_HOST_CHECK=NO
DEBUG:          PWD=/usr/bin
DEBUG:          SYSTEMDRIVE=C:
DEBUG:          CYGWIN=server ntsec tty
DEBUG:          USERPROFILE=C:\Documents and Settings\adb
DEBUG:          CLIENTNAME=Console
DEBUG:          LOGONSERVER=\\ACONCAGUA
DEBUG:          PROCESSOR_ARCHITECTURE=x86
DEBUG:          !C:=C:\Documents and Settings\adb
DEBUG:          SHLVL=1
DEBUG:          HOME=/home/adb
DEBUG:          PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.sh
DEBUG:          HOMEDRIVE=C:
DEBUG:          PROMPT=$P$G
DEBUG:          COMSPEC=C:\WINDOWS\system32\cmd.exe
DEBUG:          TMP=/cygdrive/c/DOCUME~1/adb/LOCALS~1/Temp
DEBUG:          SYSTEMROOT=C:\WINDOWS
DEBUG:          LOGNAME=adb
DEBUG:          PROCESSOR_REVISION=2f02
DEBUG:          PGDATA=/var/postgresql/data
DEBUG:          PROGRAMFILES=C:\Program Files
DEBUG:          NUMBER_OF_PROCESSORS=1
DEBUG:          SESSIONNAME=Console
DEBUG:          COMPUTERNAME=ACONCAGUA
DEBUG:          _=/usr/bin/postmaster
DEBUG:          TZ=FLEST-2FLEST-3,M3.5.0/3,M10.5.0/4

<a few other environ vars snipped>

DEBUG:  -----------------------------------------
DEBUG:  searching PATH for executable
DEBUG:  found "/usr/bin/postgres" using PATH
DEBUG:  invoking IpcMemoryCreate(size=9469952)
Segmentation fault (core dumped)

The sygserver log shows plenty of semctl ops, but no obvious errors.

I've used the default cygserver.conf, but have since played around with the
settings.  By setting all the kern shm and sem settings to the max, the
cygserver fails to start and then becomes unstoppable (as reported by
someone else).


This seems to be a problem of cygwin 1.5.18. Snapshots of the upcoming 1.5.19 solved for some people on this list their problem to run PostgreSQL. See the mail from Jeff Lu from 2005-08-12.


--
Roland Walter                  phone: +49 (0) 22 25 / 88 2-41 1
MOSAIC SOFTWARE AG               fax: +49 (0) 22 25 / 88 2-20 1
Am Pannacker 3                mailto: rwa (at) mosaic-ag (dot) com
D-53340 Meckenheim              http://www.mosaic-ag.com
-------  L E G A L    D I S C L A I M E R  ---------

Die Informationen in dieser Nachricht sind vertraulich und ausschliesslich fuer den Adressaten bestimmt. Kenntnisnahme durch Dritte ist unzulaessig. Die Erstellung von Kopien oder das Weiterleiten an weitere, nicht originaere und benannte Adressaten ist nicht vorgesehen und kann ungesetzlich sein. Die Meinungen in dieser Nachricht stellen lediglich die Meinungen des Senders dar. Falls Sie vermuten, dass diese Nachricht veraendert wurde, setzen Sie sich mit dem Absender in Verbindung. Der Absender uebernimmt ohne weitere Ueberpruefung keine Verantwortung fuer die Richtigkeit und Vollstaendigkeit des Inhalts. Unbefugte Empfaenger werden gebeten, die Vertraulichkeit der Nachricht zu wahren und den Absender sofort ueber einen Uebertragungsfehler zu informieren.
------------------------------------------------------




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group