RE: squid-1.1.* on Solaris 2.4 not working

From: Marc Roger <Marc.Roger@dont-contact.us>
Date: Tue, 7 Jan 1997 15:57:15 +0100 (MET)

On Tue, 7 Jan 1997, Paul Borgermans wrote:

> No problems here (running squid 1.1.2 on solaris 2.4/SPARC)
> Compiled with gcc 2.7.0
>
> What is in the error log ?
> or if squid core dumps, what does the debugger say ?

Squid 1.1.x, Solaris 2.4 sparc, gcc 2.7.2, compiled with -g w/o -O
the problem does not show with beta, until beta2x (x=7 I think)
GNUregex seems broken for some reason only on Solaris 2.4 (as Duane
reported on december 16th)

97/01/07 15:44:43| Starting Squid Cache version 1.1.2 for sparc-sun-solaris2.4...
97/01/07 15:44:43| With 1024 file descriptors available
97/01/07 15:44:43| Performing DNS Tests...
97/01/07 15:44:43| Successful DNS name lookup tests...
97/01/07 15:44:43| Started 8 'dnsserver' processes
97/01/07 15:44:43| file_map_create: creating space for 2097152 files
97/01/07 15:44:43| Swap maxSize 1228800, estimated 61440 objects
97/01/07 15:44:43| Target number of buckets: 1228
97/01/07 15:44:43| Using 7951 Store buckets, maintain 1 bucket every 10 seconds
97/01/07 15:45:09| Rebuilding storage from disk image in /cache/cache
97/01/07 15:45:10| Accepting HTTP connections on FD 19.
97/01/07 15:45:10| Accepting ICP connections on FD 20.
97/01/07 15:45:10| Ready to serve requests.
97/01/07 15:45:17| ERR_DNS_FAIL: http://www.miacromedia.com/
FATAL: Received Segment Violation...dying.
97/01/07 15:45:17| storeWriteCleanLog: Not currently OK to rewrite swap log.

# gdb ../bin/squid core
GDB is free software and you are welcome to 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.
GDB 4.16 (sparc-sun-solaris2.4), Copyright 1996 Free Software Foundation, Inc...

warning: core file may not match specified executable file.
Core was generated by `squid -sY'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libc.so.1....done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libw.so.1...done.
Reading symbols from /usr/lib/nss_dns.so.1...done.
Reading symbols from /usr/lib/libresolv.so.1...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
#0 0xdf6a1cac in _kill ()
(gdb) where
#0 0xdf6a1cac in _kill ()
#1 0xdf66d89c in abort ()
#2 0x5ec44 in death (sig=11) at tools.c:279
#3 <signal handler called>
#4 0x69300 in re_search_2 (bufp=0xdffff7f0, string1=0x0, size1=0,
    string2=0x116d40 "http://www.lesoir.be/", size2=21, startpos=0, range=21, regs=0x0, stop=21)
    at GNUregex.c:2861
#5 0x69068 in re_search (bufp=0xdffff7f0, string=0x116d40 "http://www.lesoir.be/", size=21, startpos=0,
    range=21, regs=0x0) at GNUregex.c:2773
#6 0x6ef74 in regexec (preg=0x116944, string=0x116d40 "http://www.lesoir.be/", nmatch=0, pmatch=0x0,
    eflags=0) at GNUregex.c:4662
#7 0x4d4d4 in getMaxAge (url=0x116d40 "http://www.lesoir.be/") at refresh.c:189
#8 0x36400 in httpBuildRequestHeader (request=0x1fe700, orig_request=0x1fe700, entry=0x1fda68,
    hdr_in=0x1fd808 "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*à\nAccept-Language: frà\nUA-pixels: 1024x768à\nUA-color: color16à\nUA-OS: Windows 95à\nUA-CPU: x86à\nUser-Agent: Mozilla/2.0 (compatible; MSIE"..., in_len=0x0,
    hdr_out=0x1ffce0 "GET / HTTP/1.0à\nAccept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*à\nAccept-Language: frà\nUA-pixels: 1024x768à\nUA-color: color16à\nUA-OS: Windows 95à\nUA-CPU: x86à\nUser-Agent: Mozilla/2.0 ("..., out_sz=8192, cfd=21)
 at http.c:804
#9 0x3677c in httpSendRequest (fd=22, data=0x1fbed0) at http.c:860
#10 0x236b4 in comm_select (sec=0) at comm.c:1042
#11 0x43008 in main (argc=2, argv=0xdffffc74) at main.c:686
(gdb)

--
Marc Roger
Received on Tue Jan 07 1997 - 07:09:59 MST

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