[mythtv-commits] Ticket #4151: Backend frequently segfaults

MythTV mythtv at cvs.mythtv.org
Wed Feb 6 10:57:12 UTC 2008


#4151: Backend frequently segfaults
-----------------------------------------------------+----------------------
 Reporter:  Mark Buechler <Mark.Buechler at gmail.com>  |        Owner:  ijr 
     Type:  defect                                   |       Status:  new 
 Priority:  major                                    |    Milestone:  0.21
Component:  mythtv                                   |      Version:  head
 Severity:  high                                     |   Resolution:      
  Mlocked:  0                                        |  
-----------------------------------------------------+----------------------

Comment(by nigel):

 1) I agree about the high frequency of !KickDatabase() calls - on one
 machine with a local MySQL I got 59 calls to it before the !UPnP
 !BuildMediaMap was generated. I have applied the patch and am comparing
 behaviour.

  2) Instead of adding 4 strings and an int into !MSqlDatabase, why not add
 a !DatabaseParams? As long as it is a local member or struct (and not an
 object pointer), it should be more efficient?

  3) The extra m_db->hostName().length() calls were added by me for
 bootstrapping. Setting, and checking, a bool might be even more efficient?

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


More information about the mythtv-commits mailing list