pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gunthard Stübs <stuebs2009@gmx.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: exit code 139 performing initdb (pg 9.1 on linux)
Date: Tue, 13 Sep 2011 13:25:56 -0400
Message-ID: <8602.1315934756@sss.pgh.pa.us> (raw)
In-Reply-To: <4E6F7ED7.9050000@gmx.de>
References: <4E6F7ED7.9050000@gmx.de>

=?ISO-8859-1?Q?Gunthard_St=FCbs?= <stuebs2009@gmx.de> writes:
> I installed v9.1 on linux (older suse distr.) from source code using 
> configure --without-readline (in case that it is important).

> performing initdb --locale=de_DE.UTF-8 -D /usr/local/pgsql/data/ everything 
> run fine until:
> vacuuming database template1 ... ok
> copying template1 to template0 ... child process exited with exit code 139
> initdb: removing contents of data directory "/usr/local/pgsql/data"

Hmm, that's pretty interesting.  Exit code 139 is presumably a SIGSEGV,
but it's surprising that it would get that far and then crash.

Please (1) rebuild with --enable-cassert and --enable-debug configure
options, if you didn't already; (2) set "ulimit -c unlimited" if that's
not the default in your environment; (3) run initdb with the --noclean
option; (4) look into /usr/local/pgsql/data to find the core file left
behind by the crash, and do
	$ gdb /usr/local/bin/postgres /path/to/core-file
	gdb> bt
	gdb> quit
(5) post the output of "bt" here.

BTW, what compiler version are you using exactly, and what compiler options?

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <8602.1315934756@sss.pgh.pa.us>
Permalink:  ../8602.1315934756@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8602.1315934756@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, stuebs2009@gmx.de
  Subject: Re: exit code 139 performing initdb (pg 9.1 on linux)
  In-Reply-To: <8602.1315934756@sss.pgh.pa.us>

* 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