Re: Help with Segmentation Fault

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Patrick Bye (WFF)" <PBYE(at)Westfair(dot)CA>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Help with Segmentation Fault
Date: 2003-02-13 04:06:41
Message-ID: 10173.1045109201@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Patrick Bye (WFF)" <PBYE(at)Westfair(dot)CA> writes:
> I just tried to upgrade to the lastest 7.3.2. I did a dumpall on my
> database and wiped out both my binary and data directories so I could start
> the install from scratch. The configure, make and make install work fine.
> No errors reported from initdb and postmaster starts no problem. As soon as
> I try to connect to template1 to restore my dumpall, I get a segmentation
> fault. If I try to do a createdb, I also get a segmentation fault.

You have not provided a whole lot of detail here, but reading between
the lines I guess that it is psql core-dumping, not the backend?
Most likely that would be a problem of incompatibility with one of the
shared libraries that psql depends on. It's difficult to say more than
that with no details though. Did you build 7.3.2 yourself (if so, with
what configure switches) or install an RPM (if so, whose)? Can you
provide a stack trace from the segfault core dump? Does ldd on the psql
executable report a sane-looking set of shlib dependencies?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joel Rodrigues 2003-02-13 05:24:21 Re: PostgreSQL x Oracle / BBS in Python - PostgreSQL ?
Previous Message Ananda K Venkataraman 2003-02-13 03:25:43 Linux on PowerPc