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

Core dump when using 'slapadd -c -l ldiffile' (ITS#1632)



Full_Name: Anthony Brock
Version: HEAD (cvs 2002-03-05)
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (209.170.224.27)


I am attempting to import my original database. While I believe I can fix the
problem with my import file, the slapadd command should not drop a core dump
when encountering a known problem. The actual output is:

# slapadd -c -l ldap.tmp
slapadd: dn="dc=georgefox,dc=edu" (line=9): no structural object classes
provided
slapadd: dn="dc=webgroups,dc=georgefox,dc=edu" (line=40622): no structural
object classes provided
Segmentation Fault - core dumped
# 

A 'truss -p <pid>' revealed:

pwrite64(14, "\0\0\001\07F j  \0\0\0\t".., 4096, 36864) = 4096
pread64(9, "\0\0\001\0 >E5 u\0\0\011".., 4096, 69632) = 4096
pread64(9, "\0\0\001\0 ]E4 E\0\0\01A".., 4096, 106496) = 4096
pread64(9, "\0\0\001\0 {9D n\0\0\0  ".., 4096, 131072) = 4096
pread64(9, "\0\0\001\07F `F5\0\0\0 &".., 4096, 155648) = 4096
time()                                          = 1015514517
llseek(5, 8350500, SEEK_SET)                    = 8350500
write(5, "\07F jE0808E119D\0\0\0 D".., 1028)    = 1028
fdsync(5, O_RDONLY|O_SYNC)                      = 0
write(2, " s l a p a d d", 7)                   = 7
write(2, " :   d n = "", 6)                     = 6
write(2, " d c = w e b g r o u p s".., 32)      = 32
write(2, " "   ( l i n e =", 8)                 = 8
write(2, " 4 0 6 2 2", 5)                       = 5
write(2, " ) :  ", 3)                           = 3
write(2, " n o   s t r u c t u r a".., 37)      = 37
write(2, "\n", 1)                               = 1
    Incurred fault #6, FLTBOUNDS  %pc = 0xFF0C14D8
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000028
    Received signal #11, SIGSEGV [caught]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000028
sigprocmask(SIG_SETMASK, 0xFF06EFE8, 0x00000000) = 0
sigaction(SIGSEGV, 0xFFBEF180, 0x00000000)      = 0
sigprocmask(SIG_SETMASK, 0xFF07ADB8, 0x00000000) = 0
setcontext(0xFFBEF338)
    Incurred fault #6, FLTBOUNDS  %pc = 0xFF0C14D8
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000028
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000028
        *** process killed ***

Good luck!