Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85178 - Squid sometimes dies with ``assertion failed: store.c:523: "e->store_status == STORE_PENDING"''
Summary: Squid sometimes dies with ``assertion failed: store.c:523: "e->store_status =...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-14 01:01 UTC by Alexey Bazhin
Modified: 2005-09-08 07:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Bazhin 2005-03-14 01:01:21 UTC
About month ago I started to have troubles with my proxy server running squid. Squid sometimes dies with message

2005/03/12 13:38:15| assertion failed: store.c:523: "e->store_status == STORE_PENDING"
2005/03/12 13:38:18| Starting Squid Cache version 2.5.STABLE9 for i686-pc-linux-gnu...

and usually squid autorestarts but not always :(
It happens with several versions of squid (2.5.7-2.5.9).
I asked on forums and it was said that it is known problem (look at the link).

Reproducible: Sometimes
Steps to Reproduce:
1.
2.
3.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-03-15 02:09:33 UTC
From what version did your problems began?
Does rebuild of cache solve your problem? (/etc/init.d/squid stop; rm -rf /var/cache/squid/*; /etc/init.d/squid start)
What cache_dir do you have?
Comment 2 Alexey Bazhin 2005-03-15 12:41:09 UTC
Problems began from 2.5.7, rebuilding cache didn't help.

cache_dir ufs /var/cache/squid 3600 32 256
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2005-03-20 15:18:20 UTC
please try following quick fix:
cache_dir diskd /var/cache/squid 3600 32 256
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2005-03-26 06:45:47 UTC
did comment #3 fixed your problem?
Comment 5 Alexey Bazhin 2005-03-26 21:55:13 UTC
Sorry, I haven't tryed this fix because I already quickfixed it other way:

if (e->store_status != STORE_PENDING) return;

and I don't want to play with this box and I don't know how to reproduce problem to check your fix on other box...
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2005-03-26 22:52:36 UTC
then I can't do a thing since you are the only one having this problem.
Comment 7 Alexey Bazhin 2005-09-08 07:10:01 UTC
ha-ha...

http://www.squid-cache.org/bugs/show_bug.cgi?id=1368