Re: initdb segfault - solaris 8

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: sjh(at)ucf(dot)ics(dot)uci(dot)edu
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: initdb segfault - solaris 8
Date: 2001-10-26 19:15:49
Message-ID: 27646.1004123749@sss.pgh.pa.us
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.

BTW: you wouldn't be getting into this code if the executable were owned
by the postgres user. So if you can't figure it out, a workaround
should be to change the ownership.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Josh Berkus 2001-10-26 20:00:04 Re: GUID in postgres
Previous Message postgresql_sql 2001-10-26 19:04:12 Re: GUID in postgres