Bug 1196464
| Summary: | Adding ldif with out-of-scope target causes dirsrv to segfault | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Brian J. Atkisson <batkisso> | ||||||||
| Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> | ||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Viktor Ashirov <vashirov> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 6.0 | CC: | batkisso, nhosoi, nkinder, rmeggins | ||||||||
| Target Milestone: | pre-dev-freeze | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2016-04-05 18:21:45 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
can you attach a stack trace to the bz? http://www.port389.org/docs/389ds/FAQ/faq.html#debugging-crashes I installed the debuginfo package, but I'm not sure it's the right one. Looking at the no symbols messages in the stacktrace, I'm guessing it's not. Can you direct me to the correct one to install? See attached for the stacktrace. 389-ds-base-1.2.11.15-48.el6_6.x86_64 389-ds-console-doc-1.2.7-1.el6.noarch redhat-ds-console-9.1.0-1.el6.noarch redhat-ds-base-9.1.0-1.el6dsrv.x86_64 389-ds-console-1.2.7-1.el6.noarch redhat-ds-base-debuginfo-9.1.0-1.el6dsrv.x86_64 redhat-ds-admin-9.1.0-1.el6.x86_64 redhat-ds-console-doc-9.1.0-1.el6.noarch 389-ds-base-libs-1.2.11.15-48.el6_6.x86_64 redhat-ds-9.1.0-1.el6.x86_64 Created attachment 995446 [details]
stacktrace
Ah I get it, the 389 debuginfo package is in the RHEL debuginfo channel, not RHDS debuginfo. Comment on attachment 995446 [details]
stacktrace
incorrect debuginfo
Created attachment 995449 [details]
stacktrace with debuginfo
Let me know if this isn't what you need
(In reply to Brian J. Atkisson from comment #6) > Created attachment 995449 [details] > stacktrace with debuginfo > > Let me know if this isn't what you need This looks like a crash caused by a double free... Could it be possible to run the search against the server running with valgrind? http://www.port389.org/docs/389ds/FAQ/faq.html#memory-growth Thank you, Brian!! This bug looks like a dup of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=1314241 Bug 1314241 - Double free while adding entries There was an issue if backend add fails in a plugin (including the acl) and if the adding entry is in the entry cache, it was not properly removed from the cache. The fix is available in 389-ds-base-1.2.11.15-72.el6_7. It has been just shipped as rhel-6.7.6. https://errata.devel.redhat.com/advisory/22525 Could you please try the release? Thanks! Apologies for the delay, I just tested again with: 389-ds-base-libs-1.2.11.15-72.el6_7.x86_64 389-ds-base-1.2.11.15-72.el6_7.x86_64 DS did *not* crash this time, tested it several times. I would say this is resolved. Thanks all! (In reply to Brian J. Atkisson from comment #12) > Apologies for the delay, I just tested again with: > > 389-ds-base-libs-1.2.11.15-72.el6_7.x86_64 > 389-ds-base-1.2.11.15-72.el6_7.x86_64 > > DS did *not* crash this time, tested it several times. I would say this is > resolved. Thanks all! Great news! Thank you sooooo much for testing the bits, Brian!! *** This bug has been marked as a duplicate of bug 1314241 *** |
Created attachment 995431 [details] crashy ldif Description of problem: When attempting to add the attached ldif file to a DS server, it results in the dirsrv crashing. I receive the following error: [25/Feb/2015:20:54:45 -0500] NSACLPlugin - ACL Invalid Target Error(-8): Target is beyond the scope of the ACL(SCOPE:ou=Groups,dc=kerb,dc=redhat,dc=com) (targetattr = \22\2a\22) (target = \22ldap:///cn=pplmgrs,ou=Groups,dc=redhat,dc=com\22) (version 3.0;acl \22EIS People Managers Group Edit Permissions\22;allow (all)(userdn = \22ldap:///uid=eis-acct-maint,ou=serviceaccounts,dc=kerb,dc=redhat,dc=com\22);) Version-Release number of selected component (if applicable): RHEL 6.6 389-ds-base-1.2.11.15-48.el6_6.x86_64 389-admin-1.1.34-1.el6.x86_64 389-ds-console-doc-1.2.7-1.el6.noarch 389-adminutil-1.1.17-1.el6.x86_64 redhat-ds-console-9.1.0-1.el6.noarch redhat-ds-base-9.1.0-1.el6dsrv.x86_64 389-ds-console-1.2.7-1.el6.noarch 389-admin-console-doc-1.1.8-1.el6.noarch 389-console-1.1.7-1.el6.noarch redhat-ds-admin-9.1.0-1.el6.x86_64 redhat-ds-console-doc-9.1.0-1.el6.noarch 389-ds-base-libs-1.2.11.15-48.el6_6.x86_64 389-admin-console-1.1.8-1.el6.noarch redhat-ds-9.1.0-1.el6.x86_64 How reproducible: Always Steps to Reproduce: 1. ldapadd -ZZ -x -h server -D "cn=Directory Manager" -c -w password -f test.ldif Actual results: Results in a segfault. Expected results: dirsrv simply responds with an error Additional info: Access to the server can be granted, if necessary