RE: [squid-users] ldap squid auth

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 19 Apr 2006 23:44:22 +0200

tis 2006-04-18 klockan 22:11 +0530 skrev Remy Almeida:
> Hi
> As per you instruction I upgraded to 2.5stable13 till now squid have not
> crashed but is get some message don't know what it is check the last 2 lines
> or error message
>
> ERROR MESSAGE
>
> 2006/04/18 22:04:30| Starting Squid Cache version 2.5.STABLE13 for
> x86_64-redhat
> 2006/04/18 22:04:30| Process ID 29013
> 2006/04/18 22:04:30| With 1024 file descriptors available
> 2006/04/18 22:04:30| DNS Socket created at 0.0.0.0, port 47138, FD 5
> 2006/04/18 22:04:30| Adding nameserver 172.27.1.1 from /etc/resolv.conf
> 2006/04/18 22:04:30| Adding nameserver 61.1.65.65 from /etc/resolv.conf
> 2006/04/18 22:04:30| helperOpenServers: Starting 20 'ldap_auth' processes
> free(): invalid pointer 0x5032f0!
> free(): invalid pointer 0x504130!
>
>
> What does those last 2 lines means?

A bug somewhere which needs to be killed.

If this is a Linux/glibc based system you can try the following which
should allow identifying the bug:

Set the envirnoment variable MALLOC_CHECK_ to 2 while running Squid
under gdb. Should trap the error.

  gdb /path/to/sbin/squid
  set env MALLOC_CHECK_ = 2
  handle SIGPIPE pass noprint nostop
  run -DNYCd3
  [wait for crash/alert]
  backtrace

but it could also be a bug in ldap_auth..

Btw, why are you using ldap_auth instead of the official squid_ldap_auth
distributed with Squid?

Regards
Henrik

Received on Wed Apr 19 2006 - 15:44:35 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT