Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id D75712E2F0D for ; Tue, 11 Dec 2007 07:23:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 77332-05 for ; Tue, 11 Dec 2007 07:23:46 -0400 (AST) Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id 953082E2DF3 for ; Tue, 11 Dec 2007 07:21:34 -0400 (AST) Received: from perhan.alvh.no-ip.org (200-126-76-117.bk5-dsl.surnet.cl [200.126.76.117]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id lBBBLTbh015196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Dec 2007 03:21:32 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id EE48647C84; Tue, 11 Dec 2007 08:21:28 -0300 (CLST) Date: Tue, 11 Dec 2007 08:21:28 -0300 From: Alvaro Herrera To: Craig James Cc: pgsql-performance@postgresql.org Subject: Re: libgcc double-free, backend won't die Message-ID: <20071211112128.GB4708@alvh.no-ip.org> References: <7EB0D6C0-48E2-4155-8559-9113D3BD2785@ketema.net> <4728CF7B.7040306@gmail.com> <4728FB3E.3070709@shaw.ca> <472978BE.9@hagander.net> <4729B1E9.2080306@gmail.com> <475E4133.5080009@emolecules.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <475E4133.5080009@emolecules.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Tue, 11 Dec 2007 03:21:32 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/125 X-Sequence-Number: 27941 Craig James wrote: > This is driving me crazy. I have some Postgres C function extensions > in a shared library. They've been working fine. I upgraded to Fedora > Core 6 and gcc4, and now every time psql(1) disconnects from the > server, the serverlog gets this message: > > *** glibc detected *** postgres: mydb mydb [local] idle: double free or corruption! (!prev): 0x08bfcde8 Do you have any Perl or Python functions or stuff like that? > Postgres 8.1.4 Please upgrade to 8.1.10 and try again. If it still fails we will be much more interested in tracking it down. -- Alvaro Herrera Valdivia, Chile ICBM: S 39º 49' 18.1", W 73º 13' 56.4" Maybe there's lots of data loss but the records of data loss are also lost. (Lincoln Yeoh)