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

MythTV mythtv at cvs.mythtv.org
Wed Dec 5 21:07:11 UTC 2007


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

Comment(by anonymous):

 Replying to [comment:26 johnsonn at matc.edu]:
 >I can not tell if UPNP found any of my UPNP compatible devices

 These lines show that:
 {{{
 2007-12-06 07:53:26.453 UPnpNotifyTask::SendNotifyMsg : 239.255.255.250 :
 upnp:rootdevice : uuid:1b8ec80a-2972-48fe-
 ba80-bc060d34925e::upnp:rootdevice
 2007-12-06 07:53:26.453 UPnpNotifyTask::SendNotifyMsg() - address:
 192.168.0.7
 2007-12-06 07:53:26.482 UPnpNotifyTask::SendNotifyMsg() - address:
 192.168.0.6
 .......2007-12-06 07:53:26.720 UPnpNotifyTask::SendNotifyMsg :
 239.255.255.250 : uuid:1b8ec80a-2972-48fe-ba80-bc060d34925e :
 uuid:1b8ec80a-2972-48fe-ba80-bc060d34925e
 2007-12-06 07:53:26.720 UPnpNotifyTask::SendNotifyMsg() - address:
 192.168.0.7
 .........2007-12-06 07:53:26.964 UPnpNotifyTask::SendNotifyMsg() -
 address: 192.168.0.6
 ...2007-12-06 07:53:27.022 UPnpNotifyTask::SendNotifyMsg : 239.255.255.250
 : urn:schemas-upnp-org:device:MediaRenderer:1 : uuid:1b8ec80a-2972-48fe-
 ba80-bc060d34925e::urn:schemas-upnp-org:device:MediaRenderer:1
 2007-12-06 07:53:27.022 UPnpNotifyTask::SendNotifyMsg() - address:
 192.168.0.7
 .2007-12-06 07:53:27.045 UPnpNotifyTask::SendNotifyMsg() - address:
 192.168.0.6
 .2007-12-06 07:53:27.078 UPnpNotifyTask::SendNotifyMsg : 239.255.255.250 :
 urn:schemas-upnp-org:service:ConnectionManager:1 : uuid:1b8ec80a-2972
 -48fe-ba80-bc060d34925e::urn:schemas-upnp-org:service:ConnectionManager:1
 2007-12-06 07:53:27.078 UPnpNotifyTask::SendNotifyMsg() - address:
 192.168.0.7
 .2007-12-06 07:53:27.111 UPnpNotifyTask::SendNotifyMsg() - address:
 192.168.0.6
 ..........................................................
 2007-12-06 07:53:28.576 UPnPautoconf() - No UPnP backends found
 2007-12-06 07:53:28.576 No UPnP backends found
 }}}

 The "........" are when its waiting for a response, and the last few lines
 should be fairly self explanatory?

 [[BR]]
 > In my humble opinion "-v upnp" should report on every send and receive
 command sent over the network.

 That is possible. I will try to add some -v network UPnP stuff for you.

 [[BR]]
 > Also I believe there should be a GUI entry for UPNP under settings or
 something that lists all detected devices and there status.

 Having a GUI setting is difficult, because most of the UPnP happens before
 there is a database to check settings in, but uncommenting line 1308 of
 mythcontext.cpp will do a dump of the post-autodiscovery device cache.

 Just remember that autodiscovery will not be called if there is a
 ~/.mythtv/config.xml

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


More information about the mythtv-commits mailing list