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

Re: (ITS#5416) slapd core dump



rui.yan@gmail.com wrote:
> Full_Name: yanr
> Version: 2.4.8
> OS: Linux 2.6.22
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (128.221.197.21)
> 
> 
> Verion: 2.4.8
> Desc: client runs some codes like ldap_modify_ext, sometimes slapd core dump.
> The same codes works on 2.3.38.
> 
> [root@test1 /]# uname -r
> 2.6.22.9-2.smp.gcc3.4.x86_64
> 
> (gdb) bt
> 
> #0  0x00002b018fa6da3d in *__GI_raise (sig=19040)
>     at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
> 67        int res = INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
> (gdb) bt
> #0  0x00002b018fa6da3d in *__GI_raise (sig=19040)
>     at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
> #1  0x00002b018fa6ef1e in *__GI_abort () at ../sysdeps/generic/abort.c:88
> #2  0x00002b018fa67720 in *__GI___assert_fail (assertion=0x56ad43 "i > 0",
>     file=0x56acf8 "schema_init.c", line=366,
>     function=0x56ad30 "octetStringIndexer") at assert.c:83
> #3  0x00000000004664b3 in octetStringIndexer (use=163, flags=4,
>     syntax=0x77ea70, mr=0x77ed70, prefix=0x77ec48, values=0x2aaaaacad6b0,
>     keysp=0x42001598, ctx=0x83d970) at schema_init.c:366
> #4  0x000000000046ffde in objectSubClassIndexer (use=163, mask=4,
>     syntax=0x77ea70, mr=0x77ed70, prefix=0x77ec48, values=0x87b7e0,
>     keysp=0x42001598, ctx=0x83d970) at schema_prep.c:305

You should provide:
- your slapd.conf
- the LDIF of the modification that caused the issue
- the contents of some variables from gdb:

(gdb) frame 4
(gdb) print nocs
(gdb) print values
(gdb) print values[0]

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------