Skip site navigation (1) Skip section navigation (2)

Assertion failure on HEAD (or at least git copy of it)

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Assertion failure on HEAD (or at least git copy of it)
Date: 2010-08-30 14:32:14
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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/
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
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
LOG:  consistent recovery state reached at 0/5C5D04
LOG:  redo starts at 0/5C5D04
TRAP: FailedAssertion("!(backend == (-1))", File: "catalog.c", Line:
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).


pgsql-hackers by date

Next:From: Tom LaneDate: 2010-08-30 14:52:37
Subject: Re: bg worker: patch 1 of 6 - permanent process
Previous:From: Simon RiggsDate: 2010-08-30 13:49:11
Subject: Re: cost_hashjoin

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group