[squid-users] Adaptation error

senor frio_cervesa at hotmail.com
Thu Jun 4 20:15:01 UTC 2020


Hi All,

I occasionally get an assert and core dump on a worker here:
#3  0x0000000000580d84 in ClientHttpRequest::resetRequest (this=this at entry=0x2af0808, newRequest=newRequest at entry=0x2b51f00)
    at client_side_request.cc:1676
#4  0x000000000058ac9e in ClientHttpRequest::handleAdaptedHeader (this=0x2af0808, msg=<optimized out>) at client_side_request.cc:2005
#5  0x0000000000870a39 in JobDialer<Adaptation::Initiator>::dial (this=0x36b6dc0, call=...) at ../../src/base/AsyncJobCalls.h:174

It has occurred with 4.8 & 4.11. I don't think the config is relevant for what I'm trying to accomplish but can provide if important.

As I understand it, the request returned from adaptation is compared with pre-adapted request and it is considered a fail if they match. Since there is no requirement that adaptation make a change, I assume it should not be in that code unless adaptation indicated there was a change. But I'm not on solid ground there. We use c-icap and have had no errors. 

I'm mainly trying to get an understanding of what is occurring here. The URI being handled at this point varies and doesn't seem to be relevant. This probably only occurs when a reconfigure is processed. 

Any guidance or hints are appreciated. Thanks
Senor



More information about the squid-users mailing list