Re: Debugging xfree() (WAS: , in the URL)

From: Mihalis Tsoukalos <ekefe@dont-contact.us>
Date: Mon, 24 Mar 2003 10:52:55 +0200

Does the following mean that the malloc() call failed?

==23985==
==23985== Invalid write of size 1
==23985== at 0x4004894C: strcpy (vg_clientfuncs.c:441)
==23985== by 0x8060D28: clientSendMoreData (client_side.c:1921)
==23985== by 0x80A6791: storeClientCallback (store_client.c:165)
==23985== by 0x80A6CFD: storeClientCopy3 (store_client.c:321)
==23985== Address 0x436B9D75 is 0 bytes after a block of size 21 alloc'd
==23985== at 0x40047F4B: malloc (vg_clientfuncs.c:100)
==23985== by 0x80B8570: xmalloc (util.c:439)
==23985== by 0x8060CD9: clientSendMoreData (client_side.c:1920)
==23985== by 0x80A6791: storeClientCallback (store_client.c:165)
==23985==

have a nice week,
Mihalis.

----- Original Message -----
From: "Henrik Nordstrom" <hno@squid-cache.org>
To: "Mihalis Tsoukalos" <ekefe@freemail.gr>
Cc: <squid-dev@squid-cache.org>
Sent: Saturday, March 22, 2003 6:58 PM
Subject: Re: Debugging xfree() (WAS: , in the URL)

> Mihalis Tsoukalos wrote:
>
> > Any recommendations on how to run valgrind against squid?
>
> Like any other program per the valgrind documentation...
>
> I usually run
>
> valgrind squid -DNYCd3
>
> Regards
> Henrik
Received on Mon Mar 24 2003 - 01:53:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:35 MST