[mythtv] Ticket #9745: Mythbackend deadlock with slave backend connected

Tom Lichti redpepperracing at gmail.com
Fri Apr 22 20:22:56 UTC 2011


On Fri, Apr 22, 2011 at 3:38 PM,  <noreply at mythtv.org> wrote:
> #9745: Mythbackend deadlock with slave backend connected
> ---------------------------------------+----------------------------
>  Reporter:  redpepperracing@…          |          Owner:
>     Type:  Bug Report - General       |         Status:  new
>  Priority:  minor                      |      Milestone:  unknown
> Component:  MythTV - General           |        Version:  Trunk Head
>  Severity:  medium                     |     Resolution:
>  Keywords:                             |  Ticket locked:  0
> ---------------------------------------+----------------------------
>
> Comment (by mdean):
>
>  In 3e2375faa:
>
>  Fix a potential deadlock in AutoExpire
>
>  With danielk's changes that I merged in, he has us use Sleep() internally
>  almost exclusively.  However, Sleep() requires the instance_lock to be
>  pre-locked, and in this place, it wasn't.  This can cause problems.

As I mentioned in the ticket, and in the -users thread, I have applied
that change and it still deadlocks consistently. Gavin asked that I
try it, and if it still didn't work, to open a new ticket, which I
did.

Tom


More information about the mythtv-dev mailing list