[squid-dev] [PATCH] tentative fix for bug 4438

Alex Rousskov rousskov at measurement-factory.com
Sun Mar 6 20:41:31 UTC 2016


On 03/06/2016 11:16 AM, Kinkie wrote:

> As I cannot reproduce the issue it's really hard to do a root cause analysis.

Agreed. However, if you can make SBuf/MemBlob use memory pools before
those pools are initialized, then we do have a bug worth fixing (even if
Yuri does not suffer from that specific bug). It may be possible to
easily reproduce _that_ bug by adding a few static SBuf variables
directly to squid.h.


> At this point I'm thinking about reinstrumenting MemBlob not to use
> mem/old_api but to use its own pools.

Why would that make any difference? Whatever pools MemBlob is using,
they must be initialized prior to use. Thus, it is probably best to fix
"old_api" initialization than to duplicate that [buggy] code.


HTH,

Alex.



More information about the squid-dev mailing list