pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kurt Mielke <kurt@it-pilots.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6133: -lpq frees unallocated memory on exit
Date: Wed, 27 Jul 2011 19:50:39 -0400
Message-ID: <19597.1311810639@sss.pgh.pa.us> (raw)
In-Reply-To: <201107272015.p6RKFUkV094593@wwwmaster.postgresql.org>
References: <201107272015.p6RKFUkV094593@wwwmaster.postgresql.org>

"Kurt Mielke" <kurt@it-pilots.com> writes:
> PostgreSQL version: 8.4.8 + 9.0.4
> Operating system:   Centos X86_64 5.5 & 6.0

> x.c: is a very simple c-program:

> main() { }

> When compiled with

> gcc -o x -lpq x.c

> valgrind ./x

> says "invalid free ... Address 0x4029508 is not stack'd, malloc'd or
> (recently) free'd"

Can't reproduce this on my own Red Hat machines ...

			regards, tom lane



view thread (2+ messages)

Message-ID: <19597.1311810639@sss.pgh.pa.us>
Permalink:  ../19597.1311810639@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19597.1311810639@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, kurt@it-pilots.com
  Subject: Re: BUG #6133: -lpq frees unallocated memory on exit
  In-Reply-To: <19597.1311810639@sss.pgh.pa.us>
  References: <201107272015.p6RKFUkV094593@wwwmaster.postgresql.org> <19597.1311810639@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox