Bug 1309440

Summary: libtevent leaks memory during signal handling
Product: Red Hat Enterprise Linux 6 Reporter: Jakub Hrozek <jhrozek>
Component: libteventAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED WONTFIX QA Contact: Steeve Goveas <sgoveas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8CC: asn, sgoveas
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1309439 Environment:
Last Closed: 2017-11-14 21:07:00 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:
Bug Depends On: 1309439    
Bug Blocks:    

Description Jakub Hrozek 2016-02-17 20:00:50 UTC
+++ This bug was initially created as a clone of Bug #1309439 +++

Description of problem:
libtevent allocates memory during tevent_common_add_signal() but doesn't free it.

Version-Release number of selected component (if applicable):
libtevent-0.9.25-1.el7

How reproducible:
always

Steps to Reproduce:
1. register a signal handler with libtevent
2. watch the memory usage of a program after startup
3. receive a bunch of signals
3. observe memory usage go up

Actual results:


Expected results:


Additional info:
this is best tested through sssd performing many allocations

Comment 2 Jakub Hrozek 2017-11-14 21:07:00 UTC
This bug was open for almost two years and no customer cases were attached since.

The bug has also been fixed in RHEL-7.

Given the low interest and the fact that the bug is fixed in RHEL-7 and RHEL-6 being in Production Phase 3, I'm closing this bug as WONTFIX.

Please reopen this bugzilla if you are hit by this bug and would like to see it fixed in RHEL-6.