Re: PSQL segmentation fault after setting host

From: Richard Huxton <dev(at)archonet(dot)com>
To: Morgan Taschuk <m(dot)taschuk(at)newcastle(dot)ac(dot)uk>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PSQL segmentation fault after setting host
Date: 2010-04-22 19:55:11
Message-ID: 4BD0A99F.5010701@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2010-04-22 20:09:14 I/O error during autovacuum
Previous Message Alvaro Herrera 2010-04-22 19:47:44 Re: how to debug the codes in the PostgresMain() from the begining of this function to the "for (;;)" loop that handles the connection?