[squid-users] assertion failed: comm.c:646: "F->flags.open"

From: Pawel Worach <[email protected]>
Date: Sun, 17 Nov 2002 02:54:26 +0100

Did squid crash because of the ftp timeout?

2002/11/13 13:22:00| ftpDataWriteCallback: write error: (83) No message
of desired type
2002/11/13 13:22:00| assertion failed: comm.c:646: "F->flags.open"
2002/11/13 13:23:49| Starting Squid Cache version 2.5.STABLE1 for
i386-unknown-freebsd4.6.2...

Lines in access.log around the time of the crash that had to do with
ftp:
1037189954.229 4220 x.x.x.x TCP_MISS/200 2001 GET ftp://user@host/dir/
- DIRECT/x.x.x.x text/html
1037190645.021 123757 x.x.x.x TCP_MISS/504 1523 PUT
ftp://user@host/dir/file - DIRECT/x.x.x.x text/html

(gdb) bt
#0 0x4816eb0c in kill () from /usr/lib/libc.so.4
#1 0x481aeef6 in abort () from /usr/lib/libc.so.4
#2 0x806c30b in xassert (msg=0x80cab9b "F->flags.open", file=0x80ca9c0
"comm.c", line=646) at debug.c:270
#3 0x80695af in comm_close (fd=194) at comm.c:646
#4 0x807ca0d in ftpFailed (ftpState=0x23fc3010, error=ERR_READ_TIMEOUT)
at ftp.c:2418
#5 0x80763ee in ftpTimeout (fd=138, data=0x23fc3010) at ftp.c:349
#6 0x806b867 in checkTimeouts () at comm_select.c:1043
#7 0x806affe in comm_poll (msec=10) at comm_select.c:405
#8 0x8092019 in main (argc=2, argv=0xbfbffc1c) at main.c:738
#9 0x804a4b5 in _start ()
(gdb) up 3
#3 0x80695af in comm_close (fd=194) at comm.c:646
646 assert(F->flags.open);
(gdb)

Regards
Pawel
Received on Thu Nov 21 2002 - 09:30:30 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:21 MST