Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 2015F1337B49 for ; Thu, 3 Feb 2011 08:51:10 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 79315-05 for ; Thu, 3 Feb 2011 12:51:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from eminence.partnercomm.com (eminence.partnercomm.com [204.9.43.164]) by mail.postgresql.org (Postfix) with SMTP id 54C011337B5D for ; Thu, 3 Feb 2011 08:51:01 -0400 (AST) Received: (qmail 25458 invoked by uid 99); 3 Feb 2011 12:50:49 -0000 Received: from matt.home (matt.home [75.68.37.86]) by eminence.partnercomm.com (IMP) with HTTP for ; Thu, 3 Feb 2011 07:50:49 -0500 Message-ID: <1296737449.4d4aa4a995c30@eminence.partnercomm.com> Date: Thu, 3 Feb 2011 07:50:49 -0500 From: Matt Zinicola To: Craig Ringer Cc: 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> <4D4A219B.10202@postnewspapers.com.au> In-Reply-To: <4D4A219B.10202@postnewspapers.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 75.68.37.86 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201102/51 X-Sequence-Number: 29323 As far as the configure options -- Originally, they were merely --with-perl and --with-python, but just to rule out problems there, I've since just been going with a straight compile (not additional options). I will get the backtrace, etc. within the next hour or so. Thanks! - Matt Quoting Craig Ringer : > 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 >