Thread: Double Free or corruption
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 ***
Which OS and postgres version are you using?
On Wed, Oct 30, 2013 at 5:53 AM, Ishaya Bhatt <ishayabhatt@gmail.com> wrote:
I am modifying code of sorting query, but instead of the required output, this error is thrown in the logs.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 ***
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
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?On Wed, Oct 30, 2013 at 5:53 AM, Ishaya Bhatt <ishayabhatt@gmail.com> wrote:I am modifying code of sorting query, but instead of the required output, this error is thrown in the logs.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 ***
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
*** 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.
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 using Ubuntu 12.04 and PostGreSQL 9.2.4.
On Thu, Oct 31, 2013 at 12:18 AM, Amol Bhangdiya <amol.b89@gmail.com> wrote:
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 BhangdiyaOn Wed, Oct 30, 2013 at 9:09 PM, Payal Singh <payal@omniti.com> wrote:Which OS and postgres version are you using?On Wed, Oct 30, 2013 at 5:53 AM, Ishaya Bhatt <ishayabhatt@gmail.com> wrote:I am modifying code of sorting query, but instead of the required output, this error is thrown in the logs.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 ***
Ishaya Bhatt wrote: > 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. To debug problems like this, I usually use "valgrind". Yours, Laurenz Albe