Skip site navigation (1) Skip section navigation (2)

Invalid free/delete

From: Joshua Moore-Oliva <josh(at)chatgris(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Invalid free/delete
Date: 2002-11-25 16:22:44
Message-ID: 1038241365.24781.4.camel@localhost.localdomain (view raw or whole thread)
Lists: pgsql-bugs
While debugging with valgrind, I always receive the following error

==30439== Invalid free() / delete / delete[]
==30439==    at 0x400448F9: free (vg_clientfuncs.c:180)
==30439==    by 0x421136CD: (within /lib/i686/
==30439==    by 0x4207F852: (within /lib/i686/
==30439==    by 0x400451FC: vgPlain___libc_freeres_wrapper
==30439==    by 0x4202BCC9: (within /lib/i686/
==30439==    by 0x42017592: (within /lib/i686/
==30439==    by 0x80491E1: (within
==30439==    Address 0x402544D0 is not stack'd, malloc'd or free'd

I compiled a program with -L/usr/local/pgsql/lib -lpq

and then ran it with valgrind to check for memory leaks.

unfortunately, I don't know enough about pg to really understand what
could be casuing this, but problems like this can easily lead to
infrequent segfaults =).



pgsql-bugs by date

Next:From: srihariDate: 2002-11-26 11:02:35
Subject: pgsql&kylix
Previous:From: paolo mancaDate: 2002-11-25 11:10:56
Subject: BUG

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group