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

MythTV noreply at mythtv.org
Sat Jul 21 12:35:40 UTC 2012


#10926: Deadlock on mythfrontend
----------------------------------------+-----------------------------
 Reporter:  jyavenard                   |          Owner:
     Type:  Bug Report - Hang/Deadlock  |         Status:  new
 Priority:  blocker                     |      Milestone:  0.26
Component:  MythTV - General            |        Version:  Unspecified
 Severity:  medium                      |     Resolution:
 Keywords:                              |  Ticket locked:  0
----------------------------------------+-----------------------------

Comment (by jyavenard):

 Suggested patch:

 {{{
 diff --git a/mythtv/libs/libmythui/mythpainter.cpp
 b/mythtv/libs/libmythui/mythpainter.cpp
 index 4b5017c..f0abd99 100644
 --- a/mythtv/libs/libmythui/mythpainter.cpp
 +++ b/mythtv/libs/libmythui/mythpainter.cpp
 @@ -23,10 +23,10 @@ MythPainter::MythPainter()

  MythPainter::~MythPainter(void)
  {
 -    QMutexLocker locker(&m_allocationLock);
 -
      ExpireImages(0);

 +    QMutexLocker locker(&m_allocationLock);
 +
      if (m_allocatedImages.isEmpty())
          return;

 }}}

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


More information about the mythtv-commits mailing list