Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id ED2741337999 for ; Wed, 2 Feb 2011 23:31:50 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 68372-03 for ; Thu, 3 Feb 2011 03:31:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [173.230.139.50]) by mail.postgresql.org (Postfix) with ESMTP id C76031336FA7 for ; Wed, 2 Feb 2011 23:31:42 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by www.postnewspapers.com.au (Postfix) with ESMTP id EC43514AA; Wed, 2 Feb 2011 22:31:42 -0500 (EST) X-Virus-Scanned: amavisd-new at postnewspapers.com.au.com Received: from www.postnewspapers.com.au ([127.0.0.1]) by localhost (www.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6-9T4gi1xc-b; Wed, 2 Feb 2011 22:31:41 -0500 (EST) Received: from mail.postnewspapers.com.au (ppp171-128.static.internode.on.net [150.101.171.128]) by www.postnewspapers.com.au (Postfix) with ESMTP id 4ACA019; Wed, 2 Feb 2011 22:31:41 -0500 (EST) Received: from [10.0.0.53] (wallace.localnet [10.0.0.53]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 3F3A1AE93E; Thu, 3 Feb 2011 11:31:40 +0800 (WST) Message-ID: <4D4A219B.10202@postnewspapers.com.au> Date: Thu, 03 Feb 2011 11:31:39 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: Matt Zinicola , PostgreSQL bugs Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt References: <4D497E91020000250003A25E@gw.wicourts.gov> <1296697991.8678.8.camel@infinity.localdomain> <4D4A0EE7.6040502@postnewspapers.com.au> <1296700415.4d4a13ffe433d@eminence.partnercomm.com> <4D4A16DF.6000402@postnewspapers.com.au> <1296702137.4d4a1ab94ce32@eminence.partnercomm.com> <4D4A1BB9.5090600@postnewspapers.com.au> <1296702712.4d4a1cf864515@eminence.partnercomm.com> In-Reply-To: <1296702712.4d4a1cf864515@eminence.partnercomm.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/47 X-Sequence-Number: 29319 On 03/02/11 11:11, Matt Zinicola wrote: OK, it doesn't seem to be a simple problem of linking to the wrong library then. psql is linking to the correct libpq. initdb isn't linking to anything much at all, but still crashes for no apparent reason. Something else may be going on. Please supply the full command line you used to "./configure" when compiling postgres. If you're not sure what it was, you can find it in the top of "config.log" in your compile directory. Is there any chance you can get us a backtrace of one of the crashing programs? Try this: gdb --args psql Once it loads, it'll drop you to a (gdb) prompt. Enter "run" then press enter. (gdb) run Psql will then load for a while, crash, and drop you back to a (gdb) prompt after printing out a message like: Program received signal SIGSEGV, Segmentation fault. Enter the "bt" command at the (gdb) prompt and press enter. (gdb) bt ... then copy and paste everything from "gdb --args psql" through to the end of the output printed by "bt", put it on http://pastebin.com/ and send a link to that in your reply email here. I've created a sample to give you the idea, by starting psql then intentionally crashing it by sending it a manual SIGSEGV. See: http://pastebin.com/b8D9i2tb -- System & Network Administrator POST Newspapers