[mythtv-commits] Ticket #6897: DVB Recording fails with "Error: Stream handler died unexpectedly"

MythTV mythtv at cvs.mythtv.org
Sun Aug 30 19:03:13 UTC 2009


#6897: DVB Recording fails with "Error: Stream handler died unexpectedly"
-----------------------------------------+----------------------------------
 Reporter:  register at combinedeffort.com  |        Owner:  gnome42 
     Type:  defect                       |       Status:  assigned
 Priority:  minor                        |    Milestone:  0.22    
Component:  MythTV - DVB/ATSC            |      Version:          
 Severity:  medium                       |   Resolution:          
  Mlocked:  0                            |  
-----------------------------------------+----------------------------------

Comment(by Matthias Dahl <devel at mortal-soul.de>):

 Could you please try the following patch? It's just a test, so please
 don't get your hopes up too early.

 The changes:

 - polling is done indefinitely with a nice warning ("No data seen for xx
 msecs") if it takes longer than expected

 - the one and only mutex in poll's execution path was replaced by an
 atomic operation which will speed things up and avoid
 unnecessary/unpredictable wait states

 While testing, watch out for the log message above. That's the point where
 the stream handler would have usually "died". Check your recording if it
 contains any corruptions around that time frame or if it's totally okay.

 As a side note. I think the stream handler should never quit because there
 hasn't been any data for some time. It's always better to miss some part
 of a recording than the whole recording itself.

 Thanks for taking the time...

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6897#comment:9>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list