[mythtv-commits] Ticket #3412: Mythbackend should not exit on errors

MythTV mythtv at cvs.mythtv.org
Fri May 4 23:50:42 UTC 2007


#3412: Mythbackend should not exit on errors
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  defect     |      Status:  new    
 Priority:  minor      |   Milestone:  unknown
Component:  mythtv     |     Version:  0.20   
 Severity:  medium     |  
-----------------------+----------------------------------------------------
 From my Mythbackend log:

 2007-05-05 01:30:08.650 Finished recording : channel 3507
 2007-05-05 01:30:31.708 MainServer: HandleRemoteEncoder(cmd GET_STATE)
 Unknown encoder: 5, exiting

 And poof, there goes the backend.

 I guess this was caused by "2007-05-05 01:26:16.608 mythbackend: Problem
 with capture cards: Card 5failed init" but that's a separate problem. I
 feel the backend should not exit on such things, as this breaks all
 scheduled/ongoing recordings and livetv viewing from other frontends until
 it is restarted. Returning an error message to the requesting frontend and
 continuing business as usual would be a far better solution I think?

 I guess I should file a feature request for authentication on the
 protocol, as with this exiting and crashing (there's also segfaults, as I
 discovered while trying to debug the protocol) anyone on your network can
 kill the backend and sabotage everything. :(

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3412>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list