[mythtv-commits] Ticket #9993: mythmetadatalookup doesn't terminate causing commflagging to fail

MythTV noreply at mythtv.org
Thu Aug 18 02:13:40 UTC 2011


#9993: mythmetadatalookup doesn't terminate causing commflagging to fail
-----------------------------------------+--------------------------------
 Reporter:  mitch.capper@…               |          Owner:  cpinkham
     Type:  Bug Report - General         |         Status:  infoneeded_new
 Priority:  minor                        |      Milestone:  unknown
Component:  MythTV - Mythmetadatalookup  |        Version:  Trunk Head
 Severity:  medium                       |     Resolution:
 Keywords:                               |  Ticket locked:  0
-----------------------------------------+--------------------------------

Comment (by danielk):

 Robert, it appears that MythContextPrivate::FindDatabase() can start up a
 couple UPnP threads (SSDP and TaskQueue), but we only manage teardown of
 those threads at the application level (i.e. in mythfrontend there is some
 code for this in cleanup().

 As a work-around having a valid mysql.txt or config.xml should avoid the
 problem.

 I'll move the UPnP shutdown code down to the proper level.

 That explains why the MThread code is complaining; I'm not sure why it's
 not exiting at all though. It should only wait a few second for those
 threads to exit and soldier on hoping for the best.

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


More information about the mythtv-commits mailing list