[mythtv] Slave backend hang after ANN command

Isaac Richards ijr at case.edu
Wed Apr 6 18:50:10 UTC 2005


On Wednesday 06 April 2005 02:33 pm, Jason Gillis wrote:
> I've done a bit more digging into this issue this morning.
>
> I fired up ethereal on both sides and noted that the master backend is
> sending an OK message followed by a QUERY_FREESPACE.  These packets are
> arriving at the slave backend.
>
> As far as I can tell, the slave is properly creating it's PlaybackSock
> object, and pushing that back into the it's list of PlaybackSocks
> (reconnectTimeout() completes).  From there, it doesn't seem to notice that
> anything has arrived on the socket.
>
> I'm kinda stuck there.  I'm not sure what part of the code is supposed to
> detect that there's info available on the socket connection with the master
> backend.  Tracing through things hasn't been helping me much.
>
> Can someone provide a high level description of what's supposed to be
> happening in the code after a slave backend announces itself?  I'm just not
> sure what functions should be getting called next, or what's supposed to go
> down.
>
> I haven't been able to get a successful connection today so I haven't been
> able to see what is normally supposed to happen.

Try upgrading to current CVS and add a call to 
ProcessRequest(masterServerSock) at the end of the reconnectTimeout() 
function.

Isaac


More information about the mythtv-dev mailing list