Re: Autovacuum daemon terminated by signal 11

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Justin Pasher <justinp(at)newmediagateway(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Autovacuum daemon terminated by signal 11
Date: 2009-01-16 22:31:24
Message-ID: 13508.1232145084@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Justin Pasher <justinp(at)newmediagateway(dot)com> writes:
> I recompiled from the Debian source package and added --enable-cassert
> (--enable-debug was already there). I replaced the Debian standard
> packages with the recompiled versions and started up the cluster. Now it
> is hitting a failure on one of the assert lines, and the log message is
> a little different.

> TRAP: BadArgument("!(((context) != ((void *)0) &&
> (((((Node*)((context)))->type) == T_AllocSetContext))))", File:
> "mcxt.c", Line: 502)

Well, that confirms the thought that the memory context is clobbered,
but we're not any closer to understanding why.

> #1 0xb7c37811 in raise () from /lib/tls/i686/cmov/libc.so.6
> #2 0xb7c38fb9 in abort () from /lib/tls/i686/cmov/libc.so.6
> #3 0x0828cdf3 in ExceptionalCondition ()
> #4 0x082a8cd2 in MemoryContextAlloc ()
> #5 0x082a8d67 in MemoryContextStrdup ()
> #6 0x0829749c in database_getflatfilename ()
> #7 0x082974ce in database_getflatfilename ()
> #8 0x08298341 in AtEOXact_UpdateFlatFiles ()
> #9 0x080bcc81 in RecordTransactionCommit ()
> #10 0x080bcf8f in CommitTransactionCommand ()
> #11 0x081cd1eb in autovac_stopped ()
> #12 0x081cdbcd in autovac_start ()
> #13 0x081d4c0c in ClosePostmasterPorts ()
> #14 0x081d5968 in PostmasterMain ()
> #15 0x0818bd22 in main ()

... and you've seemingly not managed to install the debug symbols where
gdb can find them.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-01-16 22:32:37 Re: Slave server: FATAL: incorrect checksum in control file
Previous Message Jason Long 2009-01-16 22:12:25 Re: Query sometimes takes down server

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-01-16 22:41:35 Re: FWD: Re: Updated backslash consistency patch
Previous Message Justin Pasher 2009-01-16 21:34:22 Re: Autovacuum daemon terminated by signal 11