[mythtv] [mythtv-commits] Ticket #2557: SIGSEGV in Mythmusic

Stuart Morgan stuart at tase.co.uk
Sat Jan 20 11:55:08 UTC 2007


On Saturday 20 January 2007 11:39, Paul Harrison wrote:
> >  (In [12578]) Fixes #2557 (mythmusic segfault) by applying patch to make
> >  mythobservable thread safe. Adds locks and removes thread unsafe
> >  functions.
>
> Stuart, did you see my message on the Mythtv-developers mailing list
> regarding this ticket? I'm not convinced this fixes the issue just make
> it less likely to happen in my opinion.

No sorry, I missed (or forgot) about it.

> The bt's on this ticket and on 
> the duplicate #2485 both seem to show a problem with threads not exiting
> properly. I was looking for an explanation for why many of the threads
> appear to have exited but there is still a stack trace showing for
> them?.

We discussed this in IRC and decided it was a GDB problem. Others have seen 
the same thing happen in other backtraces from different areas of myth. The 
actual thread count doesn't seem to rise at all.

> One thing I did notice was the AudioOutput  was deleted and 
> recreated on each track change which could be one source of the problem.
> Why isn't the AudioOutput created once and re-used on each track change?

That's a good question, I don't know the answer.
-- 
Stuart Morgan


More information about the mythtv-dev mailing list