Bug 1034898 - automember plugin task memory leaks
Summary: automember plugin task memory leaks
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rich Megginson
QA Contact: Sankar Ramalingam
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-26 16:45 UTC by Nathan Kinder
Modified: 2020-09-13 20:50 UTC (History)
3 users (show)

Fixed In Version: 389-ds-base-1.3.1.6-12.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 13:08:40 UTC
Target Upstream Version:


Attachments (Terms of Use)
valgrind output (72.52 KB, text/plain)
2014-02-12 11:10 UTC, Amita Sharma
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 929 0 None None None 2020-09-13 20:50:22 UTC

Description Nathan Kinder 2013-11-26 16:45:40 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47592

automember_rebuild_task_thread() & automember_export_task_thread() do not destroy the search_pb pblocks.

Comment 5 Amita Sharma 2014-02-12 11:10:28 UTC
Created attachment 862203 [details]
valgrind output

Hi Mark,

I have enabled valgrind and executed auto member acceptance ( autoMemTask01() ),
Test case failed due to some issue of not able to stop the instance but it could successfully added the automember rebuild task - 

add objectClass:
	top
	extensibleObject
add basedn:
	ou=TaskEmployees,dc=autoMembers,dc=com
add filter:
	(objectClass=posixAccount)
add scope:
	sub
adding new entry cn=Rebuild,cn=automember rebuild membership,cn=tasks,cn=config
modify complete

Successfully added a task for running automembers Rebuild task

And I could see "automember" in the valgrind output. PFA.
Please guide if this is the issue?

Comment 6 mreynolds 2014-02-12 14:59:32 UTC
(In reply to Amita Sharma from comment #5)
> Created attachment 862203 [details]
> valgrind output
> 
> Hi Mark,
> 
> I have enabled valgrind and executed auto member acceptance (
> autoMemTask01() ),
> Test case failed due to some issue of not able to stop the instance but it
> could successfully added the automember rebuild task - 
> 
> add objectClass:
> 	top
> 	extensibleObject
> add basedn:
> 	ou=TaskEmployees,dc=autoMembers,dc=com
> add filter:
> 	(objectClass=posixAccount)
> add scope:
> 	sub
> adding new entry cn=Rebuild,cn=automember rebuild
> membership,cn=tasks,cn=config
> modify complete
> 
> Successfully added a task for running automembers Rebuild task
> 
> And I could see "automember" in the valgrind output. PFA.
> Please guide if this is the issue?

This is fine, the leak is fixed.  You can mark this verified.

Comment 7 Amita Sharma 2014-02-13 07:28:54 UTC
Marking the bug as VERIFIED

Comment 8 Amita Sharma 2014-03-11 12:29:43 UTC
Automated in Automember tet suit in autoMemTask01()

Comment 9 Ludek Smid 2014-06-13 13:08:40 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


Note You need to log in before you can comment on or make changes to this bug.