Re: [robin.garner@iname.com: SIGSEGV with ntlm_auth in squid-head-200108052302]

From: Robert Collins <robert.collins@dont-contact.us>
Date: 07 Aug 2001 23:39:14 +1000

On 07 Aug 2001 21:19:33 +0800, Adrian Chadd wrote:
>
> Robert, do you want to be on the squid-bugs list? :)
 
Not really. I'm already recieving over 300 mails per day, when all the lists are idling. My poor brain :}. I'd _like_ squid-bugs to be deprectated and bugzilla be given options to handle bug reports on the sourceforge CVS tags, (Perhaps via a version of DEVEL, and a free-text field for TAG ?)

It would be nice to have a bugzilla mailing list for bug creation - so I
could get pushed out to me all new bugs once, and then go and add my
name to the cc list/assign the bug to me if the bug was relevant..

As for this crash, this is a nasty typo by me, not removing the third %s
(doh!) when I copied the code over from the acl.c - as the old ip
address is no longer relevant (we support 'n' old address's). Did you
check in a corrected version, or do you need another patch (no problem
to generate such).

Rob

>
> Adrian
>
> ----- Forwarded message from Robin Garner <robin.garner@iname.com> -----
>
> X-Mailer: MIME-tools 5.41 (Entity 5.404)
> From: "Robin Garner" <robin.garner@iname.com>
> To: squid-bugs@squid-cache.org
> Cc: robin.garner@crsrehab.gov.au
> Date: Mon, 06 Aug 2001 10:34:14 +0800
> Subject: SIGSEGV with ntlm_auth in squid-head-200108052302
>
> On the very first access after starting a squid built from this snapshot, I get:
>
> 2001/08/06 12:12:27| authenticateAuthUserRequestSetIp: user 'national\garner' has been seen at a new IP address
> (172.18.25.98, (null))
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x481b2d46 in __svfprintf () from /shlib/libc.so.2
> (gdb) bt
> #0 0x481b2d46 in __svfprintf () from /shlib/libc.so.2
> #1 0x481b52f2 in vfprintf () from /shlib/libc.so.2
> #2 0x806c4e4 in _db_print_file (
> format=0x80f7920 "2001/08/06 12:12:36| authenticateAuthUserRequestSetIp: user '%s' has been seen at a new IP
> address (%s, %s)\n ", args=0x8047450 "") at debug.c:94
> #3 0x806c479 in _db_print (
> format=0x80cf327 "authenticateAuthUserRequestSetIp: user '%s' has been seen at a new IP address (%s, %s)\n "
> ) at debug.c:74
> #4 0x80524d6 in authenticateAuthUserRequestSetIp (auth_user_request=0x868ed30, ipaddr={s_addr = 1645810348})
> at authenticate.c:284
> #5 0x8052dbd in authenticateAuthenticate (auth_user_request=0x864ea70, headertype=HDR_PROXY_AUTHORIZATION,
> request=0x860c800, conn=0x862af10, src_addr={s_addr = 1645810348}) at authenticate.c:559
> #6 0x804e9d8 in aclMatchAcl (ae=0x8208ac0, checklist=0x864ea10) at acl.c:1592
> #7 0x804ee76 in aclMatchAclList (list=0x82076f0, checklist=0x864ea10) at acl.c:1703
> #8 0x804f057 in aclCheck (checklist=0x864ea10) at acl.c:1747
> #9 0x804f83d in aclNBCheck (checklist=0x864ea10, callback=0x805ee44 <clientAccessCheckDone>,
> callback_data=0x86e5010) at acl.c:1968
> #10 0x805ed18 in clientAccessCheck (data=0x86e5010) at client_side.c:178
> #11 0x806698c in clientReadRequest (fd=14, data=0x862af10) at client_side.c:2918
> #12 0x806b2e5 in comm_select (msec=970) at comm_select.c:800
> #13 0x8090a08 in main (argc=2, argv=0x8047dc8) at main.c:722
> #14 0x804a5ae in __start ()
>
> Looks like the format string has more "%s"-s than the call has arguments.
>
> Cheers
>
> Robin Garner
> --
>
> _______________________________________________
> Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free!
> http://www.net2phone.com/cgi-bin/link.cgi?143
>
>
>
> ----- End forwarded message -----
>
> --
> Adrian Chadd Yeah, for me its (XML) like the movie Titanic.
> <adrian@creative.net.au> Everybody loves it.
> I want to be different, so I hate it.
> --Duane Wessels
Received on Tue Aug 07 2001 - 07:39:20 MDT

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