https://bugs.openldap.org/show_bug.cgi?id=10044
Issue ID: 10044 Summary: dynlist sometimes crashes when a search operation is abandoned Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: overlays Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
Playing with the DB provided in ITS#10041 on master, interrupting the ldapsearch sometimes leads to a slapd crash. It's not 100% repeatable and the debugger shows dynlist_search2resp touching memory freed by dynlist_search_cleanup already, which doesn't make sense. Might be something else is happening at the same time.
https://bugs.openldap.org/show_bug.cgi?id=10044
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Assignee|bugs@openldap.org |hyc@openldap.org Target Milestone|--- |2.5.15
https://bugs.openldap.org/show_bug.cgi?id=10044
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.5.15 |2.5.16
https://bugs.openldap.org/show_bug.cgi?id=10044
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.5.16 |2.5.17
https://bugs.openldap.org/show_bug.cgi?id=10044
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=10135 Resolution|--- |DUPLICATE
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- likely fixed by bug#10135, marking as duplicate unless it can be reproduced again
*** This issue has been marked as a duplicate of issue 10135 ***
https://bugs.openldap.org/show_bug.cgi?id=10044
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=10044
--- Comment #2 from Ondřej Kuzník ondra@mistotebe.net --- Created attachment 1012 --> https://bugs.openldap.org/attachment.cgi?id=1012&action=edit slapd stats logs + backtrace
https://bugs.openldap.org/show_bug.cgi?id=10044
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|VERIFIED |CONFIRMED Resolution|DUPLICATE |--- Ever confirmed|0 |1
--- Comment #3 from Ondřej Kuzník ondra@mistotebe.net --- I can still replicate this on current master with the set up in ITS#10041, just run slapd and run this ldapsearch twice, Ctrl+C it before it finishes:
ldapsearch -x -H 'ldap://localhost:9011/' -D 'cn=admin,dc=my-organization,dc=com' -w pw -b 'ou=groups,dc=my-organization,dc=com' '(&(cn=*group*)(cn=*1)(member=uid=user1,ou=people,dc=my-organization,dc=com))' cn
stats logs + backtrace attached just now
https://bugs.openldap.org/show_bug.cgi?id=10044
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.5.17 |2.5.18
https://bugs.openldap.org/show_bug.cgi?id=10044
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS
--- Comment #4 from Howard Chu hyc@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/689
https://bugs.openldap.org/show_bug.cgi?id=10044
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|IN_PROGRESS |RESOLVED
--- Comment #5 from Quanah Gibson-Mount quanah@openldap.org --- head:
• ce524021 by Howard Chu at 2024-02-22T19:54:30+00:00 ITS#10044 dynlist: check for abandon in search2resp
RE26:
• 97474d96 by Howard Chu at 2024-03-26T16:42:34+00:00 ITS#10044 dynlist: check for abandon in search2resp
RE25:
• abd8706e by Howard Chu at 2024-03-26T16:43:13+00:00 ITS#10044 dynlist: check for abandon in search2resp
https://bugs.openldap.org/show_bug.cgi?id=10044
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED