From: | "Patrick Bye (WFF)" <PBYE(at)Westfair(dot)CA> |
---|---|
To: | 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Help with Segmentation Fault |
Date: | 2003-02-13 15:27:26 |
Message-ID: | 0D485272F9CB4E4AA9171FD13CBAC78203AF9089@ntexsrvr.westfair.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I did build postgres myself using the simple installation instructions
provided on the website
configure
gmake
gmake install
I'm a linux newbie so most of the stuff you mention, I don't know how to do.
I believe that psql is dumping because postmaster still runs after the
segmentation fault. Same goes for createdb. After I sent this note, I
downloaded 7.2.4 and did the same install as I did for 7.3.2 and everything
worked fine. How do I do a stack trace?
Patrick Bye
Programmer / Analyst
Westfair Foods Ltd.
pbye(at)westfair(dot)ca
(403) 291-6538
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Wednesday, February 12, 2003 9:07 PM
To: Patrick Bye (WFF)
Cc: 'pgsql-general(at)postgresql(dot)org'
Subject: Re: [GENERAL] Help with Segmentation Fault
"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
From | Date | Subject | |
---|---|---|---|
Next Message | Yolanda Valverde | 2003-02-13 15:44:49 | How to create stored procedure in PostgreSQL? |
Previous Message | softrech | 2003-02-13 15:12:42 | Performance a lot |