Killed Python2.4

Michael Ströder michael at
Sat Apr 26 11:13:11 CEST 2008

Ron Teitelbaum wrote:
> I know you mentioned that I should send you more info if I get an exception.
> I got a SERVER_DOWN and then retried the call manually and blew up python2.4
> This is CentOS 5, python2.4.4, python-ldap 2.3.4
> [..]
> python2.4: io.c:234: ber_flush2: Assertion `( (sb)->sb_opts.lbo_valid == 0x3
> )' failed.
> Aborted

Hmm, this is a debug message of OpenLDAP's libldap. Never saw this. 
Which version of OpenLDAP is installed there? CentOS is based on Fedora? 
Red Hat / Fedora is far behind with its OpenLDAP version. Any chance for 
a library mix with another libldap? Could you please check which libldap 
is dynamically linked? Use ldd for that.

On my system where OpenLDAP is separately compiled and installed to 
prefix /opt/openldap-2.3:

# ldd /usr/lib/python/site-packages/ =>  (0xffffe000) => /opt/openldap-2.3/lib/ 
(0xb7ecf000) => /opt/openldap-2.3/lib/ 
(0xb7ec1000) => /usr/lib/ (0xb7e92000) => /usr/lib/ (0xb7e4f000) => /usr/lib/ (0xb7d08000) => /usr/lib/ (0xb7be7000) => /lib/ (0xb7bd0000) => /lib/ (0xb7a9d000) => /lib/ (0xb7a8a000) => /lib/ (0xb7a86000) => /lib/ (0xb7a72000) => /lib/ (0xb7a6e000) => /lib/ (0xb7a49000)
         /lib/ (0x80000000)

> I thought I'd send it to you incase it gives you any clues about SERVER_DOWN
> which has been a royal pain!

It shouldn't be a problem. It works for me very often. I believe it's an 
issue with your local installation.

> I actually was able to reproduce this error twice.  3rd time worked.


Ciao, Michael.

More information about the python-ldap mailing list