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

Nzer Zaidenberg <[email protected]> Sat, 12 Aug 2006 14:21:11 -0700 (PDT)
Newsgroups gmane.comp.db.postgresql.ports
Message-ID <[email protected]>
found the process.
 here it goes
 
 # /usr/local/bin/gdb -c ./src/test/regress/tmp_check/data/core ./src/test/regress/tmp_check/install/usr/local/pgsql/bin/postgres 
 GNU gdb 6.5
 Copyright (C) 2006 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for details.
 This GDB was configured as "powerpc-ibm-aix5.3.0.0"...
 ptrace ldinfo: The process does not exist..
 (gdb) bt
 #0  0x3ff29d04 in ?? ()
 #1  0x100206d0 in hash_search (hashp=0x2009bdc0, keyPtr=0x2009ddf8, 
     action=HASH_ENTER, foundPtr=0x2009cc60 "") at dynahash.c:673
 #2  0x1004e2bc in formrdesc (relationName=0x2001e660 "", 
     relationReltype=4294967295, hasoids=25 '\031', natts=25, att=0x2001dc38)
     at relcache.c:1295
 #3  0x1004fba0 in RelationCacheInitialize () at relcache.c:2185
 #4  0x102033e0 in InitPostgres (dbname=0x20081ef8 "template1", username=0x0)
     at postinit.c:424
 #5  0x10202d50 in BootstrapMain (argc=536872568, argv=0x20081e3c)
     at bootstrap.c:445
 #6  0x10000604 in main (argc=5, argv=0x20081ec8) at main.c:294
 (gdb) 
 
 thanks
 Nezer J. Zaidenberg

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