Bug 1252082
Summary: | removing chaining database links trigger valgrind read errors | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Noriko Hosoi <nhosoi> | ||||
Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> | ||||
Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.0 | CC: | kbanerje, mreynolds, nkinder, rmeggins | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 389-ds-base-1.3.4.0-11.el7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-11-19 11:43:58 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-08-10 16:39:48 UTC
Fixed upstream. Issue is only detectable in valgrind. Steps to reproduce: [1] Enable valgrind for DS, and start it [2] Create a database link: ldapmodify ... dn: cn=example_link,cn=chaining database,cn=plugins,cn=config changetype: add objectClass: top objectClass: extensibleObject objectClass: nsBackendInstance cn: example_link nsslapd-suffix: dc=example,dc=com nsmultiplexorbinddn: uid=test,dc=example,dc=com nsfarmserverurl: ldap://localhost:389/ nsmultiplexorcredentials: {AES-TUhNR0NTcUdTSWIzRFFFRkRUQm1NRVVHQ1NxR1NJYjNEUUV GRERBNEJDUmxObUk0WXpjM1l5MHdaVE5rTXpZNA0KTnkxaE9XSmhORGRoT0MwMk1ESmpNV014TUFB Q0FRSUNBU0F3Q2dZSUtvWklodmNOQWdjd0hRWUpZSVpJQVdVRA0KQkFFcUJCQnY1M2VNeTVuR0hZT WRCVXRUYkcxcA==}mzH2Saj9gPyeozCbe+QehQ== dn: cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config changetype: modify add: nsslapd-backend nsslapd-backend: example_link dn: cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config changetype: modify delete: nsslapd-backend nsslapd-backend: example_link [3] Delete the Link ldapmodify ... dn: cn=monitor,cn=example_link,cn=chaining database,cn=plugins,cn=config changetype: delete dn: cn=example_link,cn=chaining database,cn=plugins,cn=config changetype: delete [4] Stop the server [5] Check there is nothing in the valgrind report mentioning "dse_call_callback" and "Invalid read" Created attachment 1066067 [details]
valgrind.out
Build tested: 389-ds-base-1.3.4.0-13.el7.x86_64
I don't see any invalid reads with related dse_call_callback in the valgrind output.
But there are plenty of these messages:
==20636== by 0x4E917B8: dse_call_callback.isra.1 (dse.c:2634)
Mark, could you please confirm that they are unrelated?
Thanks!
(In reply to Viktor Ashirov from comment #3) > Created attachment 1066067 [details] > valgrind.out > > Build tested: 389-ds-base-1.3.4.0-13.el7.x86_64 > > I don't see any invalid reads with related dse_call_callback in the valgrind > output. > > But there are plenty of these messages: > ==20636== by 0x4E917B8: dse_call_callback.isra.1 (dse.c:2634) > > Mark, could you please confirm that they are unrelated? > Thanks! Those are unrelated messages, and can be ignored. Thanks, Mark Thanks, Mark! 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-2351.html |