Hi Dieter!
ulimit -c is set to unlimited. No core file is produced.
The actual problem is that the slapd terminates (normally) because it detects the undefined function GenBufFreeBuf (that is called from whithin init.c) when using functionality from the comp match module.
The problem is not: who calles GenBufFreeBuf, but: where is it defined?
In the actual snacc and comp match module source code GenBufFreeBuf is defined NOWHERE!!! So I need the source code for GenBufFreeBuf function to prevent slapd from terminating when it calls into the comp match module.
Regards,
Hartmut
-----Ursprüngliche Nachricht-----
Von: openldap-technical-bounces+hartmut.lehnert=secunet.com@OpenLDAP.org [mailto:openldap-technical-bounces+hartmut.lehnert=secunet.com@OpenLDAP.org] Im Auftrag von Dieter Kluenter
Gesendet: Mittwoch, 26. Mai 2010 12:48
An: openldap-technical@openldap.org
Betreff: Re: Q: status of component matching?
"Lehnert, Hartmut" <Hartmut.Lehnert@secunet.com> writes:
> Hi Dieter! I built slapd and the comp match module with CFLAGS=-g
> option but a core dump isn't generated. I don't think that a core
> dump analysis is necessary to solve the problem because the slapd
> output
You may have to call ulimit -c unlimited in order to create a core dump.
>
> /home/openldap/openldap-2.4.21-install/libexec/slapd: symbol lookup
> error:
> /home/openldap/openldap-2.4.21-install/libexec/openldap/compmatch.so.0:
> undefined symbol: GenBufFreeBuf
>
> is clear enough: the symbol GenBufFreeBuf is simply missing in the
> source code and binary of the comp match module. So once again: do you
> know where I can get the missing source code?
As I mentioned, GenBufFreeBuf is called in comp_match/init.c
-Dieter
--
Dieter Klünter | Systemberatung
sip: +49.40.20932173
http://www.dpunkt.de/buecher/2104.html
GPG Key ID:8EF7B6C6