[squid-users] Assertion failure in helper.cc
rousskov at measurement-factory.com
Wed Aug 14 19:08:14 UTC 2019
On 8/14/19 1:44 PM, Chirayu Patel wrote:
> url_rewrite_program /tmp/squid/urlcat_server
> url_rewrite_children 1 startup=1 idle=1 concurrency=30 queue-size=10000 on-persistent-overload=ERR
> url_rewrite_extras "%>a %lp %ssl::>sni"
> --> We are getting this error sometimes and squid crashes later :
> Tue Aug 13 15:02:12 2019 squid: helperHandleRead: unexpected reply on channel 0 from redirector #Hlpr1 '1167 OK status=302 url=https://xxx.xxx.xxx'
> Tue Aug 13 15:02:12 2019 squid: assertion failed: helper.cc:1039: "skip == 0 && eom == NULL"
Most likely, Squid got a malformed (from Squid point of view) helper
response and crashed while handling it. It is not clear to me whether
the response reported on the first line is the one that led to the
crash, but neither of those lines should be printed if everything works
The parsing code for helper responses is pretty bad, but it may be
possible to figure out what caused the assertion by examining the core
dump. If you have it (or can change your environment to produce core
dumps), then please post a backtrace from gdb. Squid wiki has
instructions if you are not familiar with the process. You may prefer to
move this triage to Squid Bugzilla though.
More information about the squid-users