pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matt Zinicola <matt@zinicola.com>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: PostgreSQL bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt
Date: Thu,  3 Feb 2011 07:50:49 -0500
Message-ID: <1296737449.4d4aa4a995c30@eminence.partnercomm.com> (raw)
In-Reply-To: <4D4A219B.10202@postnewspapers.com.au>
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>


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 <craig@postnewspapers.com.au>:

> 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
> 





view thread (14+ messages)  latest in thread

Message-ID: <1296737449.4d4aa4a995c30@eminence.partnercomm.com>
Permalink:  ../1296737449.4d4aa4a995c30@eminence.partnercomm.com/
Also on:    postgresql.org/message-id/1296737449.4d4aa4a995c30@eminence.partnercomm.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: matt@zinicola.com, craig@postnewspapers.com.au
  Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt
  In-Reply-To: <1296737449.4d4aa4a995c30@eminence.partnercomm.com>
  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> <1296737449.4d4aa4a995c30@eminence.partnercomm.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox