[mythtv] EIT triggered crashes (trunk)

Daniel Kristjansson danielk at cuymedia.net
Wed Feb 20 19:10:06 UTC 2008

On Wed, 2008-02-20 at 18:51 +0000, David wrote:
> Daniel Kristjansson wrote:

> > There should be one EITScanner per DVB device so that no more than
> > one thread uses a particular EITScanner instance at a time. Since
> > there is one EITHelper instance per EITScanner instance those regular
> > expressions should be safe.
> >
> >   
> Indeed, but the problem I see here is within QT itself. There seems to 
> be some sort of caching in use... is this thread safe? .. the code in 
> programinfo.cpp implies that it isn't.
> The issue starts when QT is manipulating this cache..

QRegExp is by no means thread safe, what I was trying to say is that
we make sure that it is only used in one thread.. except maybe, if
we use deleteLater() for any of those objects, do we?

-- Daniel

More information about the mythtv-dev mailing list