[mythtv-commits] Ticket #6223: mythtv-setup crashes randomly while doing a channel scan

MythTV mythtv at cvs.mythtv.org
Tue Feb 3 21:03:02 UTC 2009


#6223: mythtv-setup crashes randomly while doing a channel scan
------------------------------+---------------------------------------------
 Reporter:  mortalmatt        |       Owner:  ijr    
     Type:  defect            |      Status:  new    
 Priority:  major             |   Milestone:  unknown
Component:  MythTV - General  |     Version:  head   
 Severity:  medium            |     Mlocked:  0      
------------------------------+---------------------------------------------
 The following patch fixes a crash in ScanStreamData::DeleteCachedTable().

 The first call to ATSCStreamData::DeleteCachedTable() can delete the
 PSIPTable object. The remaining code will then operate on an invalid
 object resulting in undefined behaviour and segmentation faults.

 The fix introduces a boolean return value for all DeleteCacheTable()
 methods which indicates where an object got deleted (true) or not (false).
 This way the caller at least knows what happened and can react properly.

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


More information about the mythtv-commits mailing list