Re: [SQU] Squid 2.4 Head FATAL: Received Segment Violation...dying

From: Alejandro A. Ramirez <ales@dont-contact.us>
Date: Tue, 20 Feb 2001 11:22:16 -0600

Ok, I made it crash today using ufs storage, here it is the backtrace:

Script started on Mon Feb 19 17:46:00 2001
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
(gdb) handle SIGPIPE noprint nostop pass
Signal Stop Print Pass to program Description
SIGPIPE No No Yes Broken pipe
(gdb) r -CNd1
Starting program: /usr/local/sbin/squid -CNd1
2001/02/19 17:46:15| Starting Squid Cache version 2.4.PRE-STABLE for
i386-unknown-freebsd4.2...
2001/02/19 17:46:15| Process ID 10711
2001/02/19 17:46:15| With 32768 file descriptors available
2001/02/19 17:46:15| Performing DNS Tests...
2001/02/19 17:46:15| Successful DNS name lookup tests...
2001/02/19 17:46:15| DNS Socket created on FD 7
2001/02/19 17:46:15| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2001/02/19 17:46:15| Unlinkd pipe opened on FD 12
2001/02/19 17:46:15| Swap maxSize 43008000 KB, estimated 3308307 objects
2001/02/19 17:46:15| Target number of buckets: 165415
2001/02/19 17:46:15| Using 262144 Store buckets
2001/02/19 17:46:15| Max Mem size: 131072 KB
2001/02/19 17:46:15| Max Swap size: 43008000 KB
2001/02/19 17:46:15| Store logging disabled
2001/02/19 17:46:15| Rebuilding storage in /cache0/0 (DIRTY)
2001/02/19 17:46:15| Rebuilding storage in /cache1/0/0 (DIRTY)
2001/02/19 17:46:15| Rebuilding storage in /cache1/1/0 (DIRTY)
2001/02/19 17:46:15| Rebuilding storage in /cache1/2/0 (DIRTY)
2001/02/19 17:46:15| Rebuilding storage in /cache1/3/0 (DIRTY)
2001/02/19 17:46:15| Rebuilding storage in /cache1/4/0 (DIRTY)
2001/02/19 17:46:15| Rebuilding storage in /cache1/5/0 (DIRTY)
2001/02/19 17:46:15| Using Round Robin store dir selection
2001/02/19 17:46:15| Set Current Directory to /cache0/0
2001/02/19 17:46:15| Loaded Icons.
2001/02/19 17:46:15| Accepting HTTP connections at 0.0.0.0, port 80, FD 25.
2001/02/19 17:46:15| Accepting SNMP messages on port 1610, FD 26.
2001/02/19 17:46:15| Accepting WCCP messages on port 2048, FD 27.
2001/02/19 17:46:15| Ready to serve requests.
2001/02/19 17:46:16| Store rebuilding is 0.9% complete
2001/02/19 17:46:24| WARNING: newer swaplog entry for dirno 0, fileno
0000701E
...
...
...
2001/02/20 10:48:39| parseHttpRequest: Requestheader contains NULL
characters
2001/02/20 10:48:39| clientReadRequest: FD 3932 Invalid Request
2001/02/20 10:48:39| clientSendMoreData: Deferring error:invalid-request
2001/02/20 10:48:53| assertion failed: pump.c:361:
"!fd_table[p->s_fd].flags.open"

Program received signal SIGABRT, Aborted.
0x4816a3bc in kill () from /usr/lib/libc.so.4
(gdb) bt
#0 0x4816a3bc in kill () from /usr/lib/libc.so.4
#1 0x481a6026 in abort () from /usr/lib/libc.so.4
#2 0x80674bb in xassert (msg=0x80d6ef3 "!fd_table[p->s_fd].flags.open",
    file=0x80d67b9 "pump.c", line=361) at debug.c:250
#3 0x8092a2f in pumpFree (fd=4698, data=0x24d52200) at pump.c:361
#4 0x8064733 in commCallCloseHandlers (fd=4698) at comm.c:535
#5 0x80648ca in comm_close (fd=4698) at comm.c:592
#6 0x80927f0 in pumpClose (data=0x24d17500) at pump.c:321
#7 0x809200c in pumpServerCopyComplete (fd=5363, bufnotused=0x0, size=0,
errflag=-1,
    data=0x24d17500) at pump.c:184
#8 0x80633e4 in CommWriteStateCallbackAndFree (fd=5363, code=-1) at
comm.c:98
#9 0x806548a in commHandleWrite (fd=5363, data=0x16b4f8a0) at comm.c:845
#10 0x80664e4 in comm_poll (msec=0) at comm_select.c:446
#11 0x80882ed in main (argc=2, argv=0xbfbffc0c) at main.c:720
#12 0x804a529 in _start ()
(gdb) c
Continuing.

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb) q

Script done on Tue Feb 20 10:55:12 2001

Greetings...
Ales
Received on Tue Feb 20 2001 - 14:00:18 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:33 MST