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

OpenLDAP Doesn't Work When Compiled With Native GNU Pth Support (ITS#1594)



Full_Name: Dan Melomedman
Version: 2.0.22
OS: RH 6.2 Linux
URL: 
Submission from: (NULL) (12.20.53.245)


When compiled with GNU Pth 1.4.0 and the following "configure" switches and
verified linked with Pth, and not the Pth pthread wrapper:

"--with-ldbm-api=gdbm --without-tls  --disable-slurpd --with-threads=pth",

test scripts shipped with the distribution run the "slapd", but none of the
scripts continue can continue to run after slapd start. "master.log" in
"tests/test-db" directory contains this after running one of the scripts:

ber_get_next
ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
connection_get(9)
connection_get(9): got connid=0
connection_read(9): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 37 contents:
do_search
ber_scanf fmt ({aiiiib) ber:
SRCH "" 0 0    0 0 0
ber_scanf fmt (o) ber:
    filter: (objectClass=*)
ber_scanf fmt ({v}}) ber:
    attrs:
=> send_search_entry: ""
ber_flush: 50 bytes to sd 9
<= send_search_entry
send_ldap_result: conn=0 op=1 p=3
send_ldap_result: 0::
send_ldap_response: msgid=2 tag=101 err=0
ber_flush: 14 bytes to sd 9
ber_get_next
ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
connection_get(9)
connection_get(9): got connid=0
connection_read(9): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
do_unbind
connection_closing: readying conn=0 sd=9 for close
slap_sig_shutdown: signal 2


When compiled with the Pth pthread wrapper, all scripts complete successfully.