[mythtv] Ticket #6853: Apparent deadlock on playback exit

Tom Lichti redpepperracing at gmail.com
Thu Oct 15 18:33:53 UTC 2009

On Thu, Oct 15, 2009 at 2:22 PM, Shane <gnome42 at gmail.com> wrote:
> On Tue, Oct 13, 2009 at 7:42 PM, Shane <gnome42 at gmail.com> wrote:
>> On Tue, Oct 13, 2009 at 6:11 PM, Pasha Golovko <pasha at golovko.org> wrote:
>>> I am still getting these lock-ups.
>>> Recently it also started happening on DVD-rips that I have in MythVideo
>>> (HD/SD and avi/mp4).
>>> For now to mitigate it, I've set up a script that attaches gdb to
>>> mythfrontend and then detaches right away. That seems to resume normal
>>> operation.
>>> Initially I thought to blame this on sound-card driver issues, however this
>>> seems to happen on built-in Realtek ALC662 and external USB SoundBlaster MP3
>>> regardless whether i'm doing AC3 passthrough or not.
>>> I'd really like this addressed somehow since it really decreases WAF at
>>> times when I'm not at home to press 'reset' button on time.
>>> I'm currently running trunk r22076. I can update to latest-n-greatest if
>>> needed without much hustle.
>> Yeah, might as well try a fresh checkout. There has been several
>> updates since that version.
>> Shane
> Hmm, I'm not an audio expert by any means but I am unaware any current
> widespread audio issues.
> So, it maybe a config issue or something peculiar to your setup.
> Have you tried the usual support options? mythtv-user mailing list, wiki etc.?
> A couple suggestions:
> o MythTV does not play well with Pulse Audio. (and it can re-enable itself!?)
> o MythTV sound settings to experiment with:  "aggressive sound card
> buffering", "Extra audio buffering", "Use video as timebase" (usually
> best unchecked)
> http://www.gossamer-threads.com/lists/mythtv/users/397932#397932
> http://www.gossamer-threads.com/lists/mythtv/commits/400994#400994
> I would still suggest trying latest 0.22-fixes branch and also trunk
> has recently (after the fixes branch off) received some audio related
> patches.
> I will re-open the ticket in case someone else has some insight.

I don't know if my issue is audio related, I don't think it is, but
when I exit playback, my frontend 'hangs' for about 20-30 seconds, and
then eventually gets to the recording list if you wait long enough.
CPU is at 100%+ during this period.


More information about the mythtv-dev mailing list