Re: pq_recvbuf: unexpected EOF - Mailing list pgsql-general

From Tom Lane
Subject Re: pq_recvbuf: unexpected EOF
Date
Msg-id 19105.1051546872@sss.pgh.pa.us
Whole thread Raw
In response to Re: pq_recvbuf: unexpected EOF  (David Link <dvlink@yahoo.com>)
Responses Re: pq_recvbuf: unexpected EOF  (David Link <dvlink@yahoo.com>)
List pgsql-general
David Link <dvlink@yahoo.com> writes:
> warning: core file may not match specified executable file.

That seems suspicious.  You sure you pointed gdb at the correct postgres
executable?

> #0  0x0810e9a3 in ReleaseAndReadBuffer () at eval.c:41

This is pretty obviously bogus, since ReleaseAndReadBuffer isn't in eval.c.

It might be that you will need to rebuild postgres with debugging
symbols before you will get a useful backtrace.  I have noticed that on
some platforms, gdb's backtrace from a non-debug-enabled executable
is not just incomplete but flat-out wrong.  This looks like it could
be one of those cases.

            regards, tom lane


pgsql-general by date:

Previous
From: Jerome Alet
Date:
Subject: Re: SQL schema to LDAP schema ?
Next
From: "Nigel J. Andrews"
Date:
Subject: Re: timestamps and dates