[mythtv-commits] Ticket #4116: OSDTypeText segfault

MythTV mythtv at cvs.mythtv.org
Wed Oct 31 20:55:13 UTC 2007


#4116: OSDTypeText segfault
---------------------+------------------------------------------------------
 Reporter:  danielk  |       Owner:  danielk
     Type:  defect   |      Status:  new    
 Priority:  minor    |   Milestone:  0.21   
Component:  mythtv   |     Version:  head   
 Severity:  medium   |     Mlocked:  0      
---------------------+------------------------------------------------------
 I've been trying to reproduce a OSDTypeText::Draw() segfault with
 debugging symbols enabled, but have been unable to. The problem happened
 when the draw routine was working with the m_message string.

 I'm attaching a patch which uses QDeepCopy and a lock to avoid memory
 corruption in OSDTypeText. I can't reproduce the crash so it's hard to say
 if this fixes the problem, but it should.

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


More information about the mythtv-commits mailing list