[mythtv-commits] mythtv/master commit: d54110f57 by Gavin Hurlbut (Beirdo)
noreply at mythtv.org
Thu Apr 14 19:01:46 UTC 2011
Author: Gavin Hurlbut <ghurlbut at mythtv.org>
Change Date: 2011-04-14T11:58:06-07:00
Push Date: 2011/04/14 12:01:43 -0700
New Revision: d54110f57750b860ccd4e5169033835b0398457d
Change the AutoExpire UpdateThread to not self-delete
It seems that using this->deleteLater() as the last line in the thread's
execution can still cause an immediate deletion by the event thread, even before
the victim thread has finished executing. This causes a segfault. So, instead,
for detached threads whose pointers we keep, we can check that they are running
before starting a new one.
This has fixed a repeatable crashing with GreyFoxx's setup, and hopefully will
stabilize for others as well.
More information about the mythtv-commits