[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#6455) Able to crash slapd while using back_ldap
--On Sunday, January 17, 2010 10:28 PM +0000 j@gropefruit.com wrote:
> In general, a page should exist on openldap.org that details, in full, =
> the debugging/core dump process and best practices.=20
Building unix software with debugging symbols is basic system administrator
knowledge. There is nothing "openldap" specific about doing so. Same with
debugging the core files that are generated.
Here's a page on basic C compilation:
<http://www.cs.rutgers.edu/LCSR-Computing/programming.html>
Most specifically, note the "-g" option to CFLAGS, which instructs gcc, in
this case, to include debugging symbols in the resulting compiled code.
Ensure that when you install, you set STRIP="" so that the "make" program
does not strip out the debugging symbols on installation. Run the new
slapd that has the debugging information and get a core file. Use GDB to
get a backtrace from it.
Again, nothing here is specific to OpenLDAP, which is why there is no
"OpenLDAP" page on how to do this. I will note the FAQ is fully
interactive, allowing anyone to create an entry, if you feel so inclined.
I would suggest updating <http://www.openldap.org/faq/data/cache/59.html>
with any information you feel specifically is lacking.
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration