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

Seg fault with DIGEST-MD5



HI!

I have a seg fault with HEAD and REL_ENG_2_1 when trying to do a SASL bind with DIGEST-MD5 under python-ldap (which mainly wraps OpenLDAP client libs). See log for test run with HEAD below.

This is under SuSE Linux 8.2 with pre-built cyrus-sasl2-2.1.12-36.

It might be that my local SASL setup is screwed up. But at least the server should not crash.

Before filing an ITS I'd like to hear what further information is needed for the developers to track that down.

Ciao, Michael.

--------------------------------- snip ---------------------------------
daemon: added 6r
daemon: Attempt to listen to 0.0.0.0 failed, already listening on ::, assuming IPv4 included
daemon: closing 7
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: new connection on 7
ldap_pvt_gethostbyname_a: host=nb2, r=0
daemon: added 7r
daemon: activity on:
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 7r
daemon: read activity on 7
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 24 contents:
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt ({m) ber:
ber_scanf fmt (}}) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_sasl_bind: dn () mech DIGEST-MD5
SASL [conn=0] Debug: DIGEST-MD5 server step 1
send_ldap_sasl: err=14 len=189
send_ldap_response: msgid=1 tag=97 err=14
ber_flush: 208 bytes to sd 7
<== slap_sasl_bind: rc=14
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 7r
daemon: read activity on 7
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 311 contents:
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
ber_scanf fmt (}}) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_sasl_bind: dn () mech DIGEST-MD5
SASL [conn=0] Debug: DIGEST-MD5 server step 2
getdn: u:id converted to uid=michael,cn=DIGEST-MD5,cn=auth
>>> dnNormalize: <uid=michael,cn=DIGEST-MD5,cn=auth>
=> ldap_bv2dn(uid=michael,cn=DIGEST-MD5,cn=auth,0)
<= ldap_bv2dn(uid=michael,cn=DIGEST-MD5,cn=auth,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=michael,cn=digest-md5,cn=auth,272)=0
<<< dnNormalize: <uid=michael,cn=digest-md5,cn=auth>
==>slap_sasl2dn: converting SASL name uid=michael,cn=digest-md5,cn=auth to a DN
slap_sasl_regexp: converting SASL name uid=michael,cn=digest-md5,cn=auth
<==slap_sasl2dn: Converted SASL name to <nothing>
Illegal instruction