[mythtv-commits] Ticket #4234: mythbackend using 1100% of cpu in deadlock

MythTV mythtv at cvs.mythtv.org
Thu Nov 29 00:26:13 UTC 2007


#4234: mythbackend using 1100% of cpu in deadlock
-------------------------------+--------------------------------------------
 Reporter:  johnsonn at matc.edu  |        Owner:  nigel
     Type:  defect             |       Status:  new  
 Priority:  blocker            |    Milestone:  0.21 
Component:  mythtv             |      Version:  head 
 Severity:  high               |   Resolution:       
  Mlocked:  0                  |  
-------------------------------+--------------------------------------------
Changes (by danielk):

  * milestone:  0.22 => 0.21


Comment:

 Nigel, I have spent all of 15 seconds on this, only because I couldn't run
 mythtv-setup. So I have no idea if this patch is correct; I didn't even
 check
 to see if the users of LookupUDN() are checking for null returns. But the
 existing code was getting stuck in an infinite loop after trying to access
 item # -2 in a linked list of size 0. With this patch it just prints this
 instead:
 {{{
 2007-11-28 19:20:01.665 LookupUDN(), Error: Not enough tokens
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4234#comment:15>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list