[mythtv-commits] Ticket #313: mythfrontend leaks file descriptors

MythTV mythtv at cvs.mythtv.org
Sat Sep 10 13:51:37 UTC 2005


#313: mythfrontend leaks file descriptors
------------------------------+---------------------------------------------
 Reporter:  sbower at cisco.com  |       Owner:  ijr 
     Type:  patch             |      Status:  new 
 Priority:  minor             |   Milestone:      
Component:  mythtv            |     Version:  head
 Severity:  medium            |         Cc:                    |  
------------------------------+---------------------------------------------
 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...

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/313>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list