X-Original-To: pgsql-ports-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id A39F79FB20C for ; Sat, 12 Aug 2006 18:21:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 82697-03 for ; Sat, 12 Aug 2006 21:21:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web52410.mail.yahoo.com (web52410.mail.yahoo.com [206.190.48.173]) by postgresql.org (Postfix) with SMTP id 451D19FB20F for ; Sat, 12 Aug 2006 18:21:12 -0300 (ADT) Received: (qmail 85245 invoked by uid 60001); 12 Aug 2006 21:21:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=314x5o0C/tqX/I33nHh/mUUZ5Yi5pGqGezF3ZKriwfz8FGLdhX0CO591wtbs0bkg8c0KoxOqLf35zzx/6U1rIibUl4B7Nx/2dDWCO52mmkyKX3nWDGi5rM36rZCva4ipQ5SdtcjxRnhPE9ziZ66h7qVPYGMIWbjg4bInDe4TrSI= ; Message-ID: <20060812212111.85239.qmail@web52410.mail.yahoo.com> Received: from [83.130.42.160] by web52410.mail.yahoo.com via HTTP; Sat, 12 Aug 2006 14:21:11 PDT Date: Sat, 12 Aug 2006 14:21:11 -0700 (PDT) From: Nzer Zaidenberg Reply-To: Nzer Zaidenberg Subject: Re: Problem compiling PostgreSQL 8.1.4 on AIX. To: Tom Lane Cc: pgsql-ports@postgresql.org In-Reply-To: <28143.1155397311@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-95237305-1155417671=:84588" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.356 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, DNS_FROM_RFC_WHOIS, HTML_MESSAGE X-Spam-Level: *** X-Archive-Number: 200608/7 X-Sequence-Number: 2469 --0-95237305-1155417671=:84588 Content-Type: text/plain; charset=us-ascii 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 To: Nzer Zaidenberg Cc: pgsql-ports@postgresql.org Sent: Saturday, August 12, 2006 6:41:51 PM Subject: Re: [PORTS] Problem compiling PostgreSQL 8.1.4 on AIX. Nzer Zaidenberg 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 majordomo@postgresql.org so that your message can get through to the mailing list cleanly --0-95237305-1155417671=:84588 Content-Type: text/html; charset=us-ascii
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 <tgl@sss.pgh.pa.us>
To: Nzer Zaidenberg <scipioenterprises@yahoo.com>
Cc: pgsql-ports@postgresql.org
Sent: Saturday, August 12, 2006 6:41:51 PM
Subject: Re: [PORTS] Problem compiling PostgreSQL 8.1.4 on AIX.

Nzer Zaidenberg <scipioenterprises@yahoo.com> 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 majordomo@postgresql.org so that your
       message can get through to the mailing list cleanly

--0-95237305-1155417671=:84588--