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

Re: (ITS#6506) Use of back-perl in slapd.conf in subordinate database causes slapcat to segfault

masarati@aero.polimi.it wrote:

> ^^^ I think the culprit is here.  No point in tracking down further this
> issue unless you re-link as recommended by this message.
> p.

Sorry - I experienced the error on a production box running Debian 
packages, and re-built from source on my local machine just to confirm 
the bug still exists. However, my local machine already has other LDAP 
libraries installed which seems to have resulted in some of the wrong 
libraries being picked up at compile time.

I've now removed all pre-built openldap packages, re-built again from 
source and can confirm that the bug still stands since the 
"ldap_int_global_options" warning has now disappeared:

zeno:/home/build/rel-openldap# ./sbin/slapcat
Here in new
Posix Var 8192 and 4096
bdb_db_open: database "dc=my-domain,dc=com": unclean shutdown detected; 
attempting recovery.
bdb_db_open: warning - no DB_CONFIG file found in directory 
/home/build/rel-openldap/var/openldap-data: (2).
Expect poor performance for suffix "dc=my-domain,dc=com".
bdb_db_open: database "dc=my-domain,dc=com": recovery skipped in 
read-only mode. Run manual recovery if errors are encountered.
bdb_monitor_db_open: monitoring disabled; configure monitor database to 
dn: dc=my-domain,dc=com
objectClass: top
objectClass: dcObject
objectClass: organization
o:: bXlkb21haW4uY29tIA==
dc: my-domain
structuralObjectClass: organization
entryUUID: 0bdc2650-d5c0-102e-9fe7-3350c645132d
creatorsName: cn=Manager,dc=my-domain,dc=com
createTimestamp: 20100406120241Z
entryCSN: 20100406120241.310422Z#000000#000#000000
modifiersName: cn=Manager,dc=my-domain,dc=com
modifyTimestamp: 20100406120241Z

dn: ou=real,dc=my-domain,dc=com
objectClass: organizationalUnit
objectClass: top
structuralObjectClass: organizationalUnit
entryUUID: 5644fb04-d5c0-102e-9c04-81e0ba1bb1f2
creatorsName: cn=Manager,dc=my-domain,dc=com
createTimestamp: 20100406120446Z
ou: real
entryCSN: 20100406120458.545769Z#000000#000#000000
modifiersName: cn=Manager,dc=my-domain,dc=com
modifyTimestamp: 20100406120458Z

*** glibc detected *** ./sbin/slapcat: free(): invalid pointer: 
0x00000000009c4fd3 ***
======= Backtrace: =========

Many thanks,


Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs