[mythtv-users] Myth Front End crashing on exit.

Gavin Hurlbut gjhurlbu at gmail.com
Fri Jan 21 18:42:23 UTC 2011


On Fri, Jan 21, 2011 at 7:55 AM, Bill Meek <keemllib at gmail.com> wrote:

> Program received signal SIGSEGV, Segmentation fault
> ...
> Thread 1 (Thread 0x7ffff7fb37a0 (LWP 3566)):
> #0  0x00007ffff59e5323 in ThreadPool::~ThreadPool (this=0xa61840,
> __in_chrg=<value optimized out>) at threadpool.cpp:331
>        pThread = 0xa61590
>

Oh fun.  I'll have to take a look at how to cleanly shut that down.  I was
hoping that that part of the code didn't need a change, but it seems there
is a race condition on shutdown.  If we get into the loop in ~ThreadPool,
and then threads terminate "normally" while that's running, I could see this
being the possible outcome.

I'll see what I can find to make this work hopefully cleaner yet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110121/eee4af5d/attachment.htm>


More information about the mythtv-users mailing list