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

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

I hope you don't mind that I don't know anything about debugging... Here
is the info you requested.

It was compiled on OSF1's cc. Could compile it with gcc if thats better.
the version is: squid-2.3-200010300000

acl snmppublic snmp_community public
snmp_access allow snmppublic rubios # this is my box
snmp_access deny all

gdb output:
(gdb) up
#1 0x120018064 in aclMatchAcl (ae=0x14017e380, checklist=0x1) at
acl.c:1260
1260 acl.c: No such file or directory.
(gdb) print *ae
$1 = {name = "\027@\001", '\000' <repeats 12 times>,
"dstdoma\002\000\000\000\000\000\000", type = 1886741363,
  data = 0x63, cfgline = 0x0, next = 0x5}
(gdb) print *checklist
Cannot access memory at address 0x1.
(gdb) up
#2 0x120018298 in aclMatchAclList (list=0x14017e900,
checklist=0x11fff7b90) at acl.c:1501
1501 in acl.c
(gdb) print *list
$2 = {op = 1, acl = 0x14016b860, next = 0x14017e920}
(gdb) print *checklist
$3 = {access_list = 0x0, src_addr = {s_addr = 136708811}, dst_addr =
{s_addr = 0}, my_addr = {s_addr = 0}, my_port = 0,
  request = 0x0, conn = 0x0, ident = '\000' <repeats 63 times>, auth_user
= 0x0, state = {
    ACL_LOOKUP_NONE <repeats 24 times>}, snmp_community = 0x0, callback =
0, callback_data = 0x0}
(gdb)

Regards,
Jai.

On Tue, 23 Jan 2001, Henrik Nordstrom wrote:

> Thanks. Squid is failing in snmp_access.
>
> To get further info, please type
>
> up
> print *ae
> print *checklist
> up
> print *list
> print *checklist (if the first print *checklist did not give any good
> output)
>
>
> Other information required:
>
> Which compiler are you using? (if gcc, please type "gcc -v").
>
> Which Squid version is this?
>
> What snmp_access lists are you using, including the matching acl
> directives.
>
> --
> Henrik Nordström
> Squid hacker
>
> Jai Lamerton wrote:
> >
> > Here is the output from bt:
> > (gdb) bt
> > #0 0x3ff800d63ac in strcmp () from /usr/shlib/libc.so
> > #1 0x120018064 in aclMatchAcl (ae=0x14017e380, checklist=0x1) at
> > acl.c:1260
> > #2 0x120018298 in aclMatchAclList (list=0x14017e900,
> > checklist=0x11fff7b90) at acl.c:1501
> > #3 0x1200183c8 in aclCheckFast (A=0x1401698e0, checklist=0x11fff7b90) at
> > acl.c:1518
> > #4 0x1200707b0 in snmpHandleUdp (sock=0) at snmp_core.c:506
> > #5 0x1200332d0 in comm_poll (msec=0) at comm_select.c:437
> > #6 0x12005c010 in main (argc=2, argv=0x11ffffd68) at main.c:698
>

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

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