[squid-users] assertion failed: MemBuf.cc:383: "new_cap > (size_t) capacity

From: Alex Montoanelli <alexm_at_unetvale.com.br>
Date: Thu, 21 May 2009 11:12:28 -0300

Hello all.

I have a squid 3.0-15 running on a FreeBSD 7.1/64, with a average of
50 request/second.

Its running on a Dell PowerEdge 1950, with 8G/RAM - 2Xeon / 4cores - 2.3Ghz.

After a few hours in production the squid reload, with theses messages
in cachelog.

Bellow is a backtrace.

Anybody knows what is happening ?

Regards

2009/05/21 10:10:59.668| assertion failed: MemBuf.cc:383: "new_cap >
(size_t) capacity"
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x801002180 (LWP 100583)]
0x0000000800e198bc in thr_kill () from /lib/libc.so.7
(gdb) bt
#0 0x0000000800e198bc in thr_kill () from /lib/libc.so.7
#1 0x0000000800ea8a2b in abort () from /lib/libc.so.7
#2 0x000000000044483c in xassert (msg=Variable "msg" is not available.
) at debug.cc:574
#3 0x000000000048af27 in MemBuf::grow (this=0x8161fa958, min_cap=6)
at MemBuf.cc:383
#4 0x000000000046dc98 in HttpStateData::maybeReadVirginBody
(this=0x816570388) at MemBuf.h:63
#5 0x000000000046dd65 in HttpStateData::continueAfterParsingHeader
(this=0x816570388) at http.cc:1052
#6 0x000000000046efdb in HttpStateData::readReply (this=0x816570388,
len=31745, flag=COMM_OK, xerrno=0) at http.cc:1032
#7 0x00000000004d28e4 in commio_call_callback (ccb=0x80204ec28) at comm.cc:207
#8 0x00000000004d2978 in commio_call_callbacks () at comm.cc:217
#9 0x00000000004d29aa in CommDispatcher::dispatch (this=Variable
"this" is not available.
) at comm.cc:2537
#10 0x000000000044cf1e in EventLoop::runOnce (this=0x7fffffffeb40) at
EventLoop.cc:131
#11 0x000000000044d068 in EventLoop::run (this=0x7fffffffeb40) at
EventLoop.cc:100
#12 0x0000000000488366 in main (argc=Variable "argc" is not available.
) at main.cc:1334
(gdb)
Received on Thu May 21 2009 - 14:12:54 MDT

This archive was generated by hypermail 2.2.0 : Thu May 21 2009 - 12:00:01 MDT