BUG #1148: server restarts depending on stats options - Mailing list pgsql-bugs

From PostgreSQL Bugs List
Subject BUG #1148: server restarts depending on stats options
Date
Msg-id 20040506211004.13C78CF5427@www.postgresql.com
Whole thread Raw
Responses Re: BUG #1148: server restarts depending on stats options
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1148
Logged by:          Robert Treat

Email address:      xzilla@users.sourceforge.net

PostgreSQL version: 7.5 Dev

Operating system:   Slackware Linux 8.1 (Kernel 2.4.18)

Description:        server restarts depending on stats options

Details:

set log_statement_stats = true and any of
log_(executer|planner|parser)_stats = true and you will get a database
restart when attempting to connect.

from my logs:

postgres@phppgadmin:/usr/local/pgsql-7.5dev$ cat data/logfile
LOG:  received smart shutdown request
LOG:  shutting down
LOG:  database system is shut down
LOG:  database system was shut down at 2004-05-06 12:59:01 PDT
LOG:  checkpoint record is at 0/9DDC68
LOG:  redo record is at 0/9DDC68; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 460; next OID: 17207
LOG:  database system is ready
WARNING:  statement-level statistics are disabled because parser, planner,
or executor statistics are on
TRAP: BadState("!(((bool) ((CurrentUserId) != 0)))", File: "miscinit.c",
Line: 252)
LOG:  server process (PID 22690) was terminated by signal 6
LOG:  terminating any other active server processes
WARNING:  terminating connection because of crash of another server process
DETAIL:  The postmaster has commanded this server process to roll back the
current transaction and exit, because another server process exited
abnormally and possibly corrupted shared memory.
HINT:  In a moment you should be able to reconnect to the database and
repeat your command.
LOG:  all server processes terminated; reinitializing
LOG:  database system was interrupted at 2004-05-06 12:59:02 PDT
LOG:  checkpoint record is at 0/9DDC68
LOG:  redo record is at 0/9DDC68; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 460; next OID: 17207
LOG:  database system was not properly shut down; automatic recovery in
progress
LOG:  record with zero length at 0/9DDCA8
LOG:  redo is not required
LOG:  database system is ready


this is from a snapshot build on may 5th

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1147: Getting rid of LD_LIBRARY_PATH
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #1148: server restarts depending on stats options