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

slapadd seg fault (ITS#1418)

Full_Name: Iain Moffat
Version: 2.0.17
OS: AIX 4.3.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

slappadd seg faults roughly halfway through a 122 meg ldif.  It crashes at
exactly the
same point each time.  It seems to crash just as it is starting to add the
following r

dn: cn=yshen,o=University of Florida,c=US
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: eduPerson
objectclass: uflEduPerson
cn: Yu Jiun Shen
cn: yshen
sn: Shen
homephone: 846-5121
homepostaladdress: 2903 sw 13th st apt 9 gainesville fl 32608-3034
universityid: 666666666
ssn: 666666666
creatorsname: cn=root,o=University of Florida,c=US
telephonenumber: (352) 392-0828
postaladdress: po box 116300 gainesville fl 32611-6300
officebuilding: po box 116300
uid: yshen
mail: yshen@ufl.edu
preferredmail: yshen@ufl.edu
curriculum: 8eg
title: grad rsrch ast
modifiersname: cn=root, o=University of Florida, c=US
department: uf

Backtrace is as follows:

root@spnode27:115$ gdb
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix4.3.3.0"...
Core was generated by `slapadd'.
Program terminated with signal 11, Segmentation fault.
#0  0x1001b188 in entry2str (e=0x0, len=0x2ff226ec) at entry.c:252
252     entry.c: No such file or directory.
(gdb) bt
#0  0x1001b188 in entry2str (e=0x0, len=0x2ff226ec) at entry.c:252
#1  0x100f5378 in ldbm_tool_entry_put (be=0x2003d5c8, e=0x200244e8)
    at tools.c:196
#2  0x10000644 in main (argc=537019624, argv=0x200006a8) at slapadd.c:112
#3  0x100001dc in __start ()

I can sucessfully add the record above "dn: cn=yshen" after the fact and it
loads fine
it seems as though it is something linked to having imported many records prior
this one.  I suspect the if I were to split the ldif the second half might
import ok.

If I can provide any further information please let me know.  Thank you!