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

Re: ber_get_next: Assertion failed

Howard Chu wrote:

Guy Roussin wrote:


I get this logs from /var/log/syslog of my samba pdc, i use debian sarge
and since i upgrade openldap (2.1 to 2.2) i get a lot of problem related
to libnss-ldap.

smbd: /home/devel/openldap/build-area/openldap2-2.1.30/libraries/liblber/io.c:508: ber_get_next: Assertion `ber->ber_buf == ((void *)0)' failed.

This appears to be the same as ITS#3908. That bug report did not come with any backtrace, though.

The backtrace you provided here is missing some important information, your libldap_r has no symbol table so there's no clue what the calling sequence was. It would help if you can build with a more recent library than 2.1.30 (OpenLDAP 2.1 is now historic, and no longer supported) and compile with debugging symbols.

I would suggest, if you are willing, to try code from OpenLDAP's CVS tagged OPENLDAP_REL_ENG_2_3 which is about to be released as 2.3.5; there were a few fixes in the area of concurrency in libldap_r that resulted from concurrency issues in the ldap proxy.


SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497