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: 4C7B7A9E0200002500034E26@gw.wicourts.gov (view raw or flat)
Thread:
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/
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

Responses

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-2014 The PostgreSQL Global Development Group