Hey all,
I've been playing with/learning squid 3 and I've been able to
consistently crash squid simply by fetching a static html page. I'm
wondering if this is a well-know problem in squid 3, or if I'm just
doing something wrong/weird.
Any help would be appreciated.
Here's my setup:
Squid 3 on an AMD 64 bit processor.
Squid's set up as an http accelerator for virtual hosts.
Only one cache peer exists in the config (localhost is running apache
on port 81):
cache_peer localhost parent 81 7 no-query no-digest no-netdb-exchange
connect-timeout=5 originserver
Here's what I've done:
- Start squid fresh (w/ empty disk cache).
- Load a static page (with one image in the HTML) in firefox from a web server
- Kill squid (SIGTERM)
- Start squid again
- Load the same static page (by clicking "refresh" in my firefox window)
When I try to load the static page again, squid dies.
This is the stack trace from gdb:
[Switching to Thread 182906836128 (LWP 8086)]
MemAllocatorProxy::getAllocator (this=0x0) at MemPool.cc:856
856 if (!theAllocator)
(gdb) where
#0 MemAllocatorProxy::getAllocator (this=0x0) at MemPool.cc :856
#1 0x00000000004b4b69 in MemAllocatorProxy::alloc (this=0x0) at MemPool.cc:841
#2 0x00000000004aabc4 in squidaio_unlink (
path=0x6d37a0 "/var/spool/squid/4/00/00/00000007", resultp=0x9f6670)
at DiskIO/DiskThreads/aiops.cc:903
#3 0x00000000004ab5ad in aioUnlink (
path=0x6d37a0 "/var/spool/squid/4/00/00/00000007", callback=0,
callback_data=0x0) at DiskIO/DiskThreads/async_io.cc:243
#4 0x000000000049f3be in SingletonIOStrategy::unlinkFile (this=0x0,
path=0x9f6670 "") at DiskIOStrategy.h:93
#5 0x00000000004a494e in UFSStrategy::unlinkFile (this=0x0, path=0x9f6670 "")
at ufs/store_io_ufs.cc:83
#6 0x00000000004a3a9f in UFSSwapDir::unlinkFile (this=0x71a130, f=7)
at ufs/store_dir_ufs.cc:1302
#7 0x000000000048e4e5 in StoreEntry::unlink (this=0x2a966ab9d0)
at RefCount.h:51
#8 0x000000000048ce8e in storeRelease (e=0x2a966ab9d0) at store.cc:1285
#9 0x000000000045a4dd in httpMaybeRemovePublic (e=0x2a966aba30,
status=10446448) at http.cc:276
#10 0x000000000045b12b in HttpStateData::haveParsedReplyHeaders (this=0x9ede38)
at http.h:109
#11 0x000000000045afd8 in HttpStateData::processReplyHeader (this=0x9ede38)
at http.cc:781
#12 0x000000000045b8d8 in HttpStateData::readReply (this=0x9ede38, len=397,
flag=COMM_OK, xerrno=10446416) at http.cc:1092
#13 0x0000000000438cf3 in CommReadCallbackData::callCallback (this=0x9f6650)
at comm.cc:398
#14 0x0000000000438df1 in CommCallbackData::callACallback (this=0x9c1f00)
at comm.cc:437
#15 0x0000000000438e48 in comm_calliocallback () at comm.cc:472
#16 0x0000000000470b9c in main (argc=0, argv=0x0) at main.cc:1155
Again, any help would be appreciated.
Thanks,
Dan Thomson
Received on Tue Apr 11 2006 - 15:42:05 MDT
This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT