[mythtv-commits] Ticket #9016: use of VERBOSE in myth_system child code can wedge the child

MythTV mythtv at cvs.mythtv.org
Fri Oct 8 02:56:20 UTC 2010


#9016: use of VERBOSE in myth_system child code can wedge the child
--------------------------------------------------------+-------------------
 Reporter:  Tomi Orava <tomi.orava@…>                   |           Owner:  beirdo    
     Type:  defect                                      |          Status:  closed    
 Priority:  critical                                    |       Milestone:  0.24      
Component:  MythTV - General                            |         Version:  Trunk Head
 Severity:  medium                                      |      Resolution:  Fixed     
 Keywords:                                              |   Ticket locked:  0         
--------------------------------------------------------+-------------------
Changes (by beirdo):

  * status:  accepted => closed
  * resolution:  => Fixed


Comment:

 (In [26701]) Remove all use of VERBOSE in the myth_system child process
 between fork() and execl().
 At times, when we fork, the verbose_mutex is locked, or the tzset_lock in
 the glibc
 tzset() is locked.  This causes the child to deadlock if VERBOSE is used.
 Instead, for
 the remaining 3 error prints, I have put in just cerr << message
 constructs so at least
 something is shown as the child breaks.

 Fixes #9016

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/9016#comment:11>
MythTV <http://www.mythtv.org/>
MythTV Media Center


More information about the mythtv-commits mailing list