[mythtv-commits] Ticket #10620: IPTV recorder throws mythbackend into endless loop/unresponsive state

MythTV noreply at mythtv.org
Tue Apr 17 08:06:22 UTC 2012

#10620: IPTV recorder throws mythbackend into endless loop/unresponsive state
     Reporter:  chemobejk@…                 |      Owner:  danielk
         Type:  Bug Report - Hang/Deadlock  |     Status:  new
     Priority:  minor                       |  Milestone:  unknown
    Component:  MythTV - Recording          |    Version:  0.25
     Severity:  medium                      |   Keywords:  IPTV
Ticket locked:  0                           |
 I've updated from mythtv 0.24.2 to 0.25 on Fedora 16 on a box that has a
 DVB-C card and multicast IPTV (udp://224.... variety) connectivity. With
 0.24 IPTV had serious problems with recording multiple recordings at the
 same time, so I was eager to test the rewritten IPTV recorder code.


   a) record single DVB-C stream:    works OK

   b) record multiple DVB-C streams: works OK

   c) record single IPTV stream:     recording starts and is OK, but
 recording is never stopped, i.e. mythbackend doesn't go back to idle
      * the next scheduled IPTV recording doesn't start
      * mythbackend can only be stopped with kill -9: "systemctl stop
 mythbackend.service" tries for a long time and then gives up and uses kill

   d) record multiple IPTV streams:  first two recordings are started, then
 mythbackend seems to be in some endless loop, reacting very slowly
      * frontend/mythfilldatabase/mythweb either have extremely slow
 reaction or timeout
      * a third scheduled IPTV recording is NOT started
      * the two recordings go on forever
      * mythbackend can only be stopped with kill -9

 The attached log are the mythbackend messages filtered out of syslog from
 my test:

   [08:46] start first scheduled DVB-C recording
   [08:59] start second scheduled DVB-C recording
   [09:34] end second DVB-C recording
   [09:39] end first DVB-C recording
   [09:58] start first scheduled IPTV recording
   [10:34] stop first scheduled IPTV recording  (NOTE: mythtvbackend keeps
 on writing data to the file!!!)
   [10:54] -> this is where the next scheduled IPTV recording should have
 started, but nothing happens
   [10:56] "systemctl stop mythbackend.service" -> two more messages until
 it gets killed with -9

Ticket URL: <http://code.mythtv.org/trac/ticket/10620>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center

More information about the mythtv-commits mailing list