Re: [SQU] Why a core dump in cache disk?

From: Jai Lamerton <jlamerto@dont-contact.us>
Date: Wed, 24 Jan 2001 15:42:27 +1100 (EST)

OK...

(gdb) frame 2
#2 0x120018298 in aclMatchAclList (list=0x14017e900,
checklist=0x11fff7b90) at acl.c:1501
1501 in acl.c
(gdb) print *list->acl
$5 = {name = "snmppublic", '\000' <repeats 21 times>, type =
ACL_SNMP_COMMUNITY, data = 0x14017e380,
  cfgline = 0x1401690d0 "acl snmppublic snmp_community public", next =
0x14016b8b0}
(gdb) print *list->next->acl
$6 = {name = "rubios", '\000' <repeats 25 times>, type = ACL_SRC_IP, data
= 0x14017e560,
  cfgline = 0x14017e500 "acl rubios src 203.2.38.8/255.255.255.255", next
= 0x0}
(gdb) frame 4
#4 0x1200707b0 in snmpHandleUdp (sock=0) at snmp_core.c:506
506 snmp_core.c: No such file or directory.
(gdb) print Community
No symbol "Community" in current context.
(gdb) print Session
$7 = 0
(gdb) print *PDU
No symbol "PDU" in current context.
(gdb) print *rq
No symbol "rq" in current context.
(gdb)

Jai.

On Wed, 24 Jan 2001, Henrik Nordstrom wrote:

> Henrik Nordstrom wrote:
>
> > More GDB commands:
> >
> > frame 1
> > print *list->acl
> > print *list->next->acl
> > frame 4
>
> Sorry. I meant
>
> frame 2
> print *list->acl
> print *list->next->acl
> frame 4
> print Community
> print Session
> print *PDU
> print *rq
>
> --
> Henrik Nordstrom
> Squid hacker
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Jan 23 2001 - 21:45:24 MST

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