[mythtv] [patch] epg program record type selection fix#2

avalanche at beyondmonkey.com avalanche at beyondmonkey.com
Fri Oct 31 10:54:03 EST 2003


The first patch didn't completely fix the problem. Different threads 
are causing the epgs data pointers to be updated, so bad things 
could still happen. This patch serializes the epgs event handlers to 
prevent that.

av

> Finally got around to tracking this pesky little one down. If you 
> select/change the recording type for a program from the epg 
> (via infodialog) it would sometimes segfault or if you're really 
> lucky, change programs left or right of the actual selected program.
> 
> Long story short, infodialog was using an unstable pointer passed 
> from the epg.
> 
> av
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: recselectfix#2.diff
Type: application/octet-stream
Size: 2577 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031031/b4a1153f/recselectfix2.obj


More information about the mythtv-dev mailing list