Hi, On Sat, Sep 02, 2006 at 06:25:26PM +0800, Adrian Chadd wrote: >> I am using Squid 2.6.STABLE3 in FreeBSD 6.1, on multiple servers running >> web acceleration. After upgrading to 2.6, Squid frequently dies on me in >> two different ways: >> >> 2006/09/01 22:39:10| assertion failed: cbdata.c:359: "c->y == >> CBDATA_COOKIE(p)" >> >> 2006/09/01 22:41:14| assertion failed: diskd/store_io_diskd.c:387: >> "!diskdstate- >> >flags.close_request" > >> Is there anyone else seeing this? Should I submit a bug report? > Please! Can you get a crashdump and a backtrace from these failures? Here's one from the first of them: 2006/09/03 20:13:07| assertion failed: cbdata.c:359: "c->y == CBDATA_COOKIE(p)" Program received signal SIGABRT, Aborted. 0xb721b363 in kill () from /lib/libc.so.6 (gdb) bt #0 0xb721b363 in kill () from /lib/libc.so.6 #1 0xb721b300 in raise () from /lib/libc.so.6 #2 0xb721a014 in abort () from /lib/libc.so.6 #3 0x08073435 in xassert (msg=0x80eee98 "c->y == CBDATA_COOKIE(p)", file=0x80eee5d "cbdata.c", line=359) at debug.c:463 #4 0x08062f02 in cbdataValid (p=0x1b26ca98) at cbdata.c:359 #5 0x080d6690 in storeDiskdIOCallback (sio=0x179e0650, errflag=-1) at diskd/store_io_diskd.c:474 #6 0x080d636b in storeDiskdReadDone (M=0xbfbfdcf0) at diskd/store_io_diskd.c:375 #7 0x080d663b in storeDiskdHandle (M=0xbfbfdcf0) at diskd/store_io_diskd.c:457 #8 0x080d1746 in storeDiskdDirCallback (SD=0x8234650) at diskd/store_dir_diskd.c:537 #9 0x080bea1e in storeDirCallback () at store_dir.c:510 #10 0x080d688b in storeDiskdSend (mtype=5, sd=0x8234650, id=252106, sio=0x0, size=0, offset=0, shm_offset=212992) at diskd/store_io_diskd.c:529 #11 0x080d605a in storeDiskdUnlink (SD=0x8234650, e=0xbfab330) at diskd/store_io_diskd.c:287 #12 0x080bbffd in storeUnlink (e=0xbfab330) at store_io.c:119 #13 0x080ba6f2 in storeRelease (e=0xbfab330) at store.c:1457 #14 0x080b970b in storeSetPublicKey (e=0x318ae5c8) at store.c:1036 #15 0x0806c0df in clientProcessMiss (http=0x9d75cd8) at client_side.c:3500 #16 0x080688d2 in clientCacheHit (data=0x9d75cd8, buf=0xb444ab0 "", size=-1) at client_side.c:2101 #17 0x080bfdb2 in storeSwapInFileClosed (data=0x1b26ca98, errflag=-1, sio=0x179e0650) at store_swapin.c:84 #18 0x080d66ea in storeDiskdIOCallback (sio=0x179e0650, errflag=-1) at diskd/store_io_diskd.c:478 #19 0x080d61ec in storeDiskdOpenDone (M=0xbfbfe000) at diskd/store_io_diskd.c:332 #20 0x080d661b in storeDiskdHandle (M=0xbfbfe000) at diskd/store_io_diskd.c:451 #21 0x080d1746 in storeDiskdDirCallback (SD=0x8234650) at diskd/store_dir_diskd.c:537 #22 0x080bea1e in storeDirCallback () at store_dir.c:510 #23 0x080d688b in storeDiskdSend (mtype=2, sd=0x8234650, id=1319177, sio=0x17a37960, size=0, offset=0, shm_offset=-1) at diskd/store_io_diskd.c:529 #24 0x080d5b8b in storeDiskdClose (SD=0x8234650, sio=0x17a37960) at diskd/store_io_diskd.c:179 #25 0x080bbf02 in storeClose (sio=0x17a37960) at store_io.c:96 #26 0x080bd38b in storeClientUnregister (sc=0xf905d38, e=0x16a02b20, owner=0x179de918) at store_client.c:523 #27 0x08069120 in clientCacheHit (data=0x179de918, buf=0x2bf22510 "", size=1629) at client_side.c:2328 #28 0x080bc389 in storeClientCallback (sc=0xf905d38, sz=1629) at store_client.c:146 #29 0x080bd21f in storeClientReadHeader (data=0xf905d38, buf=0x2bf22510 "", len=1759) at store_client.c:477 #30 0x080d6452 in storeDiskdReadDone (M=0xbfbfe300) at diskd/store_io_diskd.c:395 #31 0x080d663b in storeDiskdHandle (M=0xbfbfe300) at diskd/store_io_diskd.c:457 #32 0x080d1746 in storeDiskdDirCallback (SD=0x8234650) at diskd/store_dir_diskd.c:537 #33 0x080bea1e in storeDirCallback () at store_dir.c:510 #34 0x080d688b in storeDiskdSend (mtype=3, sd=0x8234650, id=1319252, sio=0xd881c88, size=4096, offset=0, shm_offset=208896) at diskd/store_io_diskd.c:529 #35 0x080d5d75 in storeDiskdRead (SD=0x8234650, sio=0xd881c88, buf=0x2dc0bb10 "", size=4096, offset=0, callback=0x80bcccc <storeClientReadHeader>, callback_data=0x17859158) at diskd/store_io_diskd.c:218 #36 0x080bbf4a in storeRead (sio=0xd881c88, buf=0x2dc0bb10 "", size=4096, offset=0, callback=0x80bcccc <storeClientReadHeader>, callback_data=0x17859158) at store_io.c:103 #37 0x080bcb2b in storeClientFileRead (sc=0x17859158) at store_client.c:339 #38 0x080bca8f in storeClientCopy3 (e=0x173e8610, sc=0x17859158) at store_client.c:328 #39 0x080bc71b in storeClientCopy2 (e=0x173e8610, sc=0x17859158) at store_client.c:250 #40 0x080bc554 in storeClientCopy (sc=0x17859158, e=0x173e8610, seen_offset=0, copy_offset=0, size=4096, buf=0x2dc0bb10 "", callback=0x8068794 <clientCachHit>, data=0x179da980) at store_client.c:199 #41 0x0806bd15 in clientProcessRequest (http=0x179da980) at client_side.c:3416 #42 0x08064c15 in clientCheckNoCacheDone (answer=1, data=0x179da980) at client_side.c:669 #43 0x08051298 in aclCheckCallback (checklist=0x9d5b4c8, answer=ACCESS_ALLOWED) at acl.c:2272 #44 0x08051152 in aclCheck (checklist=0x9d5b4c8) at acl.c:2241 #45 0x0805161b in aclNBCheck (checklist=0x9d5b4c8, callback=0x8064bd4 <clientCheckNoCacheDone>, callback_data=0x179da980) at acl.c:2407 #46 0x08064ba5 in clientCheckNoCache (http=0x179da980) at client_side.c:657 #47 0x08063e3a in clientAccessCheck2 (data=0x179da980) at client_side.c:368 #48 0x08064b44 in clientRedirectDone (data=0x179da980, result=0x0) at client_side.c:649 #49 0x08064622 in clientRedirectStart (http=0x179da980) at client_side.c:551 #50 0x080640a1 in clientAccessCheckDone (answer=1, data=0x179da980) at client_side.c:425 #51 0x08051298 in aclCheckCallback (checklist=0x9d5b168, answer=ACCESS_ALLOWED) at acl.c:2272 #52 0x080510d1 in aclCheck (checklist=0x9d5b168) at acl.c:2229 #53 0x0805161b in aclNBCheck (checklist=0x9d5b168, callback=0x8063f54 <clientAccessCheckDone>, callback_data=0x179da980) at acl.c:2407 #54 0x08063dcd in clientAccessCheck (data=0x179da980) at client_side.c:357 #55 0x08063d8b in clientCheckFollowXForwardedFor (data=0x179da980) at client_side.c:349 #56 0x0806dff7 in clientReadRequest (fd=79, data=0xb0dc990) at client_side.c:4060 #57 0x08072498 in comm_call_handlers (fd=79, read_event=1, write_event=0) at comm_generic.c:128 #58 0x08072d2d in comm_select (msec=10) at comm_kqueue.c:181 #59 0x0809de69 in main (argc=2, argv=0xbfbfe91c) at main.c:830 (gdb) Cheers, -- Anders.