Here we go (finally got it :-))
Hoop this helps you !!( Pfffft)
> Henk-Jan,
> I need you to run squid as per henriks' instructions. and when it
stops, type
> bt
> frame 1
> info locals
> frame 2
> info locals
>
>
> Thanks,
> Rob
Red Hat Linux release 7.0 (Guinness)
Kernel 2.2.16-22 on an i686
login: root
Password:
Last login: Sat Feb 17 10:11:03 from 150.50.242.2
You have new mail.
[root@mis2 /root]# gdb squid
GNU gdb 5.0
Copyright 2000 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-redhat-linux"...
(gdb) run -DNYCd3
Starting program: /usr/sbin/squid -DNYCd3
[New Thread 1024 (LWP 24371)]
2001/02/17 10:12:13| helperOpenServers: Starting 5 'dnsserver' processes
2001/02/17 10:12:14| helperOpenServers: Starting 5 'auth.pl' processes
2001/02/17 10:12:37| parseHttpRequest: req_hdr = {Accept: image/gif,
image/x-xbi
tmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint,
application/vnd.ms
-excel, application/msword, */*
Accept-Language: nl
Proxy-Connection: Keep-Alive
If-Modified-Since: Thu, 02 Nov 2000 08:53:14 GMT; length=663
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Host: www.ahrend.net
}
2001/02/17 10:12:37| parseHttpRequest: end = {}
2001/02/17 10:12:37| parseHttpRequest: prefix_sz = 381, req_line_sz = 37
2001/02/17 10:12:37| clientSetKeepaliveFlag: http_ver = 1.0
2001/02/17 10:12:37| clientSetKeepaliveFlag: method = GET
2001/02/17 10:12:37| The request GET http://www.ahrend.net/ is DENIED,
because i
t matched 'secureid'
2001/02/17 10:12:37| clientSendMoreData: Appending 966 bytes after 320 bytes
of
headers
2001/02/17 10:12:37| The reply for GET http://www.ahrend.net/ is ALLOWED,
becaus
e it matched 'all'
2001/02/17 10:12:37| clientKeepaliveNextRequest: FD 22
2001/02/17 10:12:37| httpRequestFree: http://www.ahrend.net/
2001/02/17 10:13:17| parseHttpRequest: req_hdr = {Accept: image/gif,
image/x-xbi
tmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint,
application/vnd.ms
-excel, application/msword, */*
Accept-Language: nl
Proxy-Connection: Keep-Alive
If-Modified-Since: Thu, 02 Nov 2000 08:53:14 GMT; length=663
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Host: www.ahrend.net
Proxy-Authorization: Basic aGprbG9vc3Rlcm1hbjoxNDM1
}
2001/02/17 10:13:17| parseHttpRequest: end = {}
2001/02/17 10:13:17| parseHttpRequest: prefix_sz = 434, req_line_sz = 37
2001/02/17 10:13:17| clientSetKeepaliveFlag: http_ver = 1.0
2001/02/17 10:13:17| clientSetKeepaliveFlag: method = GET
2001/02/17 10:13:18| helperHandleRead: end of reply found
2001/02/17 10:13:18| The request GET http://www.ahrend.net/ is ALLOWED,
because
it matched 'secureid'
2001/02/17 10:13:18| clientProcessRequest2: default HIT
2001/02/17 10:13:18| clientCacheHit: http://www.ahrend.net/, 996 bytes
2001/02/17 10:13:18| modifiedSince: 'http://www.ahrend.net/'
2001/02/17 10:13:18| modifiedSince: mod_time = 973155194
2001/02/17 10:13:18| --> NO: same LMT, no client length
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 24371)]
0x82144d3 in ?? ()
(gdb) bt
#0 0x82144d3 in ?? ()
#1 0x805c015 in clientBuildReplyHeader (http=0x84535a4, rep=0x8454d98)
at client_side.c:1290
#2 0x805c122 in clientBuildReply (http=0x84535a4,
buf=0x8453d28 "HTTP/1.0 304 Not Modified\r\nDate: Sat, 17 Feb 2001
08:55:51
GMT\r\nContent-Type: text/html\r\nLast-Modified: Thu, 02 Nov 2000 08:53:14
GMT\r
\n\r\n", size=137) at client_side.c:1330
#3 0x805ce3d in clientSendMoreData (data=0x84535a4,
buf=0x8453d28 "HTTP/1.0 304 Not Modified\r\nDate: Sat, 17 Feb 2001
08:55:51
GMT\r\nContent-Type: text/html\r\nLast-Modified: Thu, 02 Nov 2000 08:53:14
GMT\r
\n\r\n", size=137) at client_side.c:1778
#4 0x809036c in storeClientCallback (sc=0x8314354, sz=137)
at store_client.c:164
#5 0x8090606 in storeClientCopy2 (e=0x8453b88, sc=0x8314354)
at store_client.c:260
#6 0x8091066 in InvokeHandlers (e=0x8453b88) at store_client.c:588
#7 0x808e4f7 in storeAppend (e=0x8453b88,
buf=0x8432530 "HTTP/1.0 304 Not Modified\r\nDate: Sat, 17 Feb 2001
08:55:51
GMT\r\nContent-Type: text/html\r\nLast-Modified: Thu, 02 Nov 2000 08:53:14
GMT\r
\n\r\n", len=137) at store.c:461
#8 0x805c58c in clientCacheHit (data=0x84535a4,
buf=0x8453d28 "HTTP/1.0 304 Not Modified\r\nDate: Sat, 17 Feb 2001
08:55:51
GMT\r\nContent-Type: text/html\r\nLast-Modified: Thu, 02 Nov 2000 08:53:14
GMT\r
---Type <return> to continue, or q <return> to quit---
\n\r\n", size=996) at client_side.c:1495
#9 0x809036c in storeClientCallback (sc=0x8453cec, sz=996)
at store_client.c:164
#10 0x8090ddd in storeClientReadHeader (data=0x8453cec,
buf=0x8453d28 "HTTP/1.0 304 Not Modified\r\nDate: Sat, 17 Feb 2001
08:55:51
GMT\r\nContent-Type: text/html\r\nLast-Modified: Thu, 02 Nov 2000 08:53:14
GMT\r
\n\r\n", len=1080) at store_client.c:464
#11 0x809b654 in storeUfsReadDone (fd=26,
buf=0x8453d28 "HTTP/1.0 304 Not Modified\r\nDate: Sat, 17 Feb 2001
08:55:51
GMT\r\nContent-Type: text/html\r\nLast-Modified: Thu, 02 Nov 2000 08:53:14
GMT\r
\n\r\n", len=1080, errflag=0, my_data=0x8431eac) at store_io_ufs.c:217
#12 0x8063816 in diskHandleRead (fd=26, data=0x83142e0) at disk.c:381
#13 0x80900e1 in storeRead (sio=0x8431eac,
buf=0x8453d28 "HTTP/1.0 304 Not Modified\r\nDate: Sat, 17 Feb 2001
08:55:51
GMT\r\nContent-Type: text/html\r\nLast-Modified: Thu, 02 Nov 2000 08:53:14
GMT\r
\n\r\n", size=4096, offset=0, callback=0x80909b4 <storeClientReadHeader>,
callback_data=0x8453cec) at store_io.c:82
#14 0x80908e7 in storeClientFileRead (sc=0x8453cec) at store_client.c:347
#15 0x8090606 in storeClientCopy2 (e=0x844ece0, sc=0x8453cec)
at store_client.c:260
#16 0x805dbdc in clientProcessRequest (http=0x84535a4) at client_side.c:2223
#17 0x804e5e0 in aclCheckCallback (checklist=0x845753c,
answer=ACCESS_ALLOWED)
at acl.c:1830
---Type <return> to continue, or q <return> to quit---
#18 0x804e53c in aclCheck (checklist=0x845753c) at acl.c:1807
#19 0x805a3d4 in clientCheckNoCache (http=0x84535a4) at client_side.c:336
#20 0x808368b in redirectStart (http=0x84535a4,
handler=0x805a160 <clientRedirectDone>, data=0x84535a4) at
redirect.c:123
#21 0x8059fe2 in clientAccessCheckDone (answer=1, data=0x84535a4)
at client_side.c:233
#22 0x804e5e0 in aclCheckCallback (checklist=0x845383c,
answer=ACCESS_ALLOWED)
at acl.c:1830
#23 0x804e4b6 in aclCheck (checklist=0x845383c) at acl.c:1796
#24 0x80a19aa in authenticateBasicHandleReply (data=0x831422c,
reply=0x8226908 "OK") at auth_basic.c:285
#25 0x806f9fe in helperHandleRead (fd=13, data=0x82268bc) at helper.c:685
#26 0x80621f8 in comm_poll (msec=10) at comm_select.c:432
#27 0x807c419 in main (argc=2, argv=0xbffffa74) at main.c:712
#28 0x400cdf31 in __libc_start_main (main=0x807c044 <main>, argc=2,
ubp_av=0xbffffa74, init=0x8049ea8 <_init>, fini=0x80a761c <_fini>,
rtld_fini=0x4000e274 <_dl_fini>, stack_end=0xbffffa6c)
at ../sysdeps/generic/libc-start.c:129
(gdb) frame 1
#1 0x805c015 in clientBuildReplyHeader (http=0x84535a4, rep=0x8454d98)
at client_side.c:1290
1290 authenticateFixHeader(rep, request->auth_user_request,
request,
http->flags.accel);
(gdb) info locals
hdr = (HttpHeader *) 0x8454dd4
is_hit = 1
request = (request_t *) 0x842f150
strConnection = {size = 0, len = 0, buf = 0x0}
e = (HttpHeaderEntry *) 0x8214528
pos = 138612240
(gdb) frame 2
#2 0x805c122 in clientBuildReply (http=0x84535a4,
buf=0x8453d28 "HTTP/1.0 304 Not Modified\r\nDate: Sat, 17 Feb 2001
08:55:51
GMT\r\nContent-Type: text/html\r\nLast-Modified: Thu, 02 Nov 2000 08:53:14
GMT\r
\n\r\n", size=137) at client_side.c:1330
1330 clientBuildReplyHeader(http, rep);
(gdb) info locals
http = (clientHttpRequest *) 0x84535a4
size = 138759620
rep = (HttpReply *) 0x8454d98
k = 136398120
(gdb) q
The program is running. Exit anyway? (y or n) y
You have new mail in /var/spool/mail/root
[root@mis2 /root]#
Received on Sun Feb 18 2001 - 10:40:05 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:32 MST