[mythtv-commits] Ticket #10926: Deadlock on mythfrontend

MythTV noreply at mythtv.org
Sat Jul 21 16:03:34 UTC 2012


#10926: Deadlock on mythfrontend
-------------------------------------+-------------------------------------
 Reporter:  jyavenard                |          Owner:  Daniel Kristjansson
     Type:  Bug Report -             |  <danielk@…>
  Hang/Deadlock                      |         Status:  closed
 Priority:  blocker                  |      Milestone:  0.26
Component:  MythTV - General         |        Version:  Unspecified
 Severity:  medium                   |     Resolution:  fixed
 Keywords:                           |  Ticket locked:  0
-------------------------------------+-------------------------------------
Changes (by Daniel Kristjansson <danielk@…>):

 * owner:   => Daniel Kristjansson <danielk@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:e29f47d57c439ccbe6cac2476d8a616323eed44c/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="e29f47d57c439ccbe6cac2476d8a616323eed44c"
 Fixes #10926. Safely teardown MythPainters.

 The deadlock was actually the least of our problems.
 Since MythPainter::DeleteFormatImagePriv() is a pure
 virtual in MythPainter calling ExpireImages() in
 the dtor is unsafe. This puts the teardown code
 into a Teardown() method which is called from all
 the child classes where it is safe to do the teardown.
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10926#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list