Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [GENERAL] double free corruption?

From: Tom Lane <tgl(at)sss.pgh.pa.us>
Date: Fri Dec 28 2007 - 11:41:20 EST


Erik Jones <erik@myemma.com> writes:
> Well, if Postgres had killed the proc itself it would have written
> out a nicely formatted Postgres-style memory context report along
> with an ERROR message along the lines of OUT OF MEMORY and the
> request size and Postgres would not have bounced. Since the
> postmaster dropped into recovery mode when the proc received the
> SIGABRT and died, that means that the signal came from somewhere
> else, OOM killer?

No, an abort() is expected when glibc's malloc code detects a problem, and all that other junk is stuff that malloc helpfully prints on stderr before committing hara-kiri.

This seems clearly a memory-stomp bug of some kind (although there's a very small probability that it was a transient RAM glitch). Not much we can do about it without a test case, though.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org/ Received on Fri Dec 28 11:42:43 2007

This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 22:59:59 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library