| Summary: | memory leak found by reliab12 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Noriko Hosoi <nhosoi> | ||||
| Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 6.1 | CC: | amsharma, benl, dpal, jgalipea, jwest | ||||
| Target Milestone: | rc | Keywords: | ZStream | ||||
| Target Release: | 6.2 | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 389-ds-base-1.2.8.4-1.el6 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 697027 | Environment: | |||||
| Last Closed: | 2011-12-06 17:48:52 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | 697027, 717073 | ||||||
| Bug Blocks: | 714607 | ||||||
| Attachments: |
|
||||||
|
Description
Noriko Hosoi
2011-06-06 23:34:53 UTC
More accurate stacktrace which causes the leak in reliab12 test.
#0 str2entry_state_information_from_type (s=<value optimized out>,
csnset=0x7feb661f1620, attributedeletioncsn=0x7feb661f1628,
maxcsn=0x7feb661f1638, value_state=0x7feb661f166c,
attr_state=0x7feb661f1668) at ldap/servers/slapd/entry.c:131
#1 0x0000003594056805 in str2entry_dupcheck (rawdn=0x0,
s=<value optimized out>, flags=1024, read_stateinfo=-1)
at ldap/servers/slapd/entry.c:786
#2 0x0000003594057b8d in slapi_str2entry_ext (
dn=0x7feb48003280 "cn=data_1770,ou=ou2 with space,o=o1",
s=0x7feb480036a0 "rdn", flags=1024) at ldap/servers/slapd/entry.c:1401
#3 0x00007feb7a047368 in id2entry (be=0x284ef30, id=918, txn=0x0,
err=<value optimized out>) at ldap/servers/slapd/back-ldbm/id2entry.c:406
#4 0x00007feb7a086d41 in uniqueid2entry (be=0x284ef30,
uniqueid=<value optimized out>, txn=0x0, err=0x7feb661f58cc)
at ldap/servers/slapd/back-ldbm/uniqueid2entry.c:86
#5 0x00007feb7a0469eb in find_entry_internal_uniqueid (pb=0x2b03860,
be=0x284ef30, addr=<value optimized out>, lock=1, txn=0x0,
really_internal=<value optimized out>)
at ldap/servers/slapd/back-ldbm/findentry.c:219
#6 find_entry_internal (pb=0x2b03860, be=0x284ef30,
addr=<value optimized out>, lock=1, txn=0x0,
really_internal=<value optimized out>)
at ldap/servers/slapd/back-ldbm/findentry.c:275
#7 0x00007feb7a071ddb in ldbm_back_modify (pb=0x2b03860)
at ldap/servers/slapd/back-ldbm/ldbm_modify.c:266
#8 0x000000359407b83c in op_shared_modify (pb=<value optimized out>,
pw_change=0, old_pw=0x0) at ldap/servers/slapd/modify.c:886
#9 0x000000359407c696 in do_modify (pb=0x2b03860)
at ldap/servers/slapd/modify.c:384
#10 0x00000000004135e4 in connection_dispatch_operation ()
at ldap/servers/slapd/connection.c:583
#11 connection_threadmain () at ldap/servers/slapd/connection.c:2328
#12 0x0000003e5c829633 in ?? () from /lib64/libnspr4.so
#13 0x0000003e4d8077e1 in start_thread () from /lib64/libpthread.so.0
#14 0x0000003e4d4e68ed in clone () from /lib64/libc.so.6
Created attachment 503349 [details]
git patch file (RHEL-6)
Description: str2entry_dupcheck (entry.c):
If attributedeletioncsn was associated with entrydn and flag
SLAPI_STR2ENTRY_NO_ENTRYDN is set, the address was not released.
This patch fixes the leak.
cherry-picked commit: 2af101b69ece052498158fd50804d843d75ef1a0
*** Bug 717073 has been marked as a duplicate of this bug. *** Cloned https://bugzilla.redhat.com/show_bug.cgi?id=697027 is VERIFIED hence marking this 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. http://rhn.redhat.com/errata/RHEA-2011-1711.html |