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

Re: ITS#3611 fast slapadd patch causes a bus error (fwd)



blah, forgot to put the number in the subject. ;)

------------ Forwarded Message ------------
Date: Saturday, April 09, 2005 2:26 PM -0700
From: Quanah Gibson-Mount <quanah@stanford.edu>
To: openldap-its@openldap.org
Cc: jongchoi@us.ibm.com
Subject: Re: fast slapadd patch causes a bus error



--On Friday, April 08, 2005 10:14 PM -0700 Quanah Gibson-Mount
<quanah@stanford.edu> wrote:

> Jong, I applied the patch, and:
>
> Seem a little buggy:
>
> Without fastslapadd, but -q
> helpus2:/tmp/q/ldif# time slapadd -q -l 10k.ldif
> 47.56u 1.25s 0:59.78 81.6%
>
> With fastslapadd & -q:
> helpus2:/tmp/q/ldif# time slapadd -q -l 10k.ldif
> Bus error

gdb shows:

Program received signal SIGSEGV, Segmentation fault.
0x0009412c in bdb_key_change (be=0x0, db=0x2715b0, txn=0x0, k=0x101f6b0,
id=4103, op=1) at key.c:95
95      key.c: No such file or directory.
        in key.c
(gdb) bt
# 0  0x0009412c in bdb_key_change (be=0x0, db=0x2715b0, txn=0x0,
# k=0x101f6b0, id=4103, op=1) at key.c:95 1  0x00093a08 in indexer
# (op=0xffbef450, txn=0x0, ad=0x139960, atname=0x13aad4, vals=0x13e2cd0,
# id=4103, opid=-4263408, mask=0) at index.c:200 2  0x00093bf4 in
# index_at_values (op=0x0, txn=0x0, ad=0x139960, type=0x13aad4,
# tags=0x13e2cd0, vals=0x1007, id=4290703888, opid=0) at index.c:302


This was compiled by -O2 -g, so the line number may be off.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin

---------- End Forwarded Message ----------



--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin