Re: Bug 2422 (imemory leak in Squid-2.7): HttpStateData?

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 12 Aug 2008 22:07:50 +0200

On ons, 2008-08-13 at 01:03 +0800, Adrian Chadd wrote:
> Here's some valgrind output, thanks to Chris:
>
> ==00:00:09:27.008 7355== 1,308,371 (1,210,456 direct, 97,915 indirect)
> bytes in 802 blocks are definitely lost in loss record 36 of 38
> ==00:00:09:27.008 7355== at 0x4A1AD7D: calloc (vg_replace_malloc.c:279)
> ==00:00:09:27.008 7355== by 0x4B7593: xcalloc (util.c:561)
> ==00:00:09:27.008 7355== by 0x46B1FC: memPoolAlloc (MemPool.c:303)
> ==00:00:09:27.008 7355== by 0x422554: cbdataInternalAlloc (cbdata.c:212)
> ==00:00:09:27.008 7355== by 0x455FA3: httpStart (http.c:1485)
> ==00:00:09:27.008 7355== by 0x4426D1: fwdDispatch (forward.c:757)
> ==00:00:09:27.008 7355== by 0x44164F: fwdConnectDone (forward.c:361)
> ==00:00:09:27.008 7355== by 0x432BA3: commConnectCallback (comm.c:366)
> ==00:00:09:27.008 7355== by 0x4330F9: commConnectHandle (comm.c:486)
> ==00:00:09:27.008 7355== by 0x435954: comm_call_handlers (comm_generic.c:300)
> ==00:00:09:27.008 7355== by 0x436145: do_comm_select (comm_epoll.c:193)
> ==00:00:09:27.008 7355== by 0x435C4D: comm_select (comm_generic.c:390)
>
> "definitely lost" probably indicates that the cbdata reference
> counting for the httpStateData is busted somewhere.

Probably. Question is where...

Regards
Henrik

Received on Tue Aug 12 2008 - 20:07:58 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 13 2008 - 12:00:05 MDT