[FreeBSD 6] semctl broken compared to 4-STABLE ...

Kris Kennaway kris at obsecurity.org
Sun Apr 2 20:27:38 UTC 2006


On Sun, Apr 02, 2006 at 05:24:10PM -0300, Marc G. Fournier wrote:
> On Sun, 2 Apr 2006, Kris Kennaway wrote:
> 
> >>Right, but why are they doing it *consistently* in FreeBSD 6.x, when they
> >>never did it in FreeBSD 4.x?  I have postmaster processes running on the
> >>FreeBSD box as far back as November 27th, 2005 ... and have *never*
> >>experienced this problem ... so it isn't PostgreSQL that has changed,
> >>something in FreeBSD has changed :(
> >
> >You'll need to do some debugging to find out which of the two causes
> >of EINVAL are true here (or some undocumented cause).
> 
> 'k, right now, the checks in PostgreSQL are just seeing if the result of 
> semctl < 0 ... i see from the man page what 'two values' of EINVAL you are 
> referring to ... but, if they both return the same ERRNO, how do I 
> determine which of the two is the cause of the problem? :(

Evaluate context: what other semaphore operations have been performed
previously?

Kris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060402/3e738636/attachment.pgp


More information about the freebsd-stable mailing list