Re: corrupted double-linked list

From: Maarten Foqué <maarten(dot)foque(at)edchq(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: corrupted double-linked list
Date: 2009-09-10 07:45:13
Message-ID: 1252568713.2919.39.camel@dornbirn.edch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks,

you were right on.

regards,
Maarten

On Wed, 2009-09-09 at 13:47 -0400, Tom Lane wrote:
> Maarten =?ISO-8859-1?Q?Foqu=E9?= <maarten(dot)foque(at)edchq(dot)com> writes:
> > The program crashes on PQclear(resu) with the following:
> > *** glibc detected *** ./incident_relay: corrupted double-linked list:
> > 0x09c459c8 ***
>
> This looks like a memory-stomp type of bug. There's no reason to assume
> that PQclear is the cause; it's more likely the victim of a stomp that
> occurred sometime earlier. I'd suggest running the app under valgrind
> or electric fence or some other memory-overrun-catcher.
>
> regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Itagaki Takahiro 2009-09-10 08:04:50 logging hook for database audit
Previous Message Hannu Krosing 2009-09-10 07:08:37 Re: RfD: more powerful "any" types