[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd seg. fault when repeated getpwnam (ITS#1329)



Gerry.Morong@compaq.com wrote:
> 
> I reran the slapd with the -d 0 and -d 256 but the backtrace looks
> similar.   Note that I have attached an email trail I have with Kurt on
> this issue for additional information.=20
>  <<RE: openldap 2.0.11 - getpwnam>>=20
> Backtrace
> (gdb) backtrace
> #0  0x402d0322 in __libc_send () from /lib/i686/libc.so.6
> #1  0x401de5b4 in send (fd=3D3, buf=3D0x8103cf8, n=3D82, flags=3D0)
>     at wrapsyscall.c:211
> #2  0x402cc22c in vsyslog (pri=3D7,=20
>     fmt=3D0x809ebc0 "conn=3D%ld op=3D%ld SEARCH RESULT tag=3D%lu =
> err=3D%ld
> text=3D%s\n",=20
>     ap=3D0x41c31954) at syslog.c:240
> #3  0x402cbee7 in syslog (pri=3D7,=20
>     fmt=3D0x809ebc0 "conn=3D%ld op=3D%ld SEARCH RESULT tag=3D%lu =
> err=3D%ld
> text=3D%s\n")
>     at syslog.c:102
> #4  0x08059e58 in strcpy () at ../sysdeps/generic/strcpy.c:31
> #5  0x080734d2 in strcpy () at ../sysdeps/generic/strcpy.c:31
> #6  0x08050de3 in strcpy () at ../sysdeps/generic/strcpy.c:31
> #7  0x0804fab4 in strcpy () at ../sysdeps/generic/strcpy.c:31
> #8  0x080845bd in strcpy () at ../sysdeps/generic/strcpy.c:31
> #9  0x401d9bfd in pthread_start_thread (arg=3D0x41c31c00) at =
> manager.c:262
> (gdb)

Gerry,

it looks like your system goes berserk while performing a syslog.
I recently made a couple of cleanups on the specific logs that
caused your problem. It may sound silly, but there was some mismatch
between the format and the arguments supplied to syslog. 
Even if there's only a remote possibility this was the cause, please
check REL_ENG_2 before further investigation goes on.

Thanks, Pierangelo.

-- 
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   |
http://www.aero.polimi.it/~masarati