Assertion failure on HEAD (or at least git copy of it) - Mailing list pgsql-hackers

From Kevin Grittner
Subject Assertion failure on HEAD (or at least git copy of it)
Date
Msg-id 4C7B7A9E0200002500034E26@gw.wicourts.gov
Whole thread Raw
Responses Re: Assertion failure on HEAD (or at least git copy of it)
Re: Assertion failure on HEAD (or at least git copy of it)
List pgsql-hackers
Checking out HEAD from the git repository I see an assertion
failure.  Steps to reproduce:
make distclean
./configure --prefix=/usr/local/pgsql-serializable \ --enable-debug --enable-depend --enable-cassert
make check
sudo make install
cd contrib/
make
sudo make install
cd ../
rm -fr /var/pgsql/data/serializable/*
initdb /var/pgsql/data/serializable
/usr/local/pgsql-serializable/pg_ctl \ -D /var/pgsql/data/serializable -l logfile start
make installcheck
# wait 30 to 60 seconds
/usr/local/pgsql-serializable/pg_ctl \ -D /var/pgsql/data/serializable -m immediate stop
/usr/local/pgsql-serializable/pg_ctl \ -D /var/pgsql/data/serializable -l logfile start
The postmaster is not running.  The tail of logfile is:
LOG:  wait_for_stats delayed 0.013267 seconds
STATEMENT:  SELECT wait_for_stats();
LOG:  received immediate shutdown request
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:  database system was interrupted; last known up at 2010-08-30
09:13:23 CDT
LOG:  database system was not properly shut down; automatic recovery in
progress
LOG:  consistent recovery state reached at 0/5C5D04
LOG:  redo starts at 0/5C5D04
TRAP: FailedAssertion("!(backend == (-1))", File: "catalog.c", Line:
120)
LOG:  startup process (PID 5338) was terminated by signal 6: Aborted
LOG:  aborting startup due to startup process failure
Joe found this while beating up on the SSI patch, but I'm also
seeing it on unpatched HEAD, as checked out from git.  This is 32
bit kubuntu and ubuntu (different versions).
-Kevin


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: cost_hashjoin
Next
From: Tom Lane
Date:
Subject: Re: bg worker: patch 1 of 6 - permanent process