Project

General

Profile

Actions

Bug #8175

open

ls / memory leak

Added by David Carlier about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Low
Assignee:
Category:
cmd - userland programs
Start date:
2017-05-09
Due date:
% Done:

0%

Estimated time:
(Total: 0.00 h)
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

Some memory leaks exist within ls. My first contribution to illumos-gate, going to submit a patch.


Files

0001-8175-memory-leaks-fixes.patch (2.57 KB) 0001-8175-memory-leaks-fixes.patch David Carlier, 2017-05-07 01:48 PM

Subtasks 1 (1 open0 closed)

Bug #8183: ls - code errorNewDavid Carlier2017-05-09

Actions
Actions #2

Updated by Marcel Telka about 6 years ago

  • Assignee set to David Carlier
Actions #3

Updated by David Carlier about 6 years ago

Root cause analysis :
- Looked with valgrind ls command line behaviour
- Basically ls command line leaks memory, the amount depending on the flags used, a certain amount of false positives to distinguish as well. The most noticeable were the cache nodes then after few global variables.

Actions

Also available in: Atom PDF