[mythtv-commits] Ticket #5826: Cleanup before exit for time zone mismatch

MythTV mythtv at cvs.mythtv.org
Tue Oct 14 22:43:49 UTC 2008


#5826: Cleanup before exit for time zone mismatch
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |       Owner:  ijr    
     Type:  patch                             |      Status:  new    
 Priority:  minor                             |   Milestone:  unknown
Component:  mythtv                            |     Version:  head   
 Severity:  medium                            |     Mlocked:  0      
----------------------------------------------+-----------------------------
 The attached patch adds a call to cleanup() before returning
 *_EXIT_INVALID_TIMEZONE in mythfrontend and mythbackend.

 Once applied, the shutdown sequence will result in the 2 additional log
 messages:

  QWaitCondition: cv destroy failure:
  QWaitCondition: mutex destroy failure:

 which makes it seem like it's adding a new problem, but those same
 messages appear for other some other return *EXIT* conditions.  For
 example, they appear when cleanup is called before "return
 FRONTEND_EXIT_DB_OUTOFDATE;".

 Note, also, that the "return FRONTEND_EXIT_INVALID_CMDLINE;" when trying
 to run a plugin directly through command-line arguments (in the "if
 (pluginname.size())" block) is not preceded by a call to cleanup().  It is
 late enough in initialization that the call to cleanup() is probably
 necessary.  The attached patch does not add the call to cleanup() for that
 case.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5826>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list