Ticket #3798 (new defect)

Opened 7 years ago

Last modified 7 years ago

MC is leaking a pipe to executed programs

Reported by: 0xe2.0x9a.0x9b Owned by:
Priority: major Milestone: Future Releases
Component: mc-core Version: 4.8.19
Keywords: Cc: 0xe2.0x9a.0x9b@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

GNU Midnight Commander 4.8.19

Steps to reproduce the bug:

  1. Run "sleep 100" from Midnight Commander
  2. Run "htop" in another terminal
  3. Find "sleep 100" in htop and press "l" to list open files
  4. The list of open files contains "8 FIFO 0xa 3977158 pipe"

Expected result:

  1. The list of open files does not contain "8 FIFO 0xa 3977158 pipe"

Change History

comment:1 Changed 7 years ago by 0xe2.0x9a.0x9b

The following might be related to fixing the issue:

man pipe2
O_CLOEXEC

comment:2 Changed 7 years ago by 0xe2.0x9a.0x9b

  • Cc 0xe2.0x9a.0x9b@… added
Note: See TracTickets for help on using tickets.