Created attachment 893215 stacktrace
Description of problem: SASL+ldclt gives segmentation fault.
Version-Release number of selected component (if applicable): 389-ds-base-1.3.1.6-25.el7.x86_6 389-ds-base-debuginfo-1.3.1.6-25.el7.x86_64 389-ds-base-libs-1.3.1.6-25.el7.x86_64
How reproducible: Non-consistent
Steps to Reproduce: 0. Configure SASL and execute below commands
/usr/bin/ldclt-bin -h <host> -p <port> -e bindeach -e randomauthid -e randomauthidlow=1 -e randomauthidhigh=9999 -o mech=DIGEST-MD5 -o authid=loginXXXX -w redhat -e attreplace=mail:XXXX -e incr -e noloop -f uid=modifyXXXX -r 1 -R 9999 -s base -b ou=sasl_modify_ou,o=example.com -V -q -E 10004 -n 10 -N 20000 -T 1000 -W 2
/usr/bin/ldclt-bin -h <host> -p <port> -e esearch -e bindeach -e randomauthid -e randomauthidlow=1 -e randomauthidhigh=9999 -o mech=DIGEST-MD5 -o authid=loginXXXX -w redhat -s base -b o=example.com -f uid=modify* -V -q -E 10004 -n 10 -N 20000 -T 1000 -W 2
Actual results: segmentation fault
ldclt version 4.23 /usr/bin/ldclt-bin -h <host> -p <port> -e bindeach -e randomauthid -e randomauthidlow=1 -e randomauthidhigh=9999 -o mech=DIGEST-MD5 -o authid=loginXXXX -w redhat -e delete -e incr -e noloop -I 32 -f uid=deleteXXXX -r 1 -R 9999 -s base -b ou=sasl_delete_ou,o=example.com -V -q -E 10004 -n 10 -N 20000 -T 1000 -W 2 Process ID = 11198 Host to connect = <host> Port number = <port> Bind DN = NULL Passwd = redhat Referral = on Base DN = ou=sasl_delete_ou,o=saslstress.com Filter = "uid=deleteXXXX" Max times inactive = 3 Max allowed errors = 10004 Number of samples = 20000 Number of threads = 10 Total op. req. = 1000 Running mode = 0x4904000b Running mode = quiet verbose very_verbose incremental noloop bind_each_operation saslauth randomauthid delete LDAP oper. timeout = 30 sec Sampling interval = 10 sec Values range = [1 , 9999] Filter's head = "uid=delete" Filter's tail = "" Bind Authid's head = "login" Bind Authid's tail = "" Bind Authid's range = [1 , 9999] Ignore error = 32 (No such object) ldclt[11198]: Starting at Wed May 7 15:40:22 2014
ldclt[11198]: Creating thread T000 ldclt[11198]: Creating thread T001 ldclt[11198]: Creating thread T002 ldclt[11198]: Creating thread T003 ldclt[11198]: Creating thread T004 ldclt[11198]: T003: startRandom = 10 ldclt[11198]: T003: randomHead = "uid=delete", randomTail = "" ldclt[11198]: T001: startRandom = 10 ldclt[11198]: T001: randomHead = "uid=delete", randomTail = "" ldclt[11198]: T000: startRandom = 10 ldclt[11198]: T000: randomHead = "uid=delete", randomTail = "" ldclt[11198]: T002: startRandom = 10 ldclt[11198]: T002: randomHead = "uid=delete", randomTail = "" ldclt[11198]: Creating thread T005 ldclt[11198]: T004: startRandom = 10 ldclt[11198]: T004: randomHead = "uid=delete", randomTail = "" ldclt[11198]: Creating thread T006 ldclt[11198]: Creating thread T007 ldclt[11198]: T006: startRandom = 10 ldclt[11198]: T006: randomHead = "uid=delete", randomTail = "" ldclt[11198]: T005: startRandom = 10 ldclt[11198]: T005: randomHead = "uid=delete", randomTail = "" ldclt[11198]: Creating thread T008 ldclt[11198]: T007: startRandom = 10 ldclt[11198]: T007: randomHead = "uid=delete", randomTail = "" ldclt[11198]: T008: startRandom = 10 ldclt[11198]: T008: randomHead = "uid=delete", randomTail = "" ldclt[11198]: Creating thread T009 ldclt[11198]: T009: startRandom = 10 ldclt[11198]: T009: randomHead = "uid=delete", randomTail = "" ldclt[11198]: T000: Sasl Authid="login0001" ldclt[11198]: T007: Sasl Authid="login6330" ldclt[11198]: T005: Sasl Authid="login0837" ldclt[11198]: T006: Sasl Authid="login5124" ldclt[11198]: T004: Sasl Authid="login5672" ldclt[11198]: T008: Sasl Authid="login0612" ldclt[11198]: T002: Sasl Authid="login7512" ldclt[11198]: T003: Sasl Authid="login5661" ldclt[11198]: T009: Sasl Authid="login0743" ldclt[11198]: T001: Sasl Authid="login5945" ldclt[11198]: Illegal error number -6 ldclt[11198]: T000: thread is dead. ldclt[11198]: Illegal error number -6 ldclt[11198]: T005: thread is dead. ldclt[11198]: Illegal error number -6 ldclt[11198]: T002: thread is dead. ldclt[11198]: Illegal error number -6 ldclt[11198]: T001: thread is dead. ldclt[11198]: T007: incremental mode:filter="uid=delete0001" ldclt[11198]: T006: incremental mode:filter="uid=delete0001" ldclt[11198]: T004: incremental mode:filter="uid=delete0001" ldclt[11198]: T003: incremental mode:filter="uid=delete0001" ldclt[11198]: T009: incremental mode:filter="uid=delete0001" ldclt[11198]: T008: incremental mode:filter="uid=delete0001" ldclt[11198]: T003: Sasl Authid="login6953" ldclt[11198]: T006: Sasl Authid="login4058" ldclt[11198]: T007: Sasl Authid="login8229" ldclt[11198]: T008: Sasl Authid="login0732" ldclt[11198]: T003: incremental mode:filter="uid=delete0002" Segmentation fault (core dumped)
Expected results: Should not give Segmentation fault
Additional info: PFA for stack trace
Could not reproduce the problem. Asking the reporter for a help.
A bug in cyrus-sasl.
Closed #1095249 as dup of #1147659. Closing this ticket, too.
Metadata Update from @nhosoi: - Issue assigned to nhosoi - Issue set to the milestone: 1.3.3 - 8/14 (August)
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/1131
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Invalid)
Login to comment on this ticket.