This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc detected *** free(): invalid pointer
Hi Petter,
On 7/24/06, Petter Reinholdtsen <pere@hungry.com> wrote:
[Bruce Korb]
> Though Petter R. will (eventually) find the cause of his problem via
> valgrind,
I assume you mean Sripathi Kodi when you write Petter R. above.
Oops. Yes, of course. Sorry.
Improving the message is probably a good idea, yes. Perhaps something
like this is better:
*** free(): Called with invalid pointer 0xb7f9fb78 ***
It could make it more obvious that the problem is the argument to
free() and thus not related to glibc at all.
Exactly. It was not all that long ago you helped me with a way-too
similar message,
tho a different cause:
Re: glibc detected *** corrupted double-linked list
http://sources.redhat.com/ml/libc-alpha/2006-06/msg00006.html
In that case, neither "free()" nor any other function was mentioned.
Thank you. Regards, Bruce