Re: Double Free or corruption - Mailing list pgsql-novice

From Amol Bhangdiya
Subject Re: Double Free or corruption
Date
Msg-id CADaB4eA7JuANMTox6zkjv_i4GWFPQDF27+RzJ=5yRfYR8JX7dA@mail.gmail.com
Whole thread Raw
In response to Re: Double Free or corruption  (Payal Singh <payal@omniti.com>)
Responses Re: Double Free or corruption  (Ishaya Bhatt <ishayabhatt@gmail.com>)
List pgsql-novice
Hi Ishaya,

Are you using palloc and pfree for memory management?
If not then it should be the correct way to allocate memory in postgreSQL

Regards,
Amol Bhangdiya


On Wed, Oct 30, 2013 at 9:09 PM, Payal Singh <payal@omniti.com> wrote:
Which OS and postgres version are you using?

Payal Singh,
OmniTi Computer Consulting Inc.
Junior Database Architect,
Phone: 240.646.0770 x 253


On Wed, Oct 30, 2013 at 5:53 AM, Ishaya Bhatt <ishayabhatt@gmail.com> wrote:
Hi,
     Does anyone have any idea what is the cause for the below error:


*** glibc detected *** postgres: ishaya mydb [local] SELECT: double free or corruption (!prev): 0x00000000026bc710 ***

I am modifying code of sorting query, but instead of the required output, this error is thrown in the logs.


pgsql-novice by date:

Previous
From: David Johnston
Date:
Subject: Re: Import from CSV error
Next
From: Amol Bhangdiya
Date:
Subject: Re: Double Free or corruption