glibc detected *** free(): invalid pointer

Petter Reinholdtsen pere@hungry.com
Mon Jul 24 15:31:00 GMT 2006


[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.

> This message is awful. It needs to be enhanced with a hint about
> which component of glibc stumbled on the issue so your customers can
> more readily narrow the focus of their search.  This is the correct
> list for that.

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.



More information about the Libc-alpha mailing list