[mythtv-commits] Ticket #10647: Scheduler deadlock during Live TV

MythTV noreply at mythtv.org
Mon Apr 23 17:18:14 UTC 2012

#10647: Scheduler deadlock during Live TV
     Reporter:  stichnot                    |      Owner:  gigem
         Type:  Bug Report - Hang/Deadlock  |     Status:  new
     Priority:  minor                       |  Milestone:  unknown
    Component:  MythTV - Scheduling         |    Version:  Master Head
     Severity:  medium                      |   Keywords:
Ticket locked:  0                           |
 While watching live TV, got the popup indicating that the backend wanted
 the tuner for a scheduled recording.  I clicked "OK" to let the scheduled
 program record.  This resulted in an apparent deadlock in the scheduler
 code.  (To be precise, the scheduler wanted a different tuner but in the
 same input group as the Live TV tuner.)  The deadlock manifested itself as
 mythfrontend and mythweb connection attempts hanging.

 I attached gdb to the mythbackend process and got a stack trace.

 Also including some backend logs with "-v most --loglevel debug".  To make
 the size manageable, I filtered out lines containing "TFW" or "JobQueue",
 and I removed lines prior to 1 minute before the recording.  (But I kept
 the first 100 lines to show version and startup information.)

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

More information about the mythtv-commits mailing list