TRAP during backend startup

Поиск
Список
Период
Сортировка
От Grant Finnemore
Тема TRAP during backend startup
Дата
Msg-id 4073E0B3.3020807@guruhut.co.za
обсуждение исходный текст
Ответы Re: TRAP during backend startup  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi all,

After an installation from CVS tip, I start the postmaster with the
-d(anything) flag. The postmaster starts up normally. I then try to
connect using psql, and either a TRAP is triggered (not using -A 0)
or an invalid cache id is found (using -A 0)

When I start the postmaster without the -d flag, I have no problems
in connecting from psql.

Any ideas?

Regards,
Grant

Necessary info:
. Sources are CVS tip, pulled today
. uname -a
Linux localhost.localdomain 2.4.20-19.9 #1 Tue Jul 15 17:18:13 EDT 2003 i686 
i686 i386 GNU/Linux
.  gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

. make maintainer-clean check install
./configure --with-java --prefix=/home/grant/bin/pgsql/ 
--with-integer-datetimes --enable-debug --enable-cassert

[grant@localhost pgsql-HEAD]$ postmaster -d1
LOG:  database system was shut down at 2004-04-07 12:51:06 SAST
LOG:  checkpoint record is at 0/9DCE0C
LOG:  redo record is at 0/9DCE0C; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 465; next OID: 17208
LOG:  database system is ready

Now, from another console do : psql -l

TRAP: BadState("!(((bool) ((CurrentUserId) != 0)))", File: "miscinit.c", Line: 252)
LOG:  server process (PID 16802) was terminated by signal 6
LOG:  terminating any other active server processes


[grant@localhost pgsql-HEAD]$ postmaster -A 0 -d1
LOG:  database system was shut down at 2004-04-07 12:51:36 SAST
LOG:  checkpoint record is at 0/9DCE8C
LOG:  redo record is at 0/9DCE8C; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 465; next OID: 17208
LOG:  database system is ready
FATAL:  invalid cache id: 30



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dennis Bjorklund
Дата:
Сообщение: locale
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Small suggestion on build script