Thanks,
you were right on.
regards,
Maarten
On Wed, 2009-09-09 at 13:47 -0400, Tom Lane wrote:
> Maarten Foqué <maarten.foque@edchq.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