Search squid archive

Re: Assertion failure in helper.cc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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[20079]: 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[20079]: 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
as expected.

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.

Alex.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux