Re: initdb segfault - solaris 8

From: Seth Hettich <sjh(at)scotch(dot)ucf(dot)ics(dot)uci(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: initdb segfault - solaris 8
Date: 2001-10-26 20:09:28
Message-ID: 20011026200928.DB73A14D0C@scotch.ucf.ics.uci.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> sjh(at)ucf(dot)ics(dot)uci(dot)edu writes:
> > Here is the stack trace w/ --enable-debug
>
> > #0 0x81cd6ba in ValidateBinary (
> > path=0x804718c "/pkg/postgresql-7.1.3/bin/postgres") at findbe.c:115
>
> Well, that narrows it down to a problem with the "struct group" returned
> by getgrgid() ... but the code is correct according to the man page I
> have here for getgrgid. You're going to have to dig further on your
> own.
>
> FWIW, I'd still wonder about whether the definition of "struct group"
> seen by Postgres agrees with what libc thinks.

I think it's a bug in the solaris 8 LDAP NSS module that returns
a null gr_mem. But, it's also poor form to use gr_mem before checking
it...

-Seth

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-10-26 20:09:50 Re: Optimizing a complex query (long)
Previous Message Josh Berkus 2001-10-26 20:00:04 Re: GUID in postgres