Re: Double Free or corruption

From: Amol Bhangdiya <abhangdiya(at)yahoo(dot)co(dot)in>
To: Ishaya Bhatt <ishayabhatt(at)gmail(dot)com>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Double Free or corruption
Date: 2013-10-30 18:44:23
Message-ID: 1383158663.64727.YahooMailNeo@web193406.mail.sg3.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Amol Bhangdiya 2013-10-30 18:48:50 Re: Double Free or corruption
Previous Message David Johnston 2013-10-30 18:18:25 Re: Import from CSV error