Re: [PORTS] Problem compiling PostgreSQL 8.1.4 on AIX.

Nzer Zaidenberg <[email protected]> Sat, 12 Aug 2006 14:17:26 -0700 (PDT)
Newsgroups gmane.comp.db.postgresql.ports
Message-ID <[email protected]>
Hello Tom,
 
 Thanks for your prompt responses so far.
 
 I have reconfigured and rebuild as you advice.
 
 and i even have a core file. the problem is i have no clue which executable generated the core file. 
 I tried some that looked trivial but they were not it.
 
 Is the a way to deduce based on the log or the script what executable has failed?
 
 PS> I am fully capable of using gdb.
 
 Thanks in advance.
  Nezer J. Zaidenebrg

----- Original Message ----
From: Tom Lane <[email protected]>
To: Nzer Zaidenberg <[email protected]>
Cc: [email protected]
Sent: Saturday, August 12, 2006 6:41:51 PM
Subject: Re: [PORTS] Problem compiling PostgreSQL 8.1.4 on AIX. 

Nzer Zaidenberg <[email protected]> writes:
>  same error:
 
>  creating template1 database in /installs/PostgreSQL/postgresql-8.1.4/src/test/regress/./tmp_check/data/base/1 ... child process was terminated by signal 11
>  initdb: data directory "/installs/PostgreSQL/postgresql-8.1.4/src/test/regress/./tmp_check/data" not removed at user's request

OK, that crash should be leaving a core file --- try to get a stack
trace from the core and post it here.  If you didn't already configure
with --enable-debug, do so and rebuild, else the trace won't be very
useful.  If you're not familar with gdb, the basic idea is

    $ gdb /path/to/postgres-executable /path/to/corefile
    gdb> bt
    gdb> q

            regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [email protected] so that your
       message can get through to the mailing list cleanly