[mythtv-commits] Ticket #1887: invalid PAT in recordings causes Frontend Crash, Backtrace Attached...

MythTV mythtv at cvs.mythtv.org
Thu Jun 1 11:03:06 UTC 2006


#1887: invalid PAT in recordings causes Frontend Crash, Backtrace Attached...
--------------------+-------------------------------------------------------
 Reporter:  jochen  |        Owner:  danielk
     Type:  defect  |       Status:  new    
 Priority:  minor   |    Milestone:  0.20   
Component:  mythtv  |      Version:  head   
 Severity:  medium  |   Resolution:         
--------------------+-------------------------------------------------------
Comment (by Aidan Thornton <makomk at lycos.co.uk>):

 This isn't actually a race condition, which is why it happens so reliably.
 Basically, write_section_data calls tss->section_cb - which is pat_cb -
 and this (incorrectly?) deletes and recreates the PAT filter, as Janne
 said. However, the variable tss in write_section_data still points to the
 now-freed filter, and when it tries to do some more stuff with it,
 mythfrontend segfaults. (All this happens within mpegts.c)

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1887>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list