Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 5CC381337BDC for ; Mon, 18 Apr 2011 06:16:44 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 05646-02 for ; Mon, 18 Apr 2011 09:16:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id AA15A13364DE for ; Mon, 18 Apr 2011 06:16:42 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p3I9Gg83085750 for ; Mon, 18 Apr 2011 09:16:42 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p3I9Ggr8085749; Mon, 18 Apr 2011 09:16:42 GMT (envelope-from www) Date: Mon, 18 Apr 2011 09:16:42 GMT Message-Id: <201104180916.p3I9Ggr8085749@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5984: Got FailedAssertion("!(opaque->btpo_prev == target)", File: "nbtpage.c", Line: 1166) From: "BORSCHNECK Pascal" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201104/129 X-Sequence-Number: 30048 The following bug has been logged online: Bug reference: 5984 Logged by: BORSCHNECK Pascal Email address: borschneck@hotmail.com PostgreSQL version: 8.4.4 and 8.4.7 Operating system: Linux 2.6.18-194.32.1.el5 #1 SMP Mon Dec 20 10:52:42 EST 2010 x86_64 x86_64 x86_64 GNU/Linux Description: Got FailedAssertion("!(opaque->btpo_prev == target)", File: "nbtpage.c", Line: 1166) Details: I have a postgresql with several database on a test VM. I got this while a backup script did a "VACUUM FULL ANALYZE" 2011-04-05 00:05:07 CEST pid:19313 LOG: no left sibling (concurrent deletion?) in "i_cmsttry_dtype" TRAP: FailedAssertion("!(opaque->btpo_prev == target)", File: "nbtpage.c", Line: 1166) 2011-04-05 00:05:07 CEST pid:10127 LOG: server process (PID 19313) was terminated by signal 6: Aborted 2011-04-05 00:05:07 CEST pid:10127 LOG: terminating any other active server processes ... and postgresql crash ... On a VM is important: -=-=-=-=-=-=-=-=-=-=-=- Because I noticed that doing a pause to a VM (to make a VM copy for example) often creates duplicates key problems error in the logs. So - it's on a VM -> creates duplicate (and crash also creates new ones ;) ) - there are duplicates key problems like "ERROR: duplicate key value violates unique constraint "pg_XXXXXXX_index"" - autovacuum is on - "old process scripts on a db does a VACUUM FULL ANALYZE" during it's backup process (I know this shouldn't be done cf http://wiki.postgresql.org/wiki/VACUUM_FULL#When_.28not.29_to_use_VACUUM_FUL L but it's not my script ;) ) - I also tried a VACUUM ANALYZE in order to detect incoherent database, same result: crash (A "reindexdb --all" may correct the duplicate key and avoid this crash, but it may occur to other people so I posted it here) Regards, Pascal