[mythtv] mythbackend spinning in "Waiting for a thread ..."

Martin Moeller martin at martinm-76.dk
Thu Jun 16 21:15:40 UTC 2005


Torsdag den 16. juni 2005 18:24 skrev Robert Tsai:
> On Thu, Jun 16, 2005 at 11:21:08AM -0400, Isaac Richards wrote:
[64 bit playback issues, etc.. Kyle's 64 bit patch... ]
>
> But I already have Kyle's RingBuffer patch applied, so if it's just
> re-using RingBuffer code, then it shouldn't be this exactly same
> issue, right?
>
> > It shouldn't be terribly hard to get a backtrace of the backend in
> > its stuck state - it'd be interesting to see where the threads are.
>
> Anyway, yeah, I'll debug later. I don't know about getting an "all
> threads" backtrace, though. I tried that, and I had some threads that
> had call stacks of 1000 frames and counting (had to kill gdb).
>
> --Rob

My second backend is running on Ubuntu 64-bit currently (I'm going to install 
32-bit SUSE alongside soon to check a few suspicions I've had about the 
problems I have). With Kyle's patch, I can record shows (although it seem to 
miss the vbi information??) and I can see running previews in the 'Watch 
Recordings' screen, but if I try to play a recording, the best I get is a few 
frames stuttering back and forth and much more likely just a black screen.

stracing the process it seems to run into a FUTEX_WAIT and, well, wait.... 
forever...

I'm a bit curious here then, why is the preview working but not the actual 
playback? Could it be the built-in motherboard soundcard? Is it an Ubuntu 
thing, a 64-bit or something else, like a driver issue?

It seems like it is at least 64-bit related.
More information when I have a 32-bit setup running on that machine, which I 
totally expect to work without issue.

/Martin.


More information about the mythtv-dev mailing list