Re: PSQL segmentation fault after setting host - Mailing list pgsql-general

From Richard Huxton
Subject Re: PSQL segmentation fault after setting host
Date
Msg-id 4BD0A99F.5010701@archonet.com
Whole thread Raw
In response to Re: PSQL segmentation fault after setting host  (Morgan Taschuk <m.taschuk@newcastle.ac.uk>)
Responses Re: PSQL segmentation fault after setting host
List pgsql-general
On 22/04/10 20:06, Morgan Taschuk wrote:
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7bbb4eb in X509_VERIFY_PARAM_inherit () from
> /lib/i686/cmov/libcrypto.so.0.9.8
> (gdb) bt
> #0 0xb7bbb4eb in X509_VERIFY_PARAM_inherit () from
> /lib/i686/cmov/libcrypto.so.0.9.8
> #1 0xb7f9b61a in ssl_verify_cert_chain () from
> /lib/i686/cmov/libssl.so.0.9.8

See if disabling ssl fixes it (see your pg_hba.conf and look for
"hostssl" lines).

> /opt/PostgreSQL/psqlODBC/lib/libpq.so.5

I'd guess the root cause is here though. You seem to be picking up some
libraries from psqlODBC rather than your main package. I'm betting it's
got some incompatible changes. Uninstall psqlodbc for a minute and see
if that solves your problem.

> libssl.so.4 => /opt/PostgreSQL/psqlODBC/lib/libssl.so.4 (0x009d9000)
> libcrypto.so.4 => /opt/PostgreSQL/psqlODBC/lib/libcrypto.so.4 (0x00531000)
> libkrb5.so.3 => /opt/PostgreSQL/psqlODBC/lib/libkrb5.so.3 (0x00a2c000)
> libgssapi_krb5.so.2 => /opt/PostgreSQL/psqlODBC/lib/libgssapi_krb5.so.2
> libk5crypto.so.3 => /opt/PostgreSQL/psqlODBC/lib/libk5crypto.so.3


--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: how to debug the codes in the PostgresMain() from the begining of this function to the "for (;;)" loop that handles the connection?
Next
From: Devrim GÜNDÜZ
Date:
Subject: I/O error during autovacuum