Actions
Bug #316
closedlttng-sessiond and lttng-relayd file descriptor leak upon error
Start date:
07/24/2012
Due date:
% Done:
100%
Estimated time:
Description
In:
lttng-sessiond main.c:thread_manage_kernel()
lttng-sessiond main.c:thread_manage_apps()
lttng-relayd main.c:relay_thread_worker()
Upon error condition, the file descriptors used by poll are not closed.
This is not performed by lttng_poll_clean, and probably should not be, since the thread_quit_pipe is part of that poll array, and needs to be closed in the main() cleanup (only once). However, a finer-grained close of those file descriptors would be needed in the error handling of each function.
Updated by Anonymous about 12 years ago
- Description updated (diff)
Edited description for less wall of text.
Updated by David Goulet about 12 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 6620da753247b1e0950c58ef3ce4f603c7da1ea5.
Actions