[mythtv-commits] Ticket #10032: mythwelcome getting unstable

MythTV noreply at mythtv.org
Mon Oct 10 04:05:01 UTC 2011


#10032: mythwelcome getting unstable
-------------------------------------------------+-------------------------
 Reporter:  amlopezalonso@…                      |          Owner:  beirdo
     Type:  Bug Report - Hang/Deadlock           |         Status:
 Priority:  minor                                |  assigned
Component:  MythTV - Mythwelcome & Mythshutdown  |      Milestone:  0.25
 Severity:  medium                               |        Version:  Trunk
 Keywords:  mythwelcome, hang                    |  Head
                                                 |     Resolution:
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by Github):

 Fix dblogging deadlock during shutdown

 Refs #10032.

 If the program starts and exits while we are waiting for 100ms for the db
 to
 be ready, we got into a deadlock due to a logging message being expedited
 while
 the db queue is locked.  Message expediting only happens during shutdown.
 The
 way around this is to briefly unlock the queue while checking the database
 to
 remove the possibility of deadlock.

 An alternative fix would be to fix the delays to no longer use the
 conditional
 waits, but that goes against the redesign goals that Daniel had earlier.
  Branch:    master
  Changeset: aab13b3936b05188bdab02f9b7df029c79c1ff97

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


More information about the mythtv-commits mailing list