[mythtv] [mythtv-commits] Ticket #4816: SIGSEGV inSSDPCache(Autodiscovery) affecting all new installs
Anduin Withers
awithers at anduin.com
Sun Mar 9 02:50:52 UTC 2008
> > There are also some places where map keys are deleted without a lock
>
> Hmmm. I haven't found those yet.
It is in SSDPCache::RemoveStale() the keys are added in the first pass to
lstKeys, an Unlock() is done, then the keys in lstKeys are Release()d and
m_cache.remove()d. Most of the Lock()/Release() calls there could also
benefit from a simple QMutexLocker.
I've yet to see a crash after the fix (that wasn't related to me trying to
output too late).
--
Anduin Withers
More information about the mythtv-dev
mailing list