Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 23007DA6298 for ; Wed, 1 Aug 2012 02:09:51 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SwRBu-00010Q-5I for pgsql-bugs@postgresql.org; Wed, 01 Aug 2012 05:09:50 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q7159bL0023448; Wed, 1 Aug 2012 01:09:37 -0400 (EDT) From: Tom Lane To: raf cc: pgsql-bugs@postgresql.org Subject: Re: postgresql-9.1.4 macosx-10.6.8 (hostssl) psql -h hostname crashes In-reply-to: <20120731035025.GA21004@raf.org> References: <20120731035025.GA21004@raf.org> Comments: In-reply-to raf message dated "Tue, 31 Jul 2012 13:50:26 +1000" Date: Wed, 01 Aug 2012 01:09:37 -0400 Message-ID: <23447.1343797777@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/1 X-Sequence-Number: 33725 raf 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 ??? (???) /Library/PostgreSQL/9.1/lib/libssl.dylib > 0x10015b000 - 0x100187fff libssl.0.9.7.dylib 0.9.7 (compatibility 0.9.7) /usr/lib/libssl.0.9.7.dylib > 0x100199000 - 0x10027ffe7 libcrypto.0.9.7.dylib 0.9.7 (compatibility 0.9.7) /usr/lib/libcrypto.0.9.7.dylib > 0x1002d7000 - 0x10043efdf +libcrypto.1.0.0.dylib ??? (???) /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) /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