[squid-users] Squid BUG: assurance failed: tok.skip(WellKnownUrlPathPrefix())

Alex Rousskov rousskov at measurement-factory.com
Tue Sep 12 14:48:00 UTC 2023


On 2023-09-12 10:21, Loučanský Lukáš wrote:
> today I was going to compile a new version of my beloved squid 
> proxy (v6.3 or 6.3-20230903-ra9c06aa6a)

FWIW, "was going to compile" part does not make it clear (to me) whether 
you did actually compile/test v6.3.


> just to be welcomed by non 
> working older configmgr.cgi and [debian package installed] squidclient 
> (v4.6). After replacing squidclient with (compiled with squid) version 
> 6.3 it's still not working, giving me accesss denied page.
> 
> My cache.log contains these bug info lines:
> 
> 023/09/12 16:07:03 kid3| ERROR: Squid BUG: assurance failed: 
> tok.skip(WellKnownUrlPathPrefix())
>      exception location: cache_manager.cc(193) ParseUrl


If the above output is from Squid v6.3, then you may have found a v6.3 
problem that we do not know about. Please share the HTTP request that 
triggers the above output.

Otherwise, please try to upgrade to Squid v6.3 because its commit 
6695897 is meant to fix a v6.1 bug with the above symptoms.


Thank you,

Alex.


>      current master transaction: master469155
> 2023/09/12 16:07:03 kid3| ERROR: Squid BUG: assurance failed: 
> tok.skip(WellKnownUrlPathPrefix())
>      exception location: cache_manager.cc(193) ParseUrl
>      current master transaction: master469155
> 
> In the file src/cache_manager.cc there is this
> 
> const SBuf &
> CacheManager::WellKnownUrlPathPrefix()
> {
>      static const SBuf prefix("/squid-internal-mgr/");
>      return prefix;
> }
> 
> and on the line 193 is this assure (after tok tokenizer)
> 
>   Parser::Tokenizer tok(uri.path());
> 
>      Assure(tok.skip(WellKnownUrlPathPrefix()));
> 
> Is there something wrong with my config I should change after 6.2 to 6.3 
> upgrade? I have some classic http_access manager allow ... and 
> http_access manager deny lines. No definition what [acl] manager means.
> 
> I have found some mentions here 
> https://github.com/squid-cache/squid/blob/master/ChangeLog and somewhere 
> inside the commit / review git hub section for squid. But nothing says 
> what to do make it work right. Besides this it seems squid as a proxy 
> works fine...
> 
> Thanks
> 
> Lukas
> 
> 
> 
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> https://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list