Обсуждение: AIX 7.1 compile and initdb error TRAP: FailedAssertion

Поиск
Список
Период
Сортировка

AIX 7.1 compile and initdb error TRAP: FailedAssertion

От
xpNitin
Дата:
Hello,
Tried this a few times.  I am trying to compile and run PostgreSQL 9.4.0 on
AIX 7.1.  I was able to compile with following settings:
CC="xlc_r -q64 -qnoansialias"
CFLAGS="-g -O0"
AR="ar -X64"
OBJECT_MODE=64
./configure --enable-cassert --enable-debug
-with-includes=/opt/freeware/include --with-libraries=/opt/freeware/lib
--disable-thread-safety --prefix=/opt/postgres && gmake
make install

But DB fails to start.  I get this error:
./initdb -D /opt/postgresql/data
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.
The database cluster will be initialized with locale "C".
The default database encoding has accordingly been set to "SQL_ASCII".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /opt/postgresql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
creating template1 database in /opt/postgresql/data/base/1 ... ok
initializing pg_authid ... oke
initializing dependencies ... ok
creating system views ... TRAP: FailedAssertion("!(((((const
Node*)(field1))->type) == T_String))", File: "parse_expr.c", Line: 602)
child process was terminated by signal 6
initdb: removing contents of data directory "/opt/postgresql/data”

Thank you,
Nitin Pande



--
View this message in context:
http://postgresql.nabble.com/AIX-7-1-compile-and-initdb-error-TRAP-FailedAssertion-tp5863098.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.



Re: AIX 7.1 compile and initdb error TRAP: FailedAssertion

От
Tom Lane
Дата:
xpNitin <nitin.pande@ca.com> writes:
> Tried this a few times.  I am trying to compile and run PostgreSQL 9.4.0 on
> AIX 7.1.

Is there a particular reason you're trying to build 9.4.0, and not the
current release 9.4.4?

> But DB fails to start.  I get this error:

> creating system views ... TRAP: FailedAssertion("!(((((const
> Node*)(field1))->type) == T_String))", File: "parse_expr.c", Line: 602)

That's odd.  Could you get a stack trace out of the core file for that?
(You might need to run initdb with --noclean to have the core file
survive long enough to be looked at.)

FWIW, we do have reason to believe that PG will work on AIX 7.1, since
this buildfarm member works:
http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hornet&dt=2015-08-22%2004%3A48%3A32
But I'm not sure which post-9.4.0 fixes may be relevant to that.
        regards, tom lane