Re: corrupted double-linked list

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

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2009-09-09 17:58:47 Re: RfD: more powerful "any" types
Previous Message Tom Lane 2009-09-09 17:39:14 Re: RfD: more powerful "any" types