Re: initdb segfault - solaris 8 - Mailing list pgsql-general

From Seth Hettich
Subject Re: initdb segfault - solaris 8
Date
Msg-id 20011026200928.DB73A14D0C@scotch.ucf.ics.uci.edu
Whole thread Raw
In response to Re: initdb segfault - solaris 8  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: initdb segfault - solaris 8  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
> sjh@ucf.ics.uci.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

pgsql-general by date:

Previous
From: "Andy Hallam"
Date:
Subject: SELECT with backslash '\' character
Next
From: Seth Hettich
Date:
Subject: initdb segfault - solaris 8