Bad semaphore address: regression test problems

From: Murad Nayal <murad(at)godel(dot)bioc(dot)columbia(dot)edu>
To: pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org, ports(at)postgresql(dot)org
Subject: Bad semaphore address: regression test problems
Date: 1998-09-23 21:25:21
Message-ID: 36096740.FAB6F30A@godel.bioc.columbia.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

When running the regression tests, the tests hang up with the messages

=============== Notes... =================
postmaster must already be running for the regression tests to succeed.
The time zone is now set to PST8PDT explicitly by this regression test
client frontend. Please report any apparent problems to
ports(at)postgresql(dot)org
See regress/README for more information.

=============== destroying old regression database... =================

and I find the following in the postmaster log file:

semctl: Bad address
This type of error is usually caused by improper
shared memory or System V IPC semaphore configuration.
See the FAQ for more detailed information

errno at this point is 14 which is EFAULT : semun.buf pointing to an
illegal address.

package/platform: postgresql 6.3.2 on IRIX 6.3

I tried adding the following line to Makefile.irix5 per FAQ_Irix

CFLAGS+= -U_NO_XOPEN4

to " stop the semun union being redefined in /usr/include/sys/sem.h" as
mentioned in the FAQ. It didn't help or change behavior.

Any idea why I am getting the bad semphore address on this platform: ANy
help will be greatly appreciated.

PS:

ipcs -as produces:

IPC status from /dev/kmem as of Wed Sep 23 17:20:38 1998
T ID KEY MODE OWNER GROUP CREATOR CGROUP
NSEMS OTIME CTIME
Semaphores:
s 0 0x2a0104e3 --ra-ra-ra- root sys root sys
1 no-entry 16:44:13
s 1 0x0052e2ce --ra------- postgres user postgres user
16 no-entry 16:59:56

Please email me as well as post your answer: any help will be very
appreciated

--
Murad Nayal M.D. Ph.D.
Department of Biochemistry and Molecular Biophysics
College of Physicians and Surgeons of Columbia University
630 West 168th Street. New York, NY 10032
Tel: 212-305-6884 Fax: 212-305-6926

Browse pgsql-admin by date

  From Date Subject
Next Message Terry Mackintosh 1998-09-24 03:58:24 Update of wrong coloum???
Previous Message Greg Youngblood 1998-09-23 17:37:19 Help needed with performance...please.

Browse pgsql-general by date

  From Date Subject
Next Message Anand Surelia 1998-09-25 00:25:49 Timestamp
Previous Message Medi Montaseri 1998-09-23 19:00:25 What does this error mean