Bug 1193243
Summary: | ldbm_usn_init: Valgrind reports Invalid read / SIGSEGV | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Noriko Hosoi <nhosoi> | ||||
Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> | ||||
Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.0 | CC: | msauton, nhosoi, nkinder, rmeggins | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 389-ds-base-1.2.11.15-51.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
When there was a suffix with no backend database associated, the server did not start due to the segmentation fault in ldbm_usn_init. The bug was fixed and the server starts.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-07-22 06:37:00 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Noriko Hosoi
2015-02-16 23:45:52 UTC
please add steps to reproduce and verify this issue Steps to verify: 1. create a suffix mapping tree without backend. E.g., ldapmodify -a ... << EOF dn: cn=dc\3Dnew\2Cdc\3Dcom,cn=mapping tree,cn=config objectClass: top objectClass: extensibleObject objectClass: nsMappingTree nsslapd-state: Disabled cn: dc=new,dc=com EOF 2. enable the LDAP_DEBUG_BACKLDBM log level: nsslapd-errorlog-level: 524288 3. Start ns-slapd via valgrind 4. If no invalid read error indicating ldbm_usn_init, the bug was verified. ==26183== Invalid read of size 8 ==26183== at 0xFF0E29C: ldbm_usn_init (ldbm_usn.c:83) ... *** Bug 1166460 has been marked as a duplicate of this bug. *** Created attachment 1002048 [details]
valgrind output
Build tested:
389-ds-base-1.2.11.15-52.el6.x86_64
389-ds-base-libs-1.2.11.15-52.el6.x86_64
No mentions of ldbm_usn_init in the valgrind output.
Marking as VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1326.html |