This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc detected *** free(): invalid pointer
- From: Petter Reinholdtsen <pere at hungry dot com>
- To: Sripathi Kodi <sripathik at in dot ibm dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 24 Jul 2006 01:22:52 +0200
- Subject: Re: glibc detected *** free(): invalid pointer
- Bcc: Petter Reinholdtsen <petter dot reinholdtsen at usit dot uio dot no>
- References: <20060718095721.GA5596@in.ibm.com>
On Tue, Jul 18, 2006 at 03:27:21PM +0530, Sripathi Kodi wrote:
> I am seeing the following message when I run a multi-threaded testcase.
>
> *** glibc detected *** free(): invalid pointer: 0xb7f9fb78 ***
>
> I recompiled glibc to make it abort when it hits this message. From the core file, I see the following backtrace:
This is most likely because your program have an error in it. In that
case, this is the wrong list to discuss the debugging of it.
I suggest using valgrind, <URL:http://valgrind.org/> to try to
pinpoint the error in your program.
Friendly,
--
Petter Reinholdtsen