Re: squid-icap crash...

2005-04-07 Thread Mateus Gröess
I will provide a better bug report. I believe I found the problem with
generation of coredumps.


On Apr 6, 2005 6:07 PM,   Tsantilas Christos
[EMAIL PROTECTED] wrote:
 This mail posted to c-icap mailing list.
 I believe that it is related with  ICAP's  request modification operation.
 It does not contain enough info  but sometimes it is  useful
 to just know the problems.
 -
 Christos
 
 Mateus Gröess wrote:
 
 Hi, Christos
 
Today I was looking in cache.log of Squid ICAP and found
 another message that was followed by a Squid restart. ...
 Unfortunally there wasn't messages between the error and the normal
 Squid startup.
 
 2005/04/04 14:07:00| storeLateRelease: released 0 objects
 2005/04/04 17:12:31| assertion failed: client_side.c:3268: 
 cbdataValid(conn)
 2005/04/04 17:12:42| Starting Squid Cache version 2.5.STABLE9-CVS for
 i386-slackware-linux-gnu...
 
 
 
 



Re: squid-icap crash...

2005-04-07 Thread Tsantilas Christos
Mateus
send me the backtrace 
On Apr 5, 2005 10:05 AM, Mateus Gröess wrote:
 

2005/04/04 14:07:00| storeLateRelease: released 0 objects
2005/04/04 17:12:31| assertion failed: client_side.c:3268: cbdataValid(conn)
2005/04/04 17:12:42| Starting Squid Cache version 2.5.STABLE9-CVS for
i386-slackware-linux-gnu...
   


Here is the stack trace that I think is the same problem of the assertion above:
2005/04/07 11:22:36| storeLateRelease: released 0 objects
2005/04/07 11:23:38| assertion failed: client_side.c:3268: cbdataValid(conn)
Program received signal SIGABRT, Aborted.
0x402299f1 in __kill () from /lib/libc.so.6
(gdb) backtrace
#0  0x402299f1 in __kill () from /lib/libc.so.6
#1  0x402296d4 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x4022ae31 in abort () at ../sysdeps/generic/abort.c:88
#3  0x80736c7 in xassert (msg=0x80e15ed cbdataValid(conn),
file=0x80defdc client_side.c, line=3268)
   at debug.c:270
#4  0x806cfbe in clientReadBody (request=0x8502f38, buf=0x84c56d8 , size=8192,
   callback=0x809cad4 icapReqModBodyHandler, cbdata=0x85390d0) at
client_side.c:3268
#5  0x809cacc in icapReqModSendBodyChunk (fd=26, bufnotused=0x0,
size=627, errflag=0, data=0x85390d0)
   at icap_reqmod.c:758
#6  0x806ee9a in CommWriteStateCallbackAndFree (fd=26, code=0) at comm.c:99
#7  0x8071380 in commHandleWrite (fd=26, data=0x84f5830) at comm.c:929
#8  0x8072656 in comm_poll (msec=268) at comm_select.c:459
#9  0x80a7aae in main (argc=2, argv=0xbb34) at main.c:748
#10 0x4021a2eb in __libc_start_main (main=0x80a7664 main, argc=2,
ubp_av=0xbb34,
   init=0x804a6a4 _init, fini=0x80d7a1c _fini,
rtld_fini=0x4000c130 _dl_fini, stack_end=0xbb2c)
   at ../sysdeps/generic/libc-start.c:129
(gdb) quit
The program is running.  Exit anyway? (y or n) y