Re: postgresql-9.1.4 macosx-10.6.8 (hostssl) psql -h hostname crashes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: raf <raf(at)raf(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: postgresql-9.1.4 macosx-10.6.8 (hostssl) psql -h hostname crashes
Date: 2012-08-01 05:09:37
Message-ID: 23447.1343797777@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

raf <raf(at)raf(dot)org> writes:
> i've just upgraded to 9.1.4 on macosx-10.6.8 and psql crashes
> whenever the -h option is used (either with "localhost" or any
> other hostname). i only have hostssl connections.

> attached is a macosx crash report in case it helps.

[ squint ... ] There's something awfully fishy about this link map;
it looks like you've linked to three different versions of libssl,
and likewise for its crony libcrypto:

> 0x1000ad000 - 0x100102fff +libssl.dylib ??? (???) <A3839A52-E3DA-5899-2D4B-EAB22611CE56> /Library/PostgreSQL/9.1/lib/libssl.dylib
> 0x10015b000 - 0x100187fff libssl.0.9.7.dylib 0.9.7 (compatibility 0.9.7) <AB9DB3A1-FBE8-5FAE-5691-E5BCDD6DB211> /usr/lib/libssl.0.9.7.dylib
> 0x100199000 - 0x10027ffe7 libcrypto.0.9.7.dylib 0.9.7 (compatibility 0.9.7) <BA5E5276-8696-906D-0A37-0FFEF022B482> /usr/lib/libcrypto.0.9.7.dylib
> 0x1002d7000 - 0x10043efdf +libcrypto.1.0.0.dylib ??? (???) <DC3B6ADA-E9AF-77BE-8E24-61B34C53F6DD> /Library/PostgreSQL/9.1/lib/libcrypto.1.0.0.dylib
> 0x7fff84f65000 - 0x7fff85084fe7 libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <14115D29-432B-CF02-6B24-A60CC533A09E> /usr/lib/libcrypto.0.9.8.dylib
> 0x7fff850fd000 - 0x7fff8513aff7 libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <F743389F-F25A-A77D-4FCA-D6B01AF2EE6D> /usr/lib/libssl.0.9.8.dylib

The references to /Library/PostgreSQL/9.1/ make me guess that you're
using EDB's version? If so, they broke something. In any case,
I'm thinking this is a build error and not anything to do with the
Postgres source code.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message raf 2012-08-02 01:04:14 Re: postgresql-9.1.4 macosx-10.6.8 (hostssl) psql -h hostname crashes
Previous Message lr 2012-08-01 01:15:21 BUG #6788: Can't compile on mingw64-w32