Opened 14 years ago

Closed 14 years ago

#313 closed patch (fixed)

mythfrontend leaks file descriptors

Reported by: sbower@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When the recording file is available locally, mythfrontend (tv_play.cpp) does a "new RingBuffer?" on the file twice, resulting in two open FDs. Only the second one is closed when the playback stops (you can see this with lsof). If you delete the recording after watching, this can cause a "file deleted while open" discrepancy in disk usage (e.g. between df and du) as long as mythfrontend remains running. Patch on the way...

Attachments (1)

diff (434 bytes) - added by sbower@… 14 years ago.
patch

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by sbower@…

Attachment: diff added

patch

comment:1 Changed 14 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [7235]) Patch by Steve Bower to fix leaking file descriptors. Closes #313.

Note: See TracTickets for help on using tickets.