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

From Amol Bhangdiya
Subject Re: Double Free or corruption
Date
Msg-id 1383158663.64727.YahooMailNeo@web193406.mail.sg3.yahoo.com
Whole thread Raw
In response to 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 Wednesday, 30 October 2013 3:24 PM, 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: Amol Bhangdiya
Date:
Subject: Re: Double Free or corruption
Next
From: James David Smith
Date:
Subject: Re: Import from CSV error